## GarconMenuElement

GarconMenuElement — Central interface.

## Synopsis

    #include <garcon/garcon.h>

    struct              GarconMenuElementIface;
    gboolean            garcon_menu_element_equal           (GarconMenuElement *a,
                                                             GarconMenuElement *b);
    const gchar *       garcon_menu_element_get_comment     (GarconMenuElement *element);
    const gchar *       garcon_menu_element_get_icon_name   (GarconMenuElement *element);
    const gchar *       garcon_menu_element_get_name        (GarconMenuElement *element);
    gboolean            garcon_menu_element_get_no_display  (GarconMenuElement *element);
    gboolean            garcon_menu_element_get_show_in_environment
                                                            (GarconMenuElement *element);
    gboolean            garcon_menu_element_get_visible     (GarconMenuElement *element);

## Description

Interface implemented by the Garcon types GarconMenuItem, GarconMenuSeparator and GarconMenu.

## Details

### struct GarconMenuElementIface

    struct GarconMenuElementIface {
      GTypeInterface __parent__;

      /* Virtual methods */
      const gchar *(*get_name)                (GarconMenuElement *element);
      const gchar *(*get_comment)             (GarconMenuElement *element);
      const gchar *(*get_icon_name)           (GarconMenuElement *element);
      gboolean     (*get_visible)             (GarconMenuElement *element);
      gboolean     (*get_show_in_environment) (GarconMenuElement *element);
      gboolean     (*get_no_display)          (GarconMenuElement *element);
      gboolean     (*equal)                   (GarconMenuElement *element,
                                               GarconMenuElement *other);
    };

### garcon_menu_element_equal ()

    gboolean            garcon_menu_element_equal           (GarconMenuElement *a,
                                                             GarconMenuElement *b);

### garcon_menu_element_get_comment ()

    const gchar *       garcon_menu_element_get_comment     (GarconMenuElement *element);

### garcon_menu_element_get_icon_name ()

    const gchar *       garcon_menu_element_get_icon_name   (GarconMenuElement *element);

### garcon_menu_element_get_name ()

    const gchar *       garcon_menu_element_get_name        (GarconMenuElement *element);

### garcon_menu_element_get_no_display ()

    gboolean            garcon_menu_element_get_no_display  (GarconMenuElement *element);

### garcon_menu_element_get_show_in_environment ()

    gboolean            garcon_menu_element_get_show_in_environment
                                                            (GarconMenuElement *element);

### garcon_menu_element_get_visible ()

    gboolean            garcon_menu_element_get_visible     (GarconMenuElement *element);