MxIcon
MxIcon — a simple styled icon actor
|
|
Description
MxIcon is a simple styled texture actor that displays an image from
a stylesheet.
Functions
mx_icon_get_icon_name ()
const gchar *
mx_icon_get_icon_name (MxIcon *icon
);
mx_icon_set_icon_name ()
void
mx_icon_set_icon_name (MxIcon *icon
,
const gchar *icon_name
);
mx_icon_get_icon_size ()
gint
mx_icon_get_icon_size (MxIcon *icon
);
mx_icon_set_icon_size ()
void
mx_icon_set_icon_size (MxIcon *icon
,
gint size
);
Types and Values
MxIcon
typedef struct _MxIcon MxIcon;
The contents of this structure are private and should only be accessed
through the public API.
MxIconClass
typedef struct {
MxWidgetClass parent_class;
/* padding for future expansion */
void (*_padding_0) (void);
void (*_padding_1) (void);
void (*_padding_2) (void);
void (*_padding_3) (void);
void (*_padding_4) (void);
} MxIconClass;
Property Details
The “icon-name”
property
“icon-name” gchar *
An icon name.
Flags: Read / Write
Default value: NULL
The “icon-size”
property
“icon-size” gint
Size of the icon.
Flags: Read / Write
Allowed values: >= 1
Default value: 48