Top |
ClutterActor * | st_icon_new () |
const gchar * | st_icon_get_icon_name () |
void | st_icon_set_icon_name () |
void | st_icon_set_icon_type () |
StIconType | st_icon_get_icon_type () |
gint | st_icon_get_icon_size () |
void | st_icon_set_icon_size () |
void | st_icon_set_gicon () |
GIcon * | st_icon_get_gicon () |
StIcon implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
void st_icon_set_icon_type (StIcon *icon
,StIconType icon_type
);
Sets the type of icon we'll look up to display in the actor. The icon type determines whether we use a symbolic icon or a full color icon and also is used for specific handling for application and document icons.
StIconType
st_icon_get_icon_type (StIcon *icon
);
Gets the type of icon we'll look up to display in the actor.
See st_icon_set_icon_type()
.
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.
void st_icon_set_icon_size (StIcon *icon
,gint size
);
Sets an explicit size for the icon.
“gicon”
property “gicon” GIcon *
A GIcon to override :icon-name.
Owner: StIcon
Flags: Read / Write
“icon-name”
property “icon-name” char *
An icon name.
Owner: StIcon
Flags: Read / Write
Default value: NULL
“icon-size”
property “icon-size” int
The size if the icon, if positive. Otherwise the size will be derived from the current style.
Owner: StIcon
Flags: Read / Write
Allowed values: >= -1
Default value: -1