mime

mime

Functions

void (*MimeForeachCallback) ()
Mime * mime_new ()
void mime_delete ()
MimeHandler * mime_get_handler ()
int mime_set_handler ()
void mime_set_theme ()
char const * mime_type ()
int mime_action ()
int mime_action_type ()
void mime_foreach ()
void mime_icons ()
int mime_save ()

Types and Values

  Mime

Description

Functions

MimeForeachCallback ()

void
(*MimeForeachCallback) (void *data,
                        char const *name,
                        GdkPixbuf *icon_24,
                        GdkPixbuf *icon_48,
                        GdkPixbuf *icon_96);

mime_new ()

Mime *
mime_new (GtkIconTheme *theme);

mime_delete ()

void
mime_delete (Mime *mime);

mime_get_handler ()

MimeHandler *
mime_get_handler (Mime *mime,
                  char const *type,
                  char const *action);

mime_set_handler ()

int
mime_set_handler (Mime *mime,
                  char const *type,
                  char const *action,
                  char const *handler);

mime_set_theme ()

void
mime_set_theme (Mime *mime,
                GtkIconTheme *theme);

mime_type ()

char const *
mime_type (Mime *mime,
           char const *path);

mime_action ()

int
mime_action (Mime *mime,
             char const *action,
             char const *path);

mime_action_type ()

int
mime_action_type (Mime *mime,
                  char const *action,
                  char const *path,
                  char const *type);

mime_foreach ()

void
mime_foreach (Mime *mime,
              MimeForeachCallback callback,
              void *data);

mime_icons ()

void
mime_icons (Mime *mime,
            char const *type,
            ...);

mime_save ()

int
mime_save (Mime *mime);

Types and Values

Mime

typedef struct _Mime Mime;