| SnapdIconSnapdIcon — Snap icon data |  | 
Object Hierarchy
    GObject
    ╰── SnapdIcon
 
Includes
#include <snapd-glib/snapd-glib.h>
 
Functions
snapd_icon_get_mime_type ()
const gchar *
snapd_icon_get_mime_type (SnapdIcon *icon);
Get the mime-type for this icon, e.g. "image/png".
Since: 1.0
 
snapd_icon_get_data ()
GBytes *
snapd_icon_get_data (SnapdIcon *icon);
Get the binary data for this icon.
Returns
the binary data. 
[transfer none]
 
Since: 1.0
 
 
Types and Values
SnapdIcon
typedef struct _SnapdIcon SnapdIcon;
SnapdIcon contains icon data.
Since: 1.0
 
 
Property Details
The “data” property
  “data”                     GBytes *
Icon data.
Flags: Read / Write / Construct Only
 
The “mime-type” property
  “mime-type”                gchar *
Icon mime type.
Flags: Read / Write / Construct Only
Default value: NULL