![]() |
libxputty 0.1
|
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 | |
void | childlist_destroy (Childlist_t *childlist) |
childlist_destroy - internal use to free the Childlist_t You usually didn't need to call this | |
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 | |
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 | |
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 | |
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 | |
int | childlist_has_child (Childlist_t *childlist) |
childlist_has_child - check if a Widget_t Childlist_t contain a child | |
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(), Childlist_t::cap, childlist_init(), Childlist_t::childs, Childlist_t::elem, Widget_t::flags, IS_WINDOW, and os_register_wm_delete_window().
Referenced by add_popup_spinbox(), create_combobox_menu(), create_menu(), create_tooltip(), create_widget(), create_window(), os_create_main_window_and_surface(), and os_create_widget_window_and_surface().
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.
Referenced by destroy_widget(), and main_quit().
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 69 of file xchildlist.c.
References Childlist_t::childs, and Childlist_t::elem.
Referenced by childlist_remove_child(), and destroy_widget().
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 79 of file xchildlist.c.
References Childlist_t::childs, Childlist_t::elem, and Widget_t::widget.
Referenced by os_main_run(), os_run_embedded(), and WndProc().
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 89 of file xchildlist.c.
References Childlist_t::elem.
Referenced by _button_press(), _check_grab(), _check_menu_state(), _configure_listbox(), _enter_submenu(), _leave_submenu(), _propagate_child_expose(), _reconfigure_listbox_viewport(), _resize_childs(), cmenu_add_submenu(), destroy_widget(), listbox_add_entry(), menu_add_item(), menu_add_numeric_items(), menu_add_submenu(), menu_add_value_entry(), os_main_run(), os_run_embedded(), os_widget_event_loop(), pop_combobox_menu_show(), pop_menu_show(), pop_submenu_show(), set_active_radio_entry(), and WndProc().
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.
Referenced by childlist_add_child(), create_widget(), create_window(), and main_init().
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 55 of file xchildlist.c.
References childlist_find_child(), Childlist_t::childs, and Childlist_t::elem.
Referenced by destroy_widget().