Top |
#define | OSINFO_AVATAR_FORMAT_PROP_MIME_TYPE |
#define | OSINFO_AVATAR_FORMAT_PROP_WIDTH |
#define | OSINFO_AVATAR_FORMAT_PROP_HEIGHT |
#define | OSINFO_AVATAR_FORMAT_PROP_ALPHA |
OsinfoAvatarFormat *
osinfo_avatar_format_new (void
);
Construct a new user avatar file for an OsinfoInstallScript.
GList *
osinfo_avatar_format_get_mime_types (OsinfoAvatarFormat *avatar
);
gint
osinfo_avatar_format_get_height (OsinfoAvatarFormat *avatar
);
gboolean
osinfo_avatar_format_get_alpha (OsinfoAvatarFormat *avatar
);
“alpha”
property“alpha” gboolean
Whether alpha channel is supported in the avatar.
Flags: Read
Default value: TRUE
“height”
property“height” gint
The required height (in pixels) of the avatar.
Flags: Read
Allowed values: >= -1
Default value: -1
“mime-types”
property“mime-types” gpointer
The allowed mime-types for the avatar.
Type: GLib.List(utf8) Transfer: container
Flags: Read
“width”
property“width” gint
The required width (in pixels) of the avatar.
Flags: Read
Allowed values: >= -1
Default value: -1