libxputty 0.1
Loading...
Searching...
No Matches
Data Fields
Childlist_t Struct Reference

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>

Collaboration diagram for Childlist_t:
Collaboration graph
[legend]

Data Fields

Widget_t ** childs
 
size_t size
 
int cap
 
int elem
 

Detailed Description

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.

Parameters
**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.

Field Documentation

◆ cap

int cap

current capacity of the array

Definition at line 55 of file xchildlist.h.

Referenced by _childlist_add_elem(), childlist_add_child(), and childlist_init().

◆ childs

Widget_t** childs

dynamic array to hold pointers to the childs

Definition at line 51 of file xchildlist.h.

Referenced by _button_combobox_released(), _button_press(), _check_grab(), _check_keymap(), _check_menu_state(), _check_submenu(), _childlist_add_elem(), _combobox_button_released(), _configure_combobox_menu(), _configure_menu(), _draw_combobox(), _draw_listbox_item(), _draw_tabbox(), _enter_submenu(), _entry_released(), _hide_all_tooltips(), _leave_submenu(), _listbox_entry_released(), _menu_entry_released(), _menu_released(), _popup_spinbox(), _propagate_child_expose(), _resize_childs(), _set_entry(), _set_listbox_viewpoint(), _set_menu_viewpoint(), _set_viewpoint(), childlist_add_child(), childlist_destroy(), childlist_find_child(), childlist_find_widget(), childlist_init(), childlist_remove_child(), cmenu_add_submenu(), color_scheme_to_childs(), combobox_add_entry(), combobox_delete_entrys(), combobox_rename_entry(), combobox_set_menu_size(), destroy_widget(), get_toplevel_widget(), hide_tooltip(), listbox_add_entry(), listview_remove_list(), listview_set_active_entry(), listview_set_check_dir(), listview_set_list(), listview_unset_active_entry(), main_quit(), menu_add_accel_check_entry(), menu_add_check_entry(), menu_add_entry(), menu_add_item(), menu_add_numeric_items(), menu_add_radio_entry(), menu_add_submenu(), menu_add_value_entry(), menu_remove_item(), menubar_add_menu(), multi_listview_remove_list(), multi_listview_set_active_entry(), multi_listview_set_check_dir(), multi_listview_set_item_size(), multi_listview_set_list(), multi_listview_unset_active_entry(), open_directory_dialog(), open_file_dialog(), os_main_run(), os_run_embedded(), os_widget_event_loop(), pop_combobox_menu_show(), pop_menu_show(), pop_submenu_show(), pop_widget_show_all(), radio_box_set_active(), radio_item_set_active(), save_file_dialog(), set_active_radio_entry(), set_active_radio_entry_num(), show_tooltip(), submenu_widget_show_all(), tabbox_remove_tab(), tooltip_set_text(), widget_hide(), widget_hide_all(), widget_show_all(), and WndProc().

◆ elem

int elem

◆ size

size_t size

current size of array

Definition at line 53 of file xchildlist.h.

Referenced by _childlist_add_elem(), and childlist_init().


The documentation for this struct was generated from the following file: