|
Data Structures |
struct | Etk_Popup_Window |
| [Widget] A borderless window that can be popped up/down More...
|
Defines |
#define | ETK_POPUP_WINDOW_TYPE (etk_popup_window_type_get()) |
#define | ETK_POPUP_WINDOW(obj) (ETK_OBJECT_CAST((obj), ETK_POPUP_WINDOW_TYPE, Etk_Popup_Window)) |
#define | ETK_IS_POPUP_WINDOW(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_POPUP_WINDOW_TYPE)) |
Enumerations |
enum | Etk_Popup_Direction {
ETK_POPUP_BELOW_RIGHT,
ETK_POPUP_BELOW_LEFT,
ETK_POPUP_ABOVE_RIGHT,
ETK_POPUP_ABOVE_LEFT
} |
| The directions to which the popup window is popped up. More...
|
Functions |
void | etk_popup_window_parent_set (Etk_Popup_Window *popup_window, Etk_Popup_Window *parent) |
| Sets the parent of the popup window. It is used by popup windows that can make other windows pop up, such as the menus.
|
Etk_Popup_Window * | etk_popup_window_parent_get (Etk_Popup_Window *popup_window) |
| Gets the parent of the popup window.
|
void | etk_popup_window_focused_window_set (Etk_Popup_Window *popup_window) |
| Sets the focused popup window. The focused window is the one which will receive the keyboard events. When a popup window is popped up, it is automatically focused.
|
Etk_Popup_Window * | etk_popup_window_focused_window_get (void) |
| Gets the focused popup window.
|
void | etk_popup_window_popup (Etk_Popup_Window *popup_window) |
| Pops up the popup window at the mouse pointer position.
|
void | etk_popup_window_popup_in_direction (Etk_Popup_Window *popup_window, Etk_Popup_Direction direction) |
| Pops up the popup window at the mouse pointer position, in the given direction.
|
void | etk_popup_window_popup_at_xy (Etk_Popup_Window *popup_window, int x, int y) |
| Pops up the popup window at the position (x, y). If the parent of the popup window has already a child which is popped up, the child will be automatically popped down.
|
void | etk_popup_window_popup_at_xy_in_direction (Etk_Popup_Window *popup_window, int x, int y, Etk_Popup_Direction direction) |
| Pops up the popup window at the position (x, y). If the parent of the popup window has already a child which is popped up, the child will be automatically popped down.
|
void | etk_popup_window_popdown (Etk_Popup_Window *popup_window) |
| Pops down the popup window and its children.
|
void | etk_popup_window_popdown_all (void) |
| Pops down all the popped windows.
|
Etk_Bool | etk_popup_window_is_popped_up (Etk_Popup_Window *popup_window) |
| Gets whether the popup window is popped up.
|