## GarconMenuItem

GarconMenuItem

## Synopsis

    struct              GarconMenuItemClass;
    void                garcon_menu_item_decrement_allocated
                                                            (GarconMenuItem *item);
    gint                garcon_menu_item_get_allocated      (GarconMenuItem *item);
    GList *             garcon_menu_item_get_categories     (GarconMenuItem *item);
    const gchar *       garcon_menu_item_get_command        (GarconMenuItem *item);
    const gchar *       garcon_menu_item_get_comment        (GarconMenuItem *item);
    const gchar *       garcon_menu_item_get_desktop_id     (GarconMenuItem *item);
    GFile *             garcon_menu_item_get_file           (GarconMenuItem *item);
    const gchar *       garcon_menu_item_get_generic_name   (GarconMenuItem *item);
    gboolean            garcon_menu_item_get_hidden         (GarconMenuItem *item);
    const gchar *       garcon_menu_item_get_icon_name      (GarconMenuItem *item);
    const gchar *       garcon_menu_item_get_name           (GarconMenuItem *item);
    gboolean            garcon_menu_item_get_no_display     (GarconMenuItem *item);
    const gchar *       garcon_menu_item_get_path           (GarconMenuItem *item);
    gboolean            garcon_menu_item_get_show_in_environment
                                                            (GarconMenuItem *item);
    const gchar *       garcon_menu_item_get_try_exec       (GarconMenuItem *item);
    gchar *             garcon_menu_item_get_uri            (GarconMenuItem *item);
    gboolean            garcon_menu_item_has_category       (GarconMenuItem *item,
                                                             const gchar *category);
    void                garcon_menu_item_increment_allocated
                                                            (GarconMenuItem *item);
    GarconMenuItem *    garcon_menu_item_new                (GFile *file);
    GarconMenuItem *    garcon_menu_item_new_for_path       (const gchar *filename);
    GarconMenuItem *    garcon_menu_item_new_for_uri        (const gchar *uri);
    gboolean            garcon_menu_item_only_show_in_environment
                                                            (GarconMenuItem *item);
    void                garcon_menu_item_ref                (GarconMenuItem *item);
    gboolean            garcon_menu_item_reload             (GarconMenuItem *item,
                                                             gboolean *affects_the_outside,
                                                             GError **error);
    gboolean            garcon_menu_item_reload_from_file   (GarconMenuItem *item,
                                                             GFile *file,
                                                             gboolean *affects_the_outside,
                                                             GError **error);
    gboolean            garcon_menu_item_requires_terminal  (GarconMenuItem *item);
    void                garcon_menu_item_set_categories     (GarconMenuItem *item,
                                                             GList *categories);
    void                garcon_menu_item_set_command        (GarconMenuItem *item,
                                                             const gchar *command);
    void                garcon_menu_item_set_comment        (GarconMenuItem *item,
                                                             const gchar *comment);
    void                garcon_menu_item_set_desktop_id     (GarconMenuItem *item,
                                                             const gchar *desktop_id);
    void                garcon_menu_item_set_generic_name   (GarconMenuItem *item,
                                                             const gchar *generic_name);
    void                garcon_menu_item_set_hidden         (GarconMenuItem *item,
                                                             gboolean hidden);
    void                garcon_menu_item_set_icon_name      (GarconMenuItem *item,
                                                             const gchar *icon_name);
    void                garcon_menu_item_set_name           (GarconMenuItem *item,
                                                             const gchar *name);
    void                garcon_menu_item_set_no_display     (GarconMenuItem *item,
                                                             gboolean no_display);
    void                garcon_menu_item_set_path           (GarconMenuItem *item,
                                                             const gchar *path);
    void                garcon_menu_item_set_requires_terminal
                                                            (GarconMenuItem *item,
                                                             gboolean requires_terminal);
    void                garcon_menu_item_set_supports_startup_notification
                                                            (GarconMenuItem *item,
                                                             gboolean supports_startup_notification);
    void                garcon_menu_item_set_try_exec       (GarconMenuItem *item,
                                                             const gchar *try_exec);
    gboolean            garcon_menu_item_supports_startup_notification
                                                            (GarconMenuItem *item);
    void                garcon_menu_item_unref              (GarconMenuItem *item);

## Description

## Details

### struct GarconMenuItemClass

    struct GarconMenuItemClass {
      GObjectClass __parent__;

      /* signals */
      void (*changed) (GarconMenuItem *item);
    };

### garcon_menu_item_decrement_allocated ()

    void                garcon_menu_item_decrement_allocated
                                                            (GarconMenuItem *item);

### garcon_menu_item_get_allocated ()

    gint                garcon_menu_item_get_allocated      (GarconMenuItem *item);

### garcon_menu_item_get_categories ()

    GList *             garcon_menu_item_get_categories     (GarconMenuItem *item);

### garcon_menu_item_get_command ()

    const gchar *       garcon_menu_item_get_command        (GarconMenuItem *item);

### garcon_menu_item_get_comment ()

    const gchar *       garcon_menu_item_get_comment        (GarconMenuItem *item);

### garcon_menu_item_get_desktop_id ()

    const gchar *       garcon_menu_item_get_desktop_id     (GarconMenuItem *item);

