Name

struct _EMenuClass —

Synopsis

struct _EMenuClass {
  GObjectClass object_class;
  EDList factories;
  void (* target_free (EMenu *ep, EMenuTarget *t);
};  

Members

object_class

Superclass type.

factories

A list of factories for this particular class of main menu.

target_free

Virtual method to free the menu target. The base class free method frees the allocation and unrefs the EMenu parent pointer.

Description

The EMenu class definition. This should be sub-classed for each component that wants to provide hookable main menus. The subclass only needs to know how to allocate and free the various target types it supports.

Description

The EMenu class definition. This should be sub-classed for each component that wants to provide hookable main menus. The subclass only needs to know how to allocate and free the various target types it supports.