Wp.InterestEventHook

g GObject.Object GObject.Object Wp.EventHook Wp.EventHook GObject.Object->Wp.EventHook Wp.InterestEventHook Wp.InterestEventHook Wp.EventHook->Wp.InterestEventHook

Subclasses:

Wp.AsyncEventHook, Wp.SimpleEventHook

Methods

Inherited:

Wp.EventHook (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

add_interest_full (interest)

Virtual Methods

Inherited:

Wp.EventHook (3), GObject.Object (7)

Properties

Inherited:

Wp.EventHook (4)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Wp.EventHook

r

Class Details

class Wp.InterestEventHook(**kwargs)
Bases:

Wp.EventHook

Abstract:

Yes

Structure:

Wp.InterestEventHookClass

An event hook that declares interest in specific events. This subclass implements the Wp.EventHook.do_runs_for_event() vmethod and returns True from that method if the given event has properties that match one of the declared interests.

add_interest_full(interest)
Parameters:

interest (Wp.ObjectInterest) –