Name

struct _EMenuHookClass — Menu hook type.

Synopsis

struct _EMenuHookClass {
  EPluginHookClass hook_class;
  GHashTable * target_map;
  EMenuClass * menu_class;
};  

Members

hook_class

Superclass type.

target_map

Table of EluginHookTargetMaps which enumerate the target types and enable bits of the implementing class.

menu_class

The EMenuClass of the corresponding popup manager for implementing the class.

Description

The EMenuHookClass is an empty concrete class. It must be subclassed and initialised appropriately to perform useful work.

The EPluginHookClass.id must be set to the name and version of the hook handler the implementation defines. The target_map must be initialised with the data required to enumerate the target types and enable flags supported by the implementing class.

Description

The EMenuHookClass is an empty concrete class. It must be subclassed and initialised appropriately to perform useful work.

The EPluginHookClass.id must be set to the name and version of the hook handler the implementation defines. The target_map must be initialised with the data required to enumerate the target types and enable flags supported by the implementing class.