Go to the source code of this file.
Functions | |
void | childlist_init (Childlist_t *childlist) |
childlist_init - internal use to allocate the array to min size You usually didn't need to call this More... | |
void | childlist_destroy (Childlist_t *childlist) |
childlist_destroy - internal use to free the Childlist_t You usually didn't need to call this More... | |
void | childlist_add_child (Childlist_t *childlist, Widget_t *child) |
childlist_add_child - internal use to add a child to the Childlist_t You usually didn't need to call this More... | |
void | childlist_remove_child (Childlist_t *childlist, Widget_t *child) |
childlist_remove_child - internal use to remove a child from the childlist You usually didn't need to call this More... | |
int | childlist_find_child (Childlist_t *childlist, Widget_t *child) |
childlist_find_child - find a child in a the Childlist_t this could be sued to check if a Widget_t is a child of a other Widget_t More... | |
int | childlist_find_widget (Childlist_t *childlist, Window child_window) |
childlist_find_widget - find a child Widget_t in a the childlist by given the Window id More... | |
int | childlist_has_child (Childlist_t *childlist) |
childlist_has_child - check if a Widget_t Childlist_t contain a child More... | |
void childlist_add_child | ( | Childlist_t * | childlist, |
Widget_t * | child | ||
) |
childlist_add_child - internal use to add a child to the Childlist_t
You usually didn't need to call this
*childlist | - pointer to the Childlist_t |
*child | - pointer to the child to add |
Definition at line 42 of file xchildlist.c.
References _childlist_add_elem(), Widget_t::app, Childlist_t::cap, childlist_init(), Childlist_t::childs, debug_print, Xputty::dpy, Childlist_t::elem, Widget_t::flags, IS_WINDOW, and Widget_t::widget.
void childlist_destroy | ( | Childlist_t * | childlist | ) |
childlist_destroy - internal use to free the Childlist_t
You usually didn't need to call this
*childlist | - pointer to the Childlist_t |
Definition at line 38 of file xchildlist.c.
References Childlist_t::childs.
int childlist_find_child | ( | Childlist_t * | childlist, |
Widget_t * | child | ||
) |
childlist_find_child - find a child in a the Childlist_t this could be sued to check if a Widget_t is a child of a other Widget_t
*childlist | - pointer to the Childlist_t |
*child | - pointer to the child to find |
Definition at line 71 of file xchildlist.c.
References Childlist_t::childs, and Childlist_t::elem.
int childlist_find_widget | ( | Childlist_t * | childlist, |
Window | child_window | ||
) |
childlist_find_widget - find a child Widget_t in a the childlist by given the Window id
*childlist | - pointer to the Childlist_t |
child_window | - the Window to find the Widget_t for |
Definition at line 81 of file xchildlist.c.
References Childlist_t::childs, Childlist_t::elem, and Widget_t::widget.
int childlist_has_child | ( | Childlist_t * | childlist | ) |
childlist_has_child - check if a Widget_t Childlist_t contain a child
*childlist | - pointer to the Childlist_t |
Definition at line 91 of file xchildlist.c.
References Childlist_t::elem.
void childlist_init | ( | Childlist_t * | childlist | ) |
childlist_init - internal use to allocate the array to min size
You usually didn't need to call this
*childlist | - pointer to the Childlist_t |
Definition at line 25 of file xchildlist.c.
References Childlist_t::cap, Childlist_t::childs, Childlist_t::elem, and Childlist_t::size.
void childlist_remove_child | ( | Childlist_t * | childlist, |
Widget_t * | child | ||
) |
childlist_remove_child - internal use to remove a child from the childlist
You usually didn't need to call this
*childlist | - pointer to the Childlist_t |
*child | - pointer to the child to remove |
Definition at line 57 of file xchildlist.c.
References childlist_find_child(), Childlist_t::childs, and Childlist_t::elem.