Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_toplevel.h File Reference


Detailed Description


Data Structures

struct  Etk_Toplevel
 [Widget] A widget that can't have a parent More...

Defines

#define ETK_TOPLEVEL_TYPE   (etk_toplevel_type_get())
#define ETK_TOPLEVEL(obj)   (ETK_OBJECT_CAST((obj), ETK_TOPLEVEL_TYPE, Etk_Toplevel))
#define ETK_IS_TOPLEVEL(obj)   (ETK_OBJECT_CHECK_TYPE((obj), ETK_TOPLEVEL_TYPE))

Enumerations

enum  Etk_Pointer_Type
 The different types of mouse pointer. More...

Functions

Evas * etk_toplevel_evas_get (Etk_Toplevel *toplevel)
 Gets the evas of the toplevel widget.
void etk_toplevel_evas_position_get (Etk_Toplevel *toplevel, int *x, int *y)
 Gets the position of the toplevel widget, relative to the top left corner of the evas where it is drawn.
void etk_toplevel_screen_position_get (Etk_Toplevel *toplevel, int *x, int *y)
 Gets the position of the toplevel widget, relative to the top left corner of the screen.
void etk_toplevel_size_get (Etk_Toplevel *toplevel, int *w, int *h)
 Gets the size of the toplevel widget.
void etk_toplevel_focused_widget_set (Etk_Toplevel *toplevel, Etk_Widget *widget)
 Sets the focused widget of the toplevel widget. If you want to focus a widget, use etk_widget_focus() rather.
Etk_Widget * etk_toplevel_focused_widget_get (Etk_Toplevel *toplevel)
 Gets the focused widget of the toplevel widget.
Etk_Widget * etk_toplevel_focused_widget_next_get (Etk_Toplevel *toplevel)
 Gets the next widget to focus.
Etk_Widget * etk_toplevel_focused_widget_prev_get (Etk_Toplevel *toplevel)
 Gets the previous widget to focus.
void etk_toplevel_pointer_push (Etk_Toplevel *toplevel, Etk_Pointer_Type pointer_type)
 Pushs a pointer type on the pointer stack. It will change the pointer shape.
void etk_toplevel_pointer_pop (Etk_Toplevel *toplevel, Etk_Pointer_Type pointer_type)
 Pops out of the pointer stack the first pointer of the stack whose type corresponds to pointer_type. It will change the pointer shape if the pointer to pop out is the one currently on the top of the stack.
Evas_List * etk_toplevel_widgets_get (void)
 Gets a list of all the created toplevel widgets.