Specifies when conditional statements are executed. More...
Inherited by guit::GExprTrigger.
Public Member Functions | |
GTrigger (GEventType mask, Filter filter) | |
Constr. More... | |
GTrigger (GTrigger const &from) | |
Constr. | |
GEventType | eventMask () const |
Returns the event mask. | |
Filter | filter () const |
Returns the filter. | |
virtual bool | operator== (GTrigger const &other) const |
Returns true if the triggers are equivalent. | |
class GGuard & | operator[] (GExprBool const &guard_expr) |
Returns a guard (see GGuard). | |
Static Public Attributes | |
static GTrigger | none |
no action. | |
static GTrigger | action |
default action (meaning depends on gadget). | |
static GTrigger | done |
the action was done (meaning depends on gadget). | |
static GTrigger | change |
the value has changed. | |
static GTrigger | changing |
the value is going to be changed. | |
static GTrigger | checked |
the gadget was checked (selected). | |
static GTrigger | unchecked |
the gadget was unchecked (deselected). | |
static GTrigger | click |
click on a gadget. | |
static GTrigger | dblclick |
double click on a gadget. | |
static GTrigger | mousedown |
mouse press on a gadget. More... | |
static GTrigger | mouseup |
mouse release on a gadget. More... | |
static GTrigger | mousedrag |
mouse moved with at least one button pressed. More... | |
static GTrigger | mousemove |
mouse moved with no button pressed. More... | |
static GTrigger | mouseover |
the mouse enters a gadget. More... | |
static GTrigger | mouseout |
the mouse leaves a gadget. More... | |
static GTrigger | wheel |
the mouse wheel rolls up or down. More... | |
static GTrigger | keydown |
a key was pressed. More... | |
static GTrigger | keyup |
a key was released. More... | |
static GTrigger | keytype |
text was entered. More... | |
static GTrigger | caret |
the text caret was moved. More... | |
static GTrigger | touch |
a touch gesture was performed. More... | |
static GTrigger | gesture |
a multitouch gesture was performed. More... | |
static GTrigger | focus |
the gadget got the keyboard focus. | |
static GTrigger | focusout |
the gadget left the keyboard focus. | |
static GTrigger | enabled |
the gadget was enabled. | |
static GTrigger | disabled |
the gadget was disabled. | |
static GTrigger | show |
the gadget was shown. | |
static GTrigger | hide |
the gadget was hidden. | |
static GTrigger | move |
the gadget was moved. | |
static GTrigger | init |
the gadget was initialized (eg the CSS was set). | |
static GTrigger | resize |
the gadget was resized. | |
static GTrigger | paint |
the gadget was repaint. | |
static GTrigger | add |
an element (prop, callback, gadget) was added to this gadget. | |
static GTrigger | remove |
an element (prop, callback, gadget) was removed from this gadget. | |
static GTrigger | copy |
text was copied. | |
static GTrigger | cut |
text was cut. | |
static GTrigger | paste |
text was pasted. | |
static GTrigger | user |
custom user event. | |
static GTrigger | changeaction |
impl. | |
Specifies when conditional statements are executed.
|
inline |
Constr.
mask is an ORed mask of the event types need to be activated.
|
static |
mouse press on a gadget.
if the gadget does not accept button events (e.g. Labels) the mousedown is sent to its parent.
|
static |
mouse release on a gadget.
the gadget that receives mouseup is the gadget that received mousedown
|
static |
mouse moved with at least one button pressed.
the gadget that receives mousedrag is the gadget that received mousedown
|
static |
mouse moved with no button pressed.
the gadget that receives mousemove is the gadget beneath the mouse cursor.
|
static |
the mouse enters a gadget.
the gadget that receives mouseenter is the gadget that was entered.
|
static |
the mouse leaves a gadget.
the gadget that receives mouseleave is the gadget that was exited.
|
static |
the mouse wheel rolls up or down.
the gadget that receives wheel is the closest gadget beneath the mouse cursor that accepts wheel events.
|
static |
a key was pressed.
the gadget that receives keydown is the gadget that has the focus.
|
static |
a key was released.
the gadget that receives keydup is the gadget that has the focus.
|
static |
text was entered.
the gadget that receives keytype is the gadget that has the focus.
|
static |
the text caret was moved.
the gadget that receives caret is the gadget that has the focus.
|
static |
a touch gesture was performed.
the main window receives the event.
|
static |
a multitouch gesture was performed.
the main window receives the event.