HDStatusMenuItem

HDStatusMenuItem — Base class for plugable Status Menu items.

Synopsis


#include <libhildondesktop/libhildondesktop.h>

                    HDStatusMenuItem;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----HDStatusPluginItem
                                       +----HDStatusMenuItem

Implemented Interfaces

HDStatusMenuItem implements AtkImplementorIface, GtkBuildable and HDPluginItem.

Description

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.

Details

HDStatusMenuItem

typedef struct _HDStatusMenuItem HDStatusMenuItem;