Name

struct _EPopupTarget — A popup menu target definition.

Synopsis

struct _EPopupTarget {
  struct _EPopup * popup;
  struct _GtkWidget * widget;
  guint32 type;
  guint32 mask;
};  

Members

popup

The parent popup 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.

type

The target type. This will be defined by the implementation.

mask

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

Description

An EPopupTarget defines the context for a specific popup menu instance. The root target object is abstract, and it is up to sub-classes of &EPopup to define the additional fields required to make it usable.

Description

An EPopupTarget defines the context for a specific popup menu instance. The root target object is abstract, and it is up to sub-classes of &EPopup to define the additional fields required to make it usable.