Name

struct _EEventItem — An event listener item.

Synopsis

struct _EEventItem {
  enum _e_event_t type;
  int priority;
  const char * id;
  int target_type;
  EEventFunc handle;
  void * user_data;
  guint32 enable;
};  

Members

type

The type of the event listener.

priority

A signed number signifying the priority of the event listener. 0 should be used normally. This is used to order event receipt when multiple listners are present.

id

The name of the event to listen to. By convention events are of the form “component.subcomponent”. The target mask provides further sub-event type qualification.

target_type

Target type for this event. This is implementation specific.

handle

Event handler callback.

user_data

Callback data.

enable

Target-specific mask to qualify the receipt of events. This is target and implementation specific.

Description

An EEventItem defines a specific event listening point on a given EEvent object. When an event is broadcast onto an EEvent handler, any matching EEventItems will be invoked in priority order.

Description

An EEventItem defines a specific event listening point on a given EEvent object. When an event is broadcast onto an EEvent handler, any matching EEventItems will be invoked in priority order.