typedef struct _XfcePanelIndicatorPrivate XfcePanelIndicatorPrivate; typedef struct _XfcePanelIndicatorClass XfcePanelIndicatorClass; typedef struct _XfcePanelIndicator XfcePanelIndicator; struct _XfcePanelIndicatorClass { /*< private >*/ XfcePanelPluginClass __parent__; /* signals */ GtkWidget *(*get_properties) (XfcePanelIndicator *indicator); /*< private >*/ void (*reserved1) (void); void (*reserved2) (void); void (*reserved3) (void); void (*reserved4) (void); }; struct _XfcePanelIndicator { /*< private >*/ XfcePanelPlugin __parent__; /*< private >*/ XfcePanelIndicatorPrivate *priv; }; typedef enum { XFCE_PANEL_INDICATOR_LABEL = 1 << 0, XFCE_PANEL_INDICATOR_IMAGE = 1 << 1, XFCE_PANEL_INDICATOR_PROGRESSBAR = 1 << 2, XFCE_PANEL_INDICATOR_GRAPH = 1 << 3, XFCE_PANEL_INDICATOR_MASK = 0x0f /* all flags above */ } XfcePanelIndicatorFlags; /** * xfce_panel_indicator_get_items: * @indicator : Indicator panel plugin * * List of #XfcePanelIndicatorItem's in the #XfcePanelIndicator plugin * * Returns: list of #XfcePanelIndicatorItem widgets **/ GList *xfce_panel_indicator_get_items (XfcePanelIndicator *indicator); /** * xfce_panel_indicator_item_new: * @indicator : Indicator panel plugin * @name : Identifier name for @indicator (used for positioning etc) * @display_name : Translated name for display to the user in the preferences * @flags_default : Widgets shown by default * @flags_supported : Supported flags for the item * * Create a new #XfcePanelIndicatorItem in the @indicator. * * Returns: a new #XfcePanelIndicatorItem **/ XfcePanelIndicatorItem *xfce_panel_indicator_item_new (XfcePanelIndicator *indicator, const gchar *name, const gchar *display_name, XfcePanelIndicatorFlags flags_default, XfcePanelIndicatorFlags flags_supported);