Xputty - the main struct.
It should be declared before any other call to a Xputty function.
Xputty store a pointer in the childlist, to any Widget_t related to this instance of libxputty.
The first created Widget_t is the toplevel window.
When the toplevel window call destroy_widget(), Xputty call destroy_widget() for all remaining Widget_t's in the main childlist.
So any allocated memory should be released before the toplevel window finaly close.
More...
#include <xputty.h>
Data Fields | |
Childlist_t * | childlist |
Display * | dpy |
XColor_t * | color_scheme |
Widget_t * | hold_grab |
bool | run |
int | small_font |
int | normal_font |
int | big_font |
Xputty - the main struct.
It should be declared before any other call to a Xputty function.
Xputty store a pointer in the childlist, to any Widget_t related to this instance of libxputty.
The first created Widget_t is the toplevel window.
When the toplevel window call destroy_widget(), Xputty call destroy_widget() for all remaining Widget_t's in the main childlist.
So any allocated memory should be released before the toplevel window finaly close.
Childlist_t* Xputty::childlist |
XColor_t* Xputty::color_scheme |