AwnThemedIcon

AwnThemedIcon

Functions

Properties

gchar * applet-name Read / Write / Construct
gboolean drag-and-drop Read / Write / Construct
GdkPixbufRotation rotate Read / Write / Construct

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkDrawingArea
                    ╰── AwnIcon
                        ╰── AwnThemedIcon

Description

Functions

awn_themed_icon_new ()

GtkWidget *
awn_themed_icon_new (void);


awn_themed_icon_set_state ()

void
awn_themed_icon_set_state (AwnThemedIcon *icon,
                           const gchar *state);


awn_themed_icon_get_state ()

const gchar *
awn_themed_icon_get_state (AwnThemedIcon *icon);


awn_themed_icon_set_size ()

void
awn_themed_icon_set_size (AwnThemedIcon *icon,
                          gint size);


awn_themed_icon_get_size ()

gint
awn_themed_icon_get_size (AwnThemedIcon *icon);


awn_themed_icon_get_default_theme_name ()

const gchar *
awn_themed_icon_get_default_theme_name
                               (AwnThemedIcon *icon);


awn_themed_icon_set_info ()

void
awn_themed_icon_set_info (AwnThemedIcon *icon,
                          const gchar *applet_name,
                          const gchar *uid,
                          GStrv states,
                          GStrv icon_names);


awn_themed_icon_set_info_simple ()

void
awn_themed_icon_set_info_simple (AwnThemedIcon *icon,
                                 const gchar *applet_name,
                                 const gchar *uid,
                                 const gchar *icon_name);


awn_themed_icon_set_info_append ()

void
awn_themed_icon_set_info_append (AwnThemedIcon *icon,
                                 const gchar *state,
                                 const gchar *icon_name);


awn_themed_icon_set_applet_info ()

void
awn_themed_icon_set_applet_info (AwnThemedIcon *icon,
                                 const gchar *applet_name,
                                 const gchar *uid);


awn_themed_icon_override_gtk_theme ()

void
awn_themed_icon_override_gtk_theme (AwnThemedIcon *icon,
                                    const gchar *theme_name);


awn_themed_icon_get_icon_at_size ()

GdkPixbuf *
awn_themed_icon_get_icon_at_size (AwnThemedIcon *icon,
                                  gint size,
                                  const gchar *state);


awn_themed_icon_clear_icons ()

void
awn_themed_icon_clear_icons (AwnThemedIcon *icon,
                             gint scope);


awn_themed_icon_clear_info ()

void
awn_themed_icon_clear_info (AwnThemedIcon *icon);


awn_themed_icon_preload_icon ()

void
awn_themed_icon_preload_icon (AwnThemedIcon *icon,
                              gchar *state,
                              gint size);


awn_themed_icon_get_awn_theme ()

GtkIconTheme *
awn_themed_icon_get_awn_theme (AwnThemedIcon *icon);


awn_themed_icon_create_custom_icon_item ()

GtkWidget *
awn_themed_icon_create_custom_icon_item
                               (AwnThemedIcon *icon,
                                const gchar *icon_name);


awn_themed_icon_create_remove_custom_icon_item ()

GtkWidget *
awn_themed_icon_create_remove_custom_icon_item
                               (AwnThemedIcon *icon,
                                const gchar *icon_name);


awn_themed_icon_drag_data_received ()

void
awn_themed_icon_drag_data_received (GtkWidget *widget,
                                    GdkDragContext *context,
                                    gint x,
                                    gint y,
                                    GtkSelectionData *selection_data,
                                    guint info,
                                    guint evt_time);

Types and Values

Property Details

The “applet-name” property

  “applet-name”              gchar *

Applet Name.

Flags: Read / Write / Construct

Default value: NULL


The “drag-and-drop” property

  “drag-and-drop”            gboolean

Enable drag and drop.

Flags: Read / Write / Construct

Default value: TRUE


The “rotate” property

  “rotate”                   GdkPixbufRotation

Rotation of the icon.

Flags: Read / Write / Construct

Default value: GDK_PIXBUF_ROTATE_NONE