### garcon_menu_item_get_file ()

    GFile *             garcon_menu_item_get_file           (GarconMenuItem *item);

Get the file for `item`.

Returns : | a GFile. The returned object should be unreffed with `g_object_unref()` when no longer needed.

### garcon_menu_item_get_generic_name ()

    const gchar *       garcon_menu_item_get_generic_name   (GarconMenuItem *item);

### garcon_menu_item_get_hidden ()

    gboolean            garcon_menu_item_get_hidden         (GarconMenuItem *item);

### garcon_menu_item_get_icon_name ()

    const gchar *       garcon_menu_item_get_icon_name      (GarconMenuItem *item);

### garcon_menu_item_get_name ()

    const gchar *       garcon_menu_item_get_name           (GarconMenuItem *item);

### garcon_menu_item_get_no_display ()

    gboolean            garcon_menu_item_get_no_display     (GarconMenuItem *item);

### garcon_menu_item_get_path ()

    const gchar *       garcon_menu_item_get_path           (GarconMenuItem *item);

### garcon_menu_item_get_show_in_environment ()

    gboolean            garcon_menu_item_get_show_in_environment
                                                            (GarconMenuItem *item);

### garcon_menu_item_get_try_exec ()

    const gchar *       garcon_menu_item_get_try_exec       (GarconMenuItem *item);

### garcon_menu_item_get_uri ()

    gchar *             garcon_menu_item_get_uri            (GarconMenuItem *item);

### garcon_menu_item_has_category ()

    gboolean            garcon_menu_item_has_category       (GarconMenuItem *item,
                                                             const gchar *category);

### garcon_menu_item_increment_allocated ()

    void                garcon_menu_item_increment_allocated
                                                            (GarconMenuItem *item);

### garcon_menu_item_new ()

    GarconMenuItem *    garcon_menu_item_new                (GFile *file);

### garcon_menu_item_new_for_path ()

    GarconMenuItem *    garcon_menu_item_new_for_path       (const gchar *filename);

### garcon_menu_item_new_for_uri ()

    GarconMenuItem *    garcon_menu_item_new_for_uri        (const gchar *uri);

### garcon_menu_item_only_show_in_environment ()

    gboolean            garcon_menu_item_only_show_in_environment
                                                            (GarconMenuItem *item);

### garcon_menu_item_ref ()

    void                garcon_menu_item_ref                (GarconMenuItem *item);

### garcon_menu_item_reload ()

    gboolean            garcon_menu_item_reload             (GarconMenuItem *item,
                                                             gboolean *affects_the_outside,
                                                             GError **error);

### garcon_menu_item_reload_from_file ()

    gboolean            garcon_menu_item_reload_from_file   (GarconMenuItem *item,
                                                             GFile *file,
                                                             gboolean *affects_the_outside,
                                                             GError **error);

### garcon_menu_item_requires_terminal ()

    gboolean            garcon_menu_item_requires_terminal  (GarconMenuItem *item);

### garcon_menu_item_set_categories ()

    void                garcon_menu_item_set_categories     (GarconMenuItem *item,
                                                             GList *categories);

### garcon_menu_item_set_command ()

    void                garcon_menu_item_set_command        (GarconMenuItem *item,
                                                             const gchar *command);

### garcon_menu_item_set_comment ()

    void                garcon_menu_item_set_comment        (GarconMenuItem *item,
                                                             const gchar *comment);

### garcon_menu_item_set_desktop_id ()

    void                garcon_menu_item_set_desktop_id     (GarconMenuItem *item,
                                                             const gchar *desktop_id);

### garcon_menu_item_set_generic_name ()

    void                garcon_menu_item_set_generic_name   (GarconMenuItem *item,
                                                             const gchar *generic_name);

### garcon_menu_item_set_hidden ()

    void                garcon_menu_item_set_hidden         (GarconMenuItem *item,
                                                             gboolean hidden);

### garcon_menu_item_set_icon_name ()

    void                garcon_menu_item_set_icon_name      (GarconMenuItem *item,
                                                             const gchar *icon_name);

### garcon_menu_item_set_name ()

    void                garcon_menu_item_set_name           (GarconMenuItem *item,
                                                             const gchar *name);

### garcon_menu_item_set_no_display ()

    void                garcon_menu_item_set_no_display     (GarconMenuItem *item,
                                                             gboolean no_display);

### garcon_menu_item_set_path ()

    void                garcon_menu_item_set_path           (GarconMenuItem *item,
                                                             const gchar *path);

### garcon_menu_item_set_requires_terminal ()

    void                garcon_menu_item_set_requires_terminal
                                                            (GarconMenuItem *item,
                                                             gboolean requires_terminal);

### garcon_menu_item_set_supports_startup_notification ()

    void                garcon_menu_item_set_supports_startup_notification
                                                            (GarconMenuItem *item,
                                                             gboolean supports_startup_notification);

### garcon_menu_item_set_try_exec ()

    void                garcon_menu_item_set_try_exec       (GarconMenuItem *item,
                                                             const gchar *try_exec);

### garcon_menu_item_supports_startup_notification ()

    gboolean            garcon_menu_item_supports_startup_notification
                                                            (GarconMenuItem *item);

### garcon_menu_item_unref ()

    void                garcon_menu_item_unref              (GarconMenuItem *item);