libhildondesktop Reference Manual | ||||
---|---|---|---|---|
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----HDStatusPluginItem +----HDStatusMenuItem
HDStatusMenuItem implements AtkImplementorIface, GtkBuildable and HDPluginItem.
A base class for plugable Status Menu items.
To create a Status Menu plugin derive a class from HDStatusMenuItem and
register it with HD_DEFINE_PLUGIN_MODULE()
.
To show a Status Menu plugin permanently use gtk_widget_show()
in the instance
init function. To show (and hide) a plugin temporary or conditional use gtk_widget_show()
and gtk_widget_hide()
or "visible".
If a button is added as a direct child of the HDStatusMenuItem the Status Menu will automatically closed on click.