|
|
|
|
Etk_Viewport
Define Documentation
#define ETK_VIEWPORT_TYPE (etk_viewport_type_get()) |
Gets the type of an viewport
#define ETK_VIEWPORT |
( |
obj |
|
) |
(ETK_OBJECT_CAST((obj), ETK_VIEWPORT_TYPE, Etk_Viewport)) |
#define ETK_IS_VIEWPORT |
( |
obj |
|
) |
(ETK_OBJECT_CHECK_TYPE((obj), ETK_VIEWPORT_TYPE)) |
Function Documentation
Creates a new viewport.
- Returns:
- Returns the new viewport widget
void etk_viewport_hold_events_set |
( |
Etk_Viewport * |
viewport, |
|
|
Etk_Bool |
hold_events | |
|
) |
| | |
Sets the hold_events flag for the viewport This sets the hold_events flag. When set all events on children of the viewport have the ETK_MODIFIER_ON_HOLD in the modifier flags if it is used by a scrolled view.
Etk_Bool etk_viewport_hold_events_get |
( |
Etk_Viewport * |
viewport |
) |
|
Gets the hold_events flag for the viewport.
- Returns:
- Returns the hold_events flag
|
|
|
|
|
|