![]() |
![]() |
![]() |
libawn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct AwnThemedIcon; struct AwnThemedIconClass; GtkWidget * awn_themed_icon_new (void
); void awn_themed_icon_set_state (AwnThemedIcon *icon
,const gchar *state
); const gchar * awn_themed_icon_get_state (AwnThemedIcon *icon
); void awn_themed_icon_set_size (AwnThemedIcon *icon
,gint size
); gint awn_themed_icon_get_size (AwnThemedIcon *icon
); const gchar * awn_themed_icon_get_default_theme_name (AwnThemedIcon *icon
); void awn_themed_icon_set_info (AwnThemedIcon *icon
,const gchar *applet_name
,const gchar *uid
,GStrv states
,GStrv icon_names
); void awn_themed_icon_set_info_simple (AwnThemedIcon *icon
,const gchar *applet_name
,const gchar *uid
,const gchar *icon_name
); void awn_themed_icon_set_info_append (AwnThemedIcon *icon
,const gchar *state
,const gchar *icon_name
); void awn_themed_icon_set_applet_info (AwnThemedIcon *icon
,const gchar *applet_name
,const gchar *uid
); void awn_themed_icon_override_gtk_theme (AwnThemedIcon *icon
,const gchar *theme_name
); GdkPixbuf * awn_themed_icon_get_icon_at_size (AwnThemedIcon *icon
,gint size
,const gchar *state
); void awn_themed_icon_clear_icons (AwnThemedIcon *icon
,gint scope
); void awn_themed_icon_clear_info (AwnThemedIcon *icon
); void awn_themed_icon_preload_icon (AwnThemedIcon *icon
,gchar *state
,gint size
); GtkIconTheme * awn_themed_icon_get_awn_theme (AwnThemedIcon *icon
); GtkWidget * awn_themed_icon_create_custom_icon_item (AwnThemedIcon *icon
,const gchar *icon_name
); GtkWidget * awn_themed_icon_create_remove_custom_icon_item (AwnThemedIcon *icon
,const gchar *icon_name
); void awn_themed_icon_drag_data_received (GtkWidget *widget
,GdkDragContext *context
,gint x
,gint y
,GtkSelectionData *selection_data
,guint info
,guint evt_time
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkDrawingArea +----AwnIcon +----AwnThemedIcon
AwnThemedIcon implements AtkImplementorIface, GtkBuildable and AwnOverlayable.
"applet-name" gchar* : Read / Write / Construct "drag-and-drop" gboolean : Read / Write / Construct "rotate" GdkPixbufRotation : Read / Write / Construct
struct AwnThemedIconClass { AwnIconClass parent_class; /*< padding >*/ void (*_themed_icon_padding0)(AwnThemedIcon* icon); void (*_themed_icon_padding1)(AwnThemedIcon* icon); void (*_themed_icon_padding2)(AwnThemedIcon* icon); void (*_themed_icon_padding3)(AwnThemedIcon* icon); };
void awn_themed_icon_set_state (AwnThemedIcon *icon
,const gchar *state
);
const gchar * awn_themed_icon_get_default_theme_name
(AwnThemedIcon *icon
);
void awn_themed_icon_set_info (AwnThemedIcon *icon
,const gchar *applet_name
,const gchar *uid
,GStrv states
,GStrv icon_names
);
void awn_themed_icon_set_info_simple (AwnThemedIcon *icon
,const gchar *applet_name
,const gchar *uid
,const gchar *icon_name
);
void awn_themed_icon_set_info_append (AwnThemedIcon *icon
,const gchar *state
,const gchar *icon_name
);
void awn_themed_icon_set_applet_info (AwnThemedIcon *icon
,const gchar *applet_name
,const gchar *uid
);
void awn_themed_icon_override_gtk_theme (AwnThemedIcon *icon
,const gchar *theme_name
);
GdkPixbuf * awn_themed_icon_get_icon_at_size (AwnThemedIcon *icon
,gint size
,const gchar *state
);
void awn_themed_icon_preload_icon (AwnThemedIcon *icon
,gchar *state
,gint size
);
GtkIconTheme * awn_themed_icon_get_awn_theme (AwnThemedIcon *icon
);
GtkWidget * awn_themed_icon_create_custom_icon_item (AwnThemedIcon *icon
,const gchar *icon_name
);
GtkWidget * awn_themed_icon_create_remove_custom_icon_item (AwnThemedIcon *icon
,const gchar *icon_name
);
void awn_themed_icon_drag_data_received (GtkWidget *widget
,GdkDragContext *context
,gint x
,gint y
,GtkSelectionData *selection_data
,guint info
,guint evt_time
);
"applet-name"
property"applet-name" gchar* : Read / Write / Construct
Applet Name.
Default value: NULL
"drag-and-drop"
property"drag-and-drop" gboolean : Read / Write / Construct
Enable drag and drop.
Default value: TRUE
"rotate"
property"rotate" GdkPixbufRotation : Read / Write / Construct
Rotation of the icon.
Default value: GDK_PIXBUF_ROTATE_NONE