| Awn Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
AwnAppletSimplePrivate; struct AwnAppletSimple; GtkWidget * awn_applet_simple_new (const gchar *canonical_name,const gchar *uid,gint panel_id); void awn_applet_simple_set_icon_pixbuf (AwnAppletSimple *applet,GdkPixbuf *pixbuf); void awn_applet_simple_set_icon_context (AwnAppletSimple *applet,cairo_t *cr); void awn_applet_simple_set_icon_surface (AwnAppletSimple *applet,cairo_surface_t *surface); void awn_applet_simple_set_icon_name (AwnAppletSimple *applet,const gchar *icon_name); void awn_applet_simple_set_icon_info (AwnAppletSimple *applet,GStrv states,GStrv icon_names); void awn_applet_simple_set_icon_state (AwnAppletSimple *applet,const gchar *state); void awn_applet_simple_set_tooltip_text (AwnAppletSimple *applet,const gchar *text); gchar * awn_applet_simple_get_tooltip_text (AwnAppletSimple *applet); void awn_applet_simple_set_message (AwnAppletSimple *applet,const gchar *message); gchar * awn_applet_simple_get_message (AwnAppletSimple *applet); void awn_applet_simple_set_progress (AwnAppletSimple *applet,gfloat progress); gfloat awn_applet_simple_get_progress (AwnAppletSimple *applet); AwnIcon * awn_applet_simple_get_icon (AwnAppletSimple *applet); void awn_applet_simple_set_effect (AwnAppletSimple *applet,AwnEffect effect);
GtkWidget * awn_applet_simple_new (const gchar *canonical_name,const gchar *uid,gint panel_id);
Creates a new AwnAppletSimple object. This applet will have awn-effects
effects applied to its icon automatically if awn_applet_simple_set_icon() or
awn_applet_simple_set_temp_icon() are used to specify the applet icon.
|
The canonical name of the applet (see "canonical-name"). |
|
The unique identifier of the instance of the applet on the dock. |
|
The ID of the panel to connect to. |
Returns : |
a new instance of an applet. |
void awn_applet_simple_set_icon_pixbuf (AwnAppletSimple *applet,GdkPixbuf *pixbuf);
void awn_applet_simple_set_icon_context (AwnAppletSimple *applet,cairo_t *cr);
void awn_applet_simple_set_icon_surface (AwnAppletSimple *applet,cairo_surface_t *surface);
void awn_applet_simple_set_icon_name (AwnAppletSimple *applet,const gchar *icon_name);
void awn_applet_simple_set_icon_info (AwnAppletSimple *applet,GStrv states,GStrv icon_names);
void awn_applet_simple_set_icon_state (AwnAppletSimple *applet,const gchar *state);
void awn_applet_simple_set_tooltip_text (AwnAppletSimple *applet,const gchar *text);
gchar * awn_applet_simple_get_tooltip_text (AwnAppletSimple *applet);
void awn_applet_simple_set_message (AwnAppletSimple *applet,const gchar *message);
void awn_applet_simple_set_progress (AwnAppletSimple *applet,gfloat progress);
void awn_applet_simple_set_effect (AwnAppletSimple *applet,AwnEffect effect);