st-icon
st-icon
— a simple styled icon actor
Description
StIcon is a simple styled texture actor that displays an image from
a stylesheet.
Functions
st_icon_get_icon_name ()
const gchar *
st_icon_get_icon_name (StIcon *icon
);
st_icon_set_icon_name ()
void
st_icon_set_icon_name (StIcon *icon
,
const gchar *icon_name
);
st_icon_get_icon_size ()
gint
st_icon_get_icon_size (StIcon *icon
);
Gets the size explicit size on the icon. This is not necesariily
the size that the icon will actually be displayed at.
Returns
the size explicitly set, or -1 if no size has been set
st_icon_set_icon_size ()
void
st_icon_set_icon_size (StIcon *icon
,
gint size
);
Sets an explicit size for the icon.
st_icon_get_gicon ()
GIcon *
st_icon_get_gicon (StIcon *icon
);
Returns
the override GIcon, if set, or NULL.
[transfer none]
st_icon_set_fallback_icon_name ()
void
st_icon_set_fallback_icon_name (StIcon *icon
,
const gchar *icon_name
);
st_icon_get_fallback_icon_name ()
const gchar *
st_icon_get_fallback_icon_name (StIcon *icon
);
Types and Values
ST_TYPE_ICON
#define ST_TYPE_ICON st_icon_get_type()
struct StIcon
struct StIcon {
};
The contents of this structure are private and should only be accessed
through the public API.
StIconPrivate
typedef struct _StIconPrivate StIconPrivate;