SugarGestures.EventController¶
- Subclasses:
 SugarGestures.LongPressController,SugarGestures.SwipeController,SugarGestures.TouchController
Methods¶
- Inherited:
 - Structs:
 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r  | 
Controller state  | 
||
r/w  | 
Widget the controller is attached to  | 
Signals¶
- Inherited:
 
Name  | 
Short Description  | 
|---|---|
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
||
priv  | 
r  | 
Class Details¶
- class SugarGestures.EventController(**kwargs)¶
 - Bases:
 - Abstract:
 Yes
- Structure:
 
- attach(widget, flags)¶
 - Parameters:
 widget (
Gtk.Widget) –flags (
SugarGestures.EventControllerFlags) –
- Return type:
 
- detach(widget)¶
 - Parameters:
 widget (
Gtk.Widget) –- Return type:
 
- get_state()¶
 - Return type:
 
- do_began() virtual¶
 
- do_ended() virtual¶
 
- do_get_state() virtual¶
 - Return type:
 
- do_reset() virtual¶
 
- do_updated() virtual¶
 
Signal Details¶
- SugarGestures.EventController.signals.began(event_controller)¶
 - Signal Name:
 began- Flags:
 - Parameters:
 event_controller (
SugarGestures.EventController) – The object which received the signal
- SugarGestures.EventController.signals.ended(event_controller)¶
 - Signal Name:
 ended- Flags:
 - Parameters:
 event_controller (
SugarGestures.EventController) – The object which received the signal
- SugarGestures.EventController.signals.updated(event_controller)¶
 - Signal Name:
 updated- Flags:
 - Parameters:
 event_controller (
SugarGestures.EventController) – The object which received the signal
Property Details¶
- SugarGestures.EventController.props.state¶
 - Name:
 state- Type:
 - Default Value:
 - Flags:
 
Controller state
- SugarGestures.EventController.props.widget¶
 - Name:
 widget- Type:
 - Default Value:
 - Flags:
 
Widget the controller is attached to