omgui::gtk2::utils Namespace Reference


Enumerations

enum  extents_index { LEFT, RIGHT, TOP, BOTTOM }

Functions

long * get_extents (GtkWidget *)
 The returned array must be freed with XFree.


Enumeration Type Documentation

Enumerator:
LEFT 
RIGHT 
TOP 
BOTTOM 


Function Documentation

long * omgui::gtk2::utils::get_extents ( GtkWidget  ) 

The returned array must be freed with XFree.

Returns:
An array of type long where starting from the first element the extents are in the following order: left, right, top, bottom, or NULL if the passed GtkWidget argument does not have a realized X11 drawable or is not a toplevel window.


doxygen SourceForge.net Logo