Back to index

indicator-appmenu  12.10.0
Defines | Typedefs | Functions
gtkmodelmenuitem.h File Reference
#include <gtk/gtk.h>
#include "gactionobservable.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define GTK_TYPE_MODEL_MENU_ITEM   (gtk_model_menu_item_get_type ())
#define GTK_MODEL_MENU_ITEM(inst)
#define GTK_IS_MODEL_MENU_ITEM(inst)


typedef struct _GtkModelMenuItem


G_GNUC_INTERNAL GType gtk_model_menu_item_get_type (void) G_GNUC_CONST
G_GNUC_INTERNAL GtkMenuItem * gtk_model_menu_item_new (GMenuModel *model, gint item_index, GActionObservable *actions, GtkAccelGroup *accels)

Define Documentation

#define GTK_IS_MODEL_MENU_ITEM (   inst)
(G_TYPE_CHECK_INSTANCE_TYPE ((inst),                      \

Definition at line 29 of file gtkmodelmenuitem.h.

#define GTK_MODEL_MENU_ITEM (   inst)
(G_TYPE_CHECK_INSTANCE_CAST ((inst),                      \
                                                             GTK_TYPE_MODEL_MENU_ITEM, GtkModelMenuItem))

Definition at line 27 of file gtkmodelmenuitem.h.

Definition at line 26 of file gtkmodelmenuitem.h.

Typedef Documentation

typedef struct _GtkModelMenuItem

Definition at line 32 of file gtkmodelmenuitem.h.

Function Documentation

G_GNUC_INTERNAL GType gtk_model_menu_item_get_type ( void  )
G_GNUC_INTERNAL GtkMenuItem* gtk_model_menu_item_new ( GMenuModel *  model,
gint  item_index,
GActionObservable *  actions,
GtkAccelGroup *  accels 

Definition at line 310 of file gtkmodelmenuitem.c.

  GtkModelMenuItem *item;

  item = g_object_new (GTK_TYPE_MODEL_MENU_ITEM, NULL);

  gtk_model_menu_item_setup (item, model, item_index, actions, accels);

  return GTK_MENU_ITEM (item);

Here is the call graph for this function:

Here is the caller graph for this function: