Childlist_t - struct to hold a Widget_t child list
Xputty main holds a list of any Widget_t created in relation to main
Any Event is only propagate to Widget_t's found in this list
Every Widget_t holds a list of Child Widget_t's they contain
When a Widget_t get destroy_widget() call, all of it's childs receive a destroy_widget() call before the Widget_t itself get destroyed
the expose_callback() (EXPOSE) and the configure_callback() (CONFIGURE) will be propagate to all childs in a Childlist_t.
More...
#include <xchildlist.h>
Data Fields | |
Widget_t ** | childs |
size_t | size |
int | cap |
int | elem |
Childlist_t - struct to hold a Widget_t child list
Xputty main holds a list of any Widget_t created in relation to main
Any Event is only propagate to Widget_t's found in this list
Every Widget_t holds a list of Child Widget_t's they contain
When a Widget_t get destroy_widget() call, all of it's childs receive a destroy_widget() call before the Widget_t itself get destroyed
the expose_callback() (EXPOSE) and the configure_callback() (CONFIGURE) will be propagate to all childs in a Childlist_t.
**childs | - dynamic array to hold pointers to the childs |
size | - current size of array |
cap | - current capacity of the array |
elem | - current elements in the array |
Definition at line 49 of file xchildlist.h.
int Childlist_t::cap |
current capacity of the array
Definition at line 55 of file xchildlist.h.
Widget_t** Childlist_t::childs |
dynamic array to hold pointers to the childs
Definition at line 51 of file xchildlist.h.
int Childlist_t::elem |
current elements in the array
Definition at line 57 of file xchildlist.h.
size_t Childlist_t::size |
current size of array
Definition at line 53 of file xchildlist.h.