Name

struct _EMenuTarget — A BonoboUI menu target definition.

Synopsis

struct _EMenuTarget {
  struct _EMenu * menu;
  struct _GtkWidget * widget;
  guint32 type;
  guint32 mask;
};  

Members

menu

The parent menu object, used for virtual methods on the target.

widget

The parent widget where available. In some cases the type of this object is part of the published api for the target, in others it is merely a GtkWidget from which you can find the toplevel widget.

type

Target type. This will be defined by the implementation.

mask

Target mask. This is used to sensitise show items based on their definition in EMenuItem.

Description

An EMenuTarget defines the context for a specific view instance. It is used to enable and show menu items, and to provide contextual data to menu invocations.

Description

An EMenuTarget defines the context for a specific view instance. It is used to enable and show menu items, and to provide contextual data to menu invocations.