2 "treemultictrl" // bbtk::kernel::src::ThirdParty::wx::treemultictrl
6 //class diagram settings
7 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default
8 //use case diagram settings
9 package_name_in_tab default show_context default auto_label_position default draw_all_relations default class_drawing_mode default shadow default show_stereotype_properties default
10 //sequence diagram settings
11 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default
12 //collaboration diagram settings
13 show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default
14 //object diagram settings
15 write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default
16 //component diagram settings
17 package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default
18 draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
19 //deployment diagram settings
20 package_name_in_tab default show_context default write_horizontally default auto_label_position default draw_all_relations default shadow default
21 draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
22 //state diagram settings
23 package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
24 show_activities default region_horizontally default drawing_language default show_stereotype_properties default
25 //activity diagram settings
26 package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
27 show_infonote default drawing_language default show_stereotype_properties default
29 classview 128258 "treemultictrl"
30 //class diagram settings
31 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_infonote default shadow default show_stereotype_properties default
32 //collaboration diagram settings
33 show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default show_stereotype_properties default
34 //object diagram settings
35 write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default
36 //sequence diagram settings
37 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default
38 //state diagram settings
39 package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
40 show_activities default region_horizontally default drawing_language default show_stereotype_properties default
42 //activity diagram settings
43 package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
44 show_infonote default drawing_language default show_stereotype_properties default
45 class 139778 "TreeMultiItemBase"
47 cpp_decl "${comment}${template}class ${name}${inherit} {
53 python_2_2 python_decl ""
55 explicit_switch_type ""
57 operation 161026 "TreeMultiItemBase"
58 preserve_cpp_body_indent protected explicit_return_type ""
60 param inout name "parent" type class_ref 139906 // TreeMultiItemNode
61 cpp_decl " ${comment}${inline}${name}${(}${t0} * ${p0}${v0}${)}${volatile}${throw};
63 cpp_def "//* TreeMultiItemBase
65 // * This class is the node of the whole tree. All the other classes in the
67 // * tree descend from this node. It contains the type of the class without
68 // * using RTTI. NOTE: this class cannot be constructed directly
71 ${comment}${inline}${class}::${name}${(}${t0} * ${p0}${)}
100 attribute 139778 "_name"
101 protected explicit_type "wxString"
102 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
110 attribute 139906 "_excluded"
111 protected explicit_type "bool"
112 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
120 attribute 140034 "_type"
121 protected explicit_type "int"
122 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
130 attribute 140162 "_checkbox"
131 protected explicit_type "bool"
132 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
140 attribute 140290 "_checkboxState"
141 protected explicit_type "int"
142 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
150 operation 161154 "~TreeMultiItemBase"
151 preserve_cpp_body_indent cpp_virtual public explicit_return_type ""
153 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
155 cpp_def "${comment}${inline}${class}::${name}${(}${)}${throw}{
164 operation 161282 "GetType"
165 const cpp_inline public explicit_return_type "int"
167 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} { return _type; };
173 comment " type of tree item"
176 operation 161410 "GetParent"
177 const cpp_inline public return_type class_ref 139906 // TreeMultiItemNode
179 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} { return _parent; };
187 operation 161538 "GetName"
188 const cpp_inline public explicit_return_type "wxString"
190 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
198 comment "* Get name of this node "
201 operation 161666 "SetName"
202 cpp_inline public explicit_return_type "void"
204 param in name "NewName" explicit_type "wxString"
205 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
206 this->_name = NewName;
213 comment "* Set name of the item "
216 operation 161794 "IsTreeMultiItemRoot"
217 const cpp_virtual cpp_inline public return_type class_ref 140034 // TreeMultiItemRoot
219 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} {
227 comment "* returns the instance pointer if the current node is
228 a TreeMultiItemRoot, and NULL when it's not.
232 operation 161922 "IsTreeMultiItemWindow"
233 const cpp_virtual cpp_inline public return_type class_ref 140162 // TreeMultiItemWindow
235 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} {
243 comment "* returns the instance pointer if the current node is
244 a TreeMultiItemWindow, and NULL when it's not.
248 operation 162050 "IsTreeMultiItemNode"
249 const cpp_virtual cpp_inline public return_type class_ref 139906 // TreeMultiItemNode
251 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} {
259 comment "* returns the instance pointer if the current node is
260 a TreeMultiItemNode, and NULL when it's not.
264 operation 162178 "SetExcluded"
265 cpp_inline public explicit_return_type "void"
267 param in name "excluded" explicit_type "bool"
268 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
269 _excluded = excluded;
276 comment "* Sets or resets the excluded flag. When excluded node is not visible "
279 operation 162306 "SetX"
280 cpp_inline public explicit_return_type "void"
282 param in name "x" explicit_type "int"
283 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
291 comment "* Get / Set routine for X "
294 operation 162434 "GetX"
295 const cpp_inline public explicit_return_type "int"
297 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
307 operation 162562 "SetY"
308 cpp_inline public explicit_return_type "void"
310 param in name "y" explicit_type "int"
311 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
319 comment "* Get / Set routine for Y "
322 operation 162690 "GetY"
323 const cpp_inline public explicit_return_type "int"
325 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
335 operation 162818 "SetHeight"
336 cpp_inline public explicit_return_type "void"
338 param in name "height" explicit_type "int"
339 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
347 comment "* Get / Set routine for height "
350 operation 162946 "GetHeight"
351 const cpp_inline public explicit_return_type "int"
353 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
363 operation 163074 "SetWidth"
364 cpp_inline public explicit_return_type "void"
366 param in name "width" explicit_type "int"
367 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
375 comment "* Get / Set routine for width "
378 operation 163202 "GetWidth"
379 const cpp_inline public explicit_return_type "int"
381 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
391 operation 163330 "IsVisible"
392 preserve_cpp_body_indent public explicit_return_type "bool"
394 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
396 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
403 comment "* Returns true when this item is drawn somewhere in the
404 tree. Whenever a parent of this node is collapsed, it
405 is not visible and it is not necessary to perform i.e.
408 It also returns false when this node is excluded from the
411 \\sa wxTreeMultiCtrl::Exclude(), wxTreeMultiCtrl::Include())
415 operation 163458 "IsExcluded"
416 const cpp_inline public explicit_return_type "bool"
418 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
426 comment " Returns if this node is excluded from the tree. If this item
427 is a Node, then all kids are excluded as well "
430 operation 163586 "IsSelected"
431 const cpp_inline public explicit_return_type "bool"
433 param in name "" explicit_type "void"
434 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
435 return this->m_Selected;
442 comment " item selection status handling
443 * checks if the item is selected "
446 operation 163714 "Select"
447 cpp_inline public explicit_return_type "void"
449 param in name "" explicit_type "void"
450 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
451 this->m_Selected = true;
458 comment "* mark the current item as selected "
461 operation 163842 "ToggleSelection"
462 cpp_inline public explicit_return_type "void"
464 param in name "" explicit_type "void"
465 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
466 this->m_Selected = !(this->m_Selected);
473 comment "* toggle the selection status "
476 operation 163970 "Unselect"
477 cpp_inline public explicit_return_type "void"
479 param in name "" explicit_type "void"
480 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
481 this->m_Selected = false;
488 comment "* unmark the item "
491 operation 164098 "SetCheckbox"
492 cpp_inline public explicit_return_type "void"
494 param in name "value" explicit_type "bool"
495 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
503 comment "* Sets checkbox or not. This does not influence the state of the checkbox "
506 operation 164226 "GetCheckbox"
507 const cpp_inline public explicit_return_type "bool"
509 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
517 comment "* Returns current state of the checkbox view "
520 operation 164354 "SetCheckboxState"
521 cpp_virtual cpp_inline public explicit_return_type "void"
523 param in name "state" explicit_type "int"
524 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
525 wxCHECK2(state < 3 && state >= 0, return);
526 _checkboxState = state;
533 comment "* Sets checkbox state. If 0 it's unchecked, 1 = checked and 2 = tristate "
536 operation 164482 "GetCheckboxState"
537 const cpp_inline public explicit_return_type "int"
539 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
540 return _checkboxState;
547 comment "* Returns current state of checkbox "
550 classrelation 135170 // _parent (<unidirectional association>)
552 a role_name "_parent" private
553 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
555 classrelation_ref 135170 // _parent (<unidirectional association>)
556 b parent class_ref 139906 // TreeMultiItemNode
559 attribute 140418 "m_Selected"
560 private explicit_type "bool"
561 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
570 class 139906 "TreeMultiItemNode"
572 cpp_decl "${comment}${template}class ${name}${inherit} {
578 python_2_2 python_decl ""
580 explicit_switch_type ""
582 classrelation 135298 // <generalisation>
583 relation 135298 ---|>
585 cpp default "${type}"
586 classrelation_ref 135298 // <generalisation>
587 b parent class_ref 139778 // TreeMultiItemBase
590 attribute 140546 "_items"
591 private explicit_type "TreeMultiItemBaseArray"
592 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
600 attribute 140674 "_caption"
601 private explicit_type "wxString"
602 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
610 attribute 140802 "_nodeExpanded"
611 private explicit_type "bool"
612 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
620 attribute 140930 "m_Attributes"
621 private explicit_type "wxTreeItemAttr"
622 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
630 operation 164610 "TreeMultiItemNode"
631 preserve_cpp_body_indent public explicit_return_type ""
633 param inout name "parent" type class_ref 139906 // TreeMultiItemNode
634 param in name "caption" explicit_type "wxString"
635 defaultvalue "wxEmptyString"
636 param in name "name" explicit_type "wxString"
637 defaultvalue "wxEmptyString"
638 cpp_decl " ${comment}${inline}${name}${(}${t0} * ${p0}${v0}, const ${t1} & ${p1}${v1}, const ${t2} & ${p2}${v2}${)}${volatile}${throw};
640 cpp_def "//* TreeMultiItemNode
641 // * This class is a container holder for multiple TreeMultiItemBase classes.
642 // * Since both a TreeMultiItemNode and a TreeMultiItemWindow are a descendant
643 // * from a TreeMultiItemBase class, it can hold multiple of these.
644 // * In the case of a directory tree structure, it can hold multiple
645 // * directories, and leafs (files).
647 // default constructor for container composite
649 ${comment}${inline}${class}::${name}${(}${t0} * ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}
650 : TreeMultiItemBase(parent)
652 , _nodeExpanded(true)
663 operation 164738 "~TreeMultiItemNode"
664 preserve_cpp_body_indent cpp_virtual public explicit_return_type ""
666 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
668 cpp_def "//------------------------------------------------------------
670 ${comment}${inline}${class}::${name}${(}${)}${throw}{
679 operation 164866 "IsTreeMultiItemNode"
680 const cpp_virtual cpp_inline public return_type class_ref 139906 // TreeMultiItemNode
682 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} {
683 return (TreeMultiItemNode *)this;
690 comment " isClass method"
693 operation 164994 "AddNode"
694 preserve_cpp_body_indent public explicit_return_type "void"
696 param inout name "node" type class_ref 139778 // TreeMultiItemBase
697 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
699 cpp_def "//------------------------------------------------------------
701 ${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}${)}${const}${volatile}${throw}${staticnl}{
708 comment " add methods
712 operation 165122 "InsertNode"
713 preserve_cpp_body_indent public explicit_return_type "void"
715 param inout name "NodePtr" type class_ref 139778 // TreeMultiItemBase
716 param in name "Position" explicit_type "size_t"
717 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
719 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
728 operation 165250 "Clear"
729 preserve_cpp_body_indent public explicit_return_type "void"
731 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
733 cpp_def "//------------------------------------------------------------
735 ${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
742 comment " delete methods
746 operation 165378 "DeleteNode"
747 preserve_cpp_body_indent public explicit_return_type "void"
749 param inout name "node" type class_ref 139778 // TreeMultiItemBase
750 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
752 cpp_def "//------------------------------------------------------------
755 ${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}${)}${const}${volatile}${throw}${staticnl}{
764 operation 165506 "DeleteNode"
765 preserve_cpp_body_indent public explicit_return_type "void"
767 param in name "index" explicit_type "int"
768 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
770 cpp_def "//------------------------------------------------------------
772 ${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
781 operation 165634 "RemoveNode"
782 preserve_cpp_body_indent public return_type class_ref 139778 // TreeMultiItemBase
784 param inout name "node" type class_ref 139778 // TreeMultiItemBase
785 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${t0} * ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
787 cpp_def "//------------------------------------------------------------
789 ${comment}${inline}${type} * ${class}::${name}${(}${t0} * ${p0}${)}${const}${volatile}${throw}${staticnl}{
798 operation 165762 "RemoveNode"
799 preserve_cpp_body_indent public return_type class_ref 139778 // TreeMultiItemBase
801 param in name "index" explicit_type "int"
802 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
804 cpp_def "//------------------------------------------------------------
806 ${comment}${inline}${type} * ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
815 operation 165890 "GetNodeCount"
816 preserve_cpp_body_indent const public explicit_return_type "int"
818 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
820 cpp_def "//------------------------------------------------------------
822 ${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
829 comment " get methods"
832 operation 166018 "GetNode"
833 preserve_cpp_body_indent const public return_type class_ref 139778 // TreeMultiItemBase
835 param in name "index" explicit_type "int"
836 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
838 cpp_def "//------------------------------------------------------------
840 ${comment}${inline}${type} * ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
849 operation 166146 "Index"
850 preserve_cpp_body_indent const public explicit_return_type "int"
852 param inout name "node" type class_ref 139778 // TreeMultiItemBase
853 param in name "searchFromEnd" explicit_type "bool"
855 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
857 cpp_def "//------------------------------------------------------------
859 ${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
868 operation 166274 "GetNodeNext"
869 preserve_cpp_body_indent const public return_type class_ref 139778 // TreeMultiItemBase
871 param inout name "cookie" explicit_type "int"
872 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
874 cpp_def "//------------------------------------------------------------
876 ${comment}${inline}${type} * ${class}::${name}${(}${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
885 operation 166402 "First"
886 preserve_cpp_body_indent const public return_type class_ref 139778 // TreeMultiItemBase
888 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract};
890 cpp_def "//------------------------------------------------------------
893 ${comment}${inline}${type} * ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
902 operation 166530 "Last"
903 preserve_cpp_body_indent const public return_type class_ref 139778 // TreeMultiItemBase
905 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract};
907 cpp_def "// TreeMultiItemNode::First() const
909 ${comment}${inline}${type} * ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
918 operation 166658 "Fold"
919 cpp_inline public explicit_return_type "void"
921 param in name "expand" explicit_type "bool"
922 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
923 if(_nodeExpanded != expand)
924 _nodeExpanded = expand;
931 comment "* Fold function sets or clears the expanded flag. Note when excluded from drawing, this
933 will have no effect on redraw "
936 operation 166786 "GetCaption"
937 const cpp_inline public explicit_return_type "wxString"
939 cpp_decl " ${comment}${friend}${static}${inline}${virtual}const ${type} & ${name}${(}${)}${const}${volatile}${throw}${abstract} {
947 comment "* Return caption "
950 operation 166914 "IsExpanded"
951 const cpp_inline public explicit_return_type "bool"
953 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
954 return _nodeExpanded;
961 comment "* Returns true if the node is expanded. Subnodes can still be collapsed though "
965 class 140034 "TreeMultiItemRoot"
967 cpp_decl "${comment}${template}class ${name}${inherit} {
973 python_2_2 python_decl ""
975 explicit_switch_type ""
977 comment "* This class is the root class. It can hold many of the TreeMultiItemWindow and
979 * TreeMultiItemNode classes.
982 classrelation 135426 // <generalisation>
983 relation 135426 ---|>
985 cpp default "${type}"
986 classrelation_ref 135426 // <generalisation>
987 b parent class_ref 139906 // TreeMultiItemNode
990 operation 167042 "TreeMultiItemRoot"
991 preserve_cpp_body_indent public explicit_return_type ""
993 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
995 cpp_def "//* TreeMultiItemRoot
997 // * This class is the class you use to create a tree. It contains all the
999 // * public methods from a TreeMultiItemNode, but you can add more to it
1001 // * because it is the root. A typical addition is the load entry for a
1003 // * directory, or other type of enumeration. You could store the base path
1005 // * of a relative tree in this class.
1009 ${comment}${inline}${class}::${name}${(}${)}
1011 : TreeMultiItemNode(0, _T(\"\"), _T(\"\"))
1022 operation 167170 "~TreeMultiItemRoot"
1023 preserve_cpp_body_indent cpp_virtual public explicit_return_type ""
1025 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1027 cpp_def "${comment}${inline}${class}::${name}${(}${)}${throw}{
1036 operation 167298 "IsTreeMultiItemRoot"
1037 const cpp_virtual cpp_inline public return_type class_ref 140034 // TreeMultiItemRoot
1039 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1041 return (TreeMultiItemRoot *)this;
1049 comment " IsClass method
1054 class 140162 "TreeMultiItemWindow"
1056 cpp_decl "${comment}${template}class ${name}${inherit} {
1062 python_2_2 python_decl ""
1064 explicit_switch_type ""
1066 classrelation 135554 // <generalisation>
1067 relation 135554 ---|>
1069 cpp default "${type}"
1070 classrelation_ref 135554 // <generalisation>
1071 b parent class_ref 139778 // TreeMultiItemBase
1074 classrelation 135682 // _window (<unidirectional association>)
1075 relation 135682 --->
1076 a role_name "_window" private
1077 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1079 classrelation_ref 135682 // _window (<unidirectional association>)
1080 b parent class_ref 136322 // wxWindow
1083 attribute 141058 "_span"
1084 private explicit_type "bool"
1085 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1093 operation 167426 "TreeMultiItemWindow"
1094 preserve_cpp_body_indent public explicit_return_type ""
1096 param inout name "parent" type class_ref 139906 // TreeMultiItemNode
1097 param in name "name" explicit_type "wxString"
1098 defaultvalue "wxEmptyString"
1099 cpp_decl " ${comment}${inline}${name}${(}${t0} * ${p0}${v0}, const ${t1} & ${p1}${v1}${)}${volatile}${throw};
1101 cpp_def "//* TreeMultiItemWindow
1103 // * This class is a possible end node for the tree. If you want multiple
1105 // * types of end-nodes you should copy this file and adjust it with a
1107 // * different class name.
1111 ${comment}${inline}${class}::${name}${(}${t0} * ${p0}, const ${t1} & ${p1}${)}
1113 : TreeMultiItemBase(parent)
1132 operation 167554 "~TreeMultiItemWindow"
1133 preserve_cpp_body_indent cpp_virtual public explicit_return_type ""
1135 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1137 cpp_def "${comment}${inline}${class}::${name}${(}${)}${throw}{
1146 operation 167682 "IsTreeMultiItemWindow"
1147 const cpp_virtual cpp_inline public return_type class_ref 140162 // TreeMultiItemWindow
1149 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1151 return (TreeMultiItemWindow *)this;
1159 comment " IsClass method
1163 operation 167810 "AssignWindow"
1164 preserve_cpp_body_indent public explicit_return_type "void"
1166 param inout name "wnd" type class_ref 136322 // wxWindow
1167 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
1169 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}${)}${const}${volatile}${throw}${staticnl}{
1176 comment "* Assigns the given window to this TreeMultiItemWindow, and also destroys the
1178 present window. If the assigned window is 0, this item is not drawn
1180 and removed from the tree visually "
1183 operation 167938 "GetWindow"
1184 cpp_inline public return_type class_ref 136322 // wxWindow
1186 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1196 comment "* Get window method "
1199 operation 168066 "SetFrontSpacing"
1200 cpp_inline public explicit_return_type "void"
1202 param in name "frontSpacing" explicit_type "int"
1203 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1205 _frontSpacing = frontSpacing;
1213 comment " Sets front spacing "
1216 operation 168194 "GetFrontSpacing"
1217 const cpp_inline public explicit_return_type "int"
1219 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1221 return _frontSpacing;
1229 comment " Gets front spacing "
1232 operation 168322 "SetTopSpacing"
1233 cpp_inline public explicit_return_type "void"
1235 param in name "topSpacing" explicit_type "int"
1236 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1238 _topSpacing = topSpacing;
1246 comment " Sets top spacing "
1249 operation 168450 "GetTopSpacing"
1250 const cpp_inline public explicit_return_type "int"
1252 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1262 comment " Gets top spacing "
1265 operation 168578 "SetHorizontalSpan"
1266 cpp_inline public explicit_return_type "void"
1268 param in name "span" explicit_type "bool"
1269 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1279 comment " Sets horizontal span, meaning when this is set the window
1281 attached may be resized horizontally when the window is resized "
1284 operation 168706 "GetHorizontalSpan"
1285 const cpp_inline public explicit_return_type "bool"
1287 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1297 comment " Sets horizontal span, meaning when this is set the window
1299 attached may be resized horizontally when the window is resized "
1302 operation 168834 "SetCheckboxState"
1303 preserve_cpp_body_indent cpp_virtual public explicit_return_type "void"
1305 param in name "state" explicit_type "int"
1306 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
1308 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
1315 comment "* Inherited from base, to enable or disable window "
1319 class 140290 "anonymous1"
1320 visibility package stereotype "enum"
1321 cpp_decl "${comment}enum {
1327 python_2_2 python_decl ""
1329 explicit_switch_type ""
1331 comment "* \\defgroup hitflags wxTreeMultiCtrl HitTest flags
1334 attribute 141186 "wxTMC_HITTEST_GUTTER"
1335 public type class_ref 140290 // anonymous1
1337 cpp_decl " ${name}${value},${comment}"
1344 attribute 141314 "wxTMC_HITTEST_WINDOW"
1345 public type class_ref 140290 // anonymous1
1346 cpp_decl " ${name}${value},${comment}"
1353 attribute 141442 "wxTMC_HITTEST_CAPTION"
1354 public type class_ref 140290 // anonymous1
1355 cpp_decl " ${name}${value},${comment}"
1362 attribute 141570 "wxTMC_HITTEST_CHECKBOX"
1363 public type class_ref 140290 // anonymous1
1364 cpp_decl " ${name}${value},${comment}"
1372 class 140418 "wxTreeMultiItem"
1374 cpp_decl "${comment}${template}class ${name}${inherit} {
1380 python_2_2 python_decl ""
1382 explicit_switch_type ""
1384 comment "/ wxCoord was found in the gutter of the node (in front of the [+])
1385 / wxCoord was found inside a window, or behind it, on a Window node
1386 / wxCoord was found on a caption of a Node or Root item
1387 / wxCoord was found on a checkbox (only when item really has a checkbox)
1390 * @defgroup classes wxTreeMultiCtrl Classes
1391 These classes are all the available classes in the wxTreeMultiCtrl you should know about.
1396 * \\class wxTreeMultiItem
1398 \\brief An intermediate class which is used to return as 'item' value for the wxTreeMultiCtrl. This class
1399 is comparable with wxTreeItemId.
1401 The wxTreeMultiItem is used to pass information to the user about the tree node in question. It can also be used point out where the
1402 subnodes should be added.
1407 wxTreeMultiItem item = MyMultiTreeCtrl->AddRoot(\"This is the first root\");
1409 // now add a node to the root
1411 MyMultiTreeCtrl->AppendWindow(item, new wxStaticText(MyMultiTreeCtrl, -1, \"This is a static text\");
1416 The wxTreeMultiItem comes in three internal types which are used in the wxTreeMultiCtrl. For functions such as
1417 wxTreeMultiCtrl::AddRoot, a Root item is returned. For functions such as wxTreeMultiCtrl::AppendWindow, a
1418 Window node is returned. For functions such as wxTreeMultiCtrl::AppendNode, a Node item is returned.
1420 \\li A Root item represents a top level item. Special operations on this item is adding multiple nodes to it from a
1423 \\li A Node item represents a container item which has multiple sub items which can both be Window items, or Node items.
1424 A root item is a special type of Node item, so all operations which are only for Node items, are also for Root items.
1426 \\li A Window node represents an end node, which points to a wxWindow which represents the visual contents of this node.
1427 This type of node can hold any wxWindow derived class.
1430 classrelation 135810 // _item (<unidirectional association>)
1431 relation 135810 --->
1432 a role_name "_item" private
1433 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1435 classrelation_ref 135810 // _item (<unidirectional association>)
1436 b parent class_ref 139778 // TreeMultiItemBase
1439 operation 168962 "wxTreeMultiItem"
1440 cpp_inline public explicit_return_type ""
1442 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw} {
1450 comment "* Default declaration constructor, and should be used when declaring an item which gets assigned a new
1451 value by e.g. wxTreeMultiCtrl::AppendNode. "
1454 operation 169090 "wxTreeMultiItem"
1455 cpp_inline public explicit_return_type ""
1457 param inout name "ptr" type class_ref 139778 // TreeMultiItemBase
1458 cpp_decl " ${comment}${inline}${name}${(}${t0} * ${p0}${v0}${)}${volatile}${throw} {
1468 operation 169218 "GetItem"
1469 const cpp_inline public return_type class_ref 139778 // TreeMultiItemBase
1471 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1481 comment " Returns the TreeMultiItemBase class. This shoult *NOT* be
1483 used if you don't know what you are doing! This means never use it. */
1487 operation 169346 "operator ="
1488 cpp_inline public explicit_return_type "void"
1490 param in name "item" type class_ref 140418 // wxTreeMultiItem
1491 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1500 comment "* The copy operator. Used in assigning one wxTreeMultiItem to another, usually in returning wxTreeMultiItem
1501 classes from the wxTreeMultiCtrl.
1505 operation 169474 "operator =="
1506 const cpp_inline public explicit_return_type "bool"
1508 param in name "item" type class_ref 140418 // wxTreeMultiItem
1509 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {return (this->GetItem() == item.GetItem());};
1515 comment "* Equality operator. It returns true if the items are identical or if both items are invalid. "
1518 operation 169602 "operator !="
1519 const cpp_inline public explicit_return_type "bool"
1521 param in name "item" type class_ref 140418 // wxTreeMultiItem
1522 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {return (this->GetItem() != item.GetItem());};
1528 comment "* Inequality operator. It returns true if the items are different or one of them is invalid. "
1531 operation 169730 "GetParent"
1532 const cpp_inline public return_type class_ref 140418 // wxTreeMultiItem
1534 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1536 wxCHECK(IsOk(), wxTreeMultiItem(0));
1538 return wxTreeMultiItem(_item->GetParent());
1546 comment "* Returns the parent of the current wxTreeMultiItem. This means the wxTreeMultiNode is returned. It can
1548 be useful to check or clear the checkbox at this level. "
1551 operation 169858 "IsOk"
1552 const cpp_inline public explicit_return_type "bool"
1554 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1562 comment "* Validates if the wxTreeMultiItem is a valid instance to use in the wxTreeMultiCtrl. Returns TRUE when there
1563 is a member value is associated with it, or FALSE when not. This value can also be checked when this class is returned from a wxTreeMultiCtrl operation. For example:
1567 wxTreeMultiItem item = MyTreeMultiCtrl->FindNode(\"NAME\");
1570 // Found the node, now do something with it
1582 operation 169986 "IsWindowItem"
1583 const cpp_inline public explicit_return_type "bool"
1585 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1586 if(_item && _item->IsTreeMultiItemWindow())
1595 comment "* Returns TRUE when the wxTreeMultiItem is a Window item. This means the item is both valid, and points to a
1596 window node. This means it can be used in functions that expect a Window node. If the item is invalid or a Window
1597 item, FALSE is returned
1598 \\sa wxTreeMultiCtrl::AppendWindow
1602 operation 170114 "IsNodeItem"
1603 const cpp_inline public explicit_return_type "bool"
1605 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1606 if(_item && (_item->IsTreeMultiItemNode() || _item->IsTreeMultiItemRoot()))
1615 comment "* Returns TRUE when the wxTreeMultiItem is a Node item. This means the item is both valid, and points to a
1616 node element (i.e. setting the caption, counting node children, etc). If the item is invalid or not a Node
1617 item, FALSE is returned.
1618 When the item is actually a root item (specialised node type), this also returns TRUE.
1619 \\sa wxTreeMultiCtrl::AppendNode wxTreeMultiCtrl::AddRoot
1623 operation 170242 "IsRootItem"
1624 const cpp_inline public explicit_return_type "bool"
1626 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1627 if(_item && _item->IsTreeMultiItemRoot())
1636 comment "* Returns True when the wxTreeMultiItem is a Root (top node) item. This means the item is both valid,
1637 and points to a root element (this item is always shown as first node in the tree). A root node is
1638 always visible, but can contain other collapsed children. If the item is invalid or not a Root node,
1643 operation 170370 "IsExpanded"
1644 const cpp_inline public explicit_return_type "bool"
1646 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1647 wxCHECK(_item, false);
1648 TreeMultiItemNode *n = _item->IsTreeMultiItemNode();
1651 return n->IsExpanded();
1658 comment "* Returns TRUE if the node is expanded, else FALSE if it is collapsed. If the item is not a Root or Node
1659 item, an assertion failure is generated (in debug mode) or FALSE is returned (in release mode).
1661 \\sa wxTreeMultiCtrl::Expand, wxTreeMultiCtrl::Collapse, wxTreeMultiCtrl::CollapseAndReset
1665 operation 170498 "IsExcluded"
1666 cpp_inline public explicit_return_type "bool"
1668 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1669 wxCHECK(_item, false);
1670 return _item->IsExcluded();
1678 comment "* Returns true if this node is excluded from drawing. Please note that when this node is not visible
1679 due to a higher excluded parent node but not literally excluded itself, it will return false (not excluded).
1680 Use wxTreeMultiCtrl::GetExcludedParent() to get the node that hides this one. "
1683 operation 170626 "IsSelected"
1684 const cpp_inline public explicit_return_type "bool"
1686 param in name "" explicit_type "void"
1687 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1689 wxCHECK(this->GetItem(),false);
1691 return this->GetItem()->IsSelected();
1699 comment "* Returns true if the item is selected.
1701 Please note that currently only nodes can be selected.
1706 operation 170754 "IsVisible"
1707 cpp_inline public explicit_return_type "bool"
1709 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1710 wxCHECK(_item, false);
1711 return _item->IsVisible();
1718 comment "* Returns true if this node is visible. Please note that when this node is a child node of a collapsed
1720 node, it is not visible. Also if this node is a child node of an excluded node, it is also not visible.
1722 It does <b>NOT</b> return false when it's drawn somewhere outside of the visible area. "
1726 class 140546 "wxTreeMultiWindowInfo"
1728 cpp_decl "${comment}${template}class ${name}${inherit} {
1734 python_2_2 python_decl ""
1736 explicit_switch_type ""
1738 comment "* \\class wxTreeMultiWindowInfo
1742 \\brief This class contains information for every Window node to be added.
1745 This class can be used to modify the behaviour of the Window node to be added, and can be reused to pass along
1746 upon every wxTreeMultiCtrl::AppendWindow call. For example:
1750 wxTreeMultiWindowInfo wndinfo;
1752 MyTreeMultiCtrl->AppendWindow(item, new wxStaticText(MyTreeMultiCtrl,
1753 -1, \"Press this button\"), \"\", wndinfo));
1755 // now adjust the spacing of our next window to add, by indenting
1756 // 4 times the indent size
1759 MyTreeMultiCtrl->AppendWindow(item, new wxButton(MyTreeMultiCtrl,
1760 -1, \"Apply\"), \"\", wndinfo);
1764 The class is created to prevent long parameter lists in the functions. Other ways to manipulate a newly added
1767 \\li Change top spacing of the Window node to be added
1768 \\li Change front spacing (indent) of the Window node
1769 \\li Set extra flags for this Window node
1771 -------------------------------------------------------------------------------------------------------------------"
1772 attribute 141698 "_flags"
1773 private explicit_type "int"
1774 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1782 attribute 141826 "_topSpacing"
1783 private explicit_type "int"
1784 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1792 attribute 141954 "_checkState"
1793 private explicit_type "bool"
1794 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1802 operation 170882 "wxTreeMultiWindowInfo"
1803 cpp_inline public explicit_return_type ""
1805 param in name "flags" explicit_type "int"
1806 param in name "frontSpacing" explicit_type "int"
1807 param in name "topSpacing" explicit_type "int"
1808 param in name "checkState" explicit_type "bool"
1809 defaultvalue "false"
1810 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${v0}, ${t1} ${p1}${v1}, ${t2} ${p2}${v2}, ${t3} ${p3}${v3}${)}${volatile}${throw} : _flags(flags)
1812 , _frontSpacing(frontSpacing)
1814 , _frontSpacingOrg(frontSpacing)
1816 , _topSpacing(topSpacing)
1818 , _checkState(checkState)
1822 wxTreeMultiWindowInfo(int flags, int frontSpacing, int topSpacing)
1826 , _frontSpacing(frontSpacing)
1828 , _frontSpacingOrg(frontSpacing)
1830 , _topSpacing(topSpacing)
1846 operation 171010 "Indent"
1847 cpp_inline public explicit_return_type "int"
1849 param in name "num" explicit_type "int"
1851 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1853 _frontSpacing += (_frontSpacingOrg * num);
1854 return _frontSpacing;
1861 comment "* Adds indent to original front spacing and increments it with that value (quick extra indent).
1862 The original value of FrontSpacing (see SetFrontSpacing() gets indented by multiplying
1863 the 'num' factor (default = 1) times the indent value. So if the FrontSpacing was set to 10,
1864 and Indent(2) is called, the new indent will be 30. (10 + 2 * 10). The original FrontSpacing
1865 value is remembered, so calling Outdent(2) will bring it back to 10 (30 - (2*10). Calling
1866 SetFrontSpacing with a new value, deletes the old indent.
1868 \\sa Outdent, SetFrontSpacing
1872 operation 171138 "Outdent"
1873 cpp_inline public explicit_return_type "int"
1875 param in name "num" explicit_type "int"
1877 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1878 _frontSpacing -= (_frontSpacingOrg * num);
1879 if(_frontSpacing < 0)
1881 return _frontSpacing;
1888 comment "* Reduces indent a number of times, by subtracting 'num' times the original FrontSpacing value from
1889 the current FrontSpacing value (quick extra indent). Thus if the original FrontSpacing was set to
1890 10, and the current indent value is 40, Outdent(2) will do 40 - (2 * 10) = 20
1892 \\sa Indent, SetFrontSpacing
1896 operation 171266 "SetFrontSpacing"
1897 cpp_inline public explicit_return_type "void"
1899 param in name "frontSpacing" explicit_type "int"
1900 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1901 _frontSpacing = frontSpacing;
1902 _frontSpacingOrg = frontSpacing;
1909 comment "* Sets FrontSpacing value. This also resets the current indent level. "
1912 operation 171394 "GetFrontSpacing"
1913 const cpp_inline public explicit_return_type "int"
1915 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1916 return _frontSpacing;
1923 comment "* Gets front spacing. This will return the current indent level set. If Indent or Outdent is used,
1924 this level represents the current Indent level."
1927 operation 171522 "SetTopSpacing"
1928 cpp_inline public explicit_return_type "void"
1930 param in name "topSpacing" explicit_type "int"
1931 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1932 _topSpacing = topSpacing;
1941 comment "* Sets top spacing. This means the number of pixels spacing between the last node and the next one to
1946 operation 171650 "GetTopSpacing"
1947 const cpp_inline public explicit_return_type "int"
1949 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1957 comment " Gets top spacing currently set. "
1960 operation 171778 "SetFlags"
1961 cpp_inline public explicit_return_type "int"
1963 param in name "flags" explicit_type "int"
1964 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
1974 comment "* Sets the current flags set, and returns previous flags state.
1975 \\sa @link wndflags wxTreeMultiWindowInfo flags@endlink
1979 operation 171906 "GetFlags"
1980 const cpp_inline public explicit_return_type "int"
1982 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
1990 comment "* Gets the current flags set.
1991 \\sa @link wndflags wxTreeMultiWindowInfo flags@endlink
1995 operation 172034 "AddFlag"
1996 cpp_inline public explicit_return_type "int"
1998 param in name "flag_mask" explicit_type "int"
1999 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
2001 _flags |= flag_mask;
2009 comment "* Or's the given flag with the current flagset, and adds it. The
2010 old flag set is returned before the OR is applied.
2011 \\sa @link wndflags wxTreeMultiWindowInfo flags@endlink
2015 operation 172162 "RemoveFlag"
2016 cpp_inline public explicit_return_type "int"
2018 param in name "flag_mask" explicit_type "int"
2019 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
2021 _flags &= ~(flag_mask);
2029 comment "* And's the given flag in a negated manner and removes this flag set from
2030 the current flags. The old flag set is returned.
2031 \\sa @link wndflags wxTreeMultiWindowInfo flags@endlink
2035 operation 172290 "SetDefaultCheckState"
2036 cpp_inline public explicit_return_type "void"
2038 param in name "checkState" explicit_type "bool"
2040 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
2041 _checkState = checkState;
2048 comment "* Sets the default checkstate if checkboxes if SetCheckboxView is chosen. For all the
2049 items to be added (even captions) this checkstate is chosen. The default checkstate
2050 is false. <b>This needs USE_CHECKBOXVIEW set to YES, or CHECKBOXVIEW=1 during compile</b> "
2053 operation 172418 "GetDefaultCheckState"
2054 const cpp_inline public explicit_return_type "bool"
2056 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
2064 comment "* Gets the default checkstate of the item. <b>This needs USE_CHECKBOXVIEW set to YES, or CHECKBOXVIEW=1 during compile</b>
2065 \\sa SetDefaultCheckState "
2069 class 140674 "wxTreeMultiCtrl"
2071 cpp_decl "${comment}${template}class ${name}${inherit} {
2077 python_2_2 python_decl ""
2079 explicit_switch_type ""
2081 comment "* \\class wxTreeMultiCtrl
2083 \\brief This is the visual control, which will contain all the logic for the tree mechanism.
2085 The wxTreeMultiCtrl is the container class which can be filled in to get the tree shaped structure in
2086 which the controls are displayed. The user can add / delete new nodes at runtime, expand or collapse
2087 nodes, perform get or set actions on the controls inside, and iterate over the items.
2089 A typical usage of the wxTreeCtrl is;
2092 wxTreeMultiCtrl *tmc = new wxTreeMultiCtrl(this, -1);
2095 wxTreeMultiItem item = tmc->AddRoot(\"This is the first root\");
2097 // create a wxTreeMultiWindowInfo object for indenting etc
2098 wxTreeMultiWindowInfo wndinfo;
2100 // add subitem to root
2101 tmc->AppendWindow(item, new wxButton(tmc, -1, \"Press this\"), \"\", wndinfo);
2107 tmc->AddWindow(item, new wxCheckBox(tmc, ID_MYCHECK, \"Check this!\"), \"\", wndinfo);
2109 // now check the value of the checkbox
2110 tmc->SetBooleanValue(ID_MYCHECK, true);
2114 <b>IMPORTANT:</b> Every control added to the wxTreeMultiCtrl has to be child of the wxTreeMultiCtrl.
2117 classrelation 135938 // <generalisation>
2118 relation 135938 ---|>
2120 cpp default "${type}"
2121 classrelation_ref 135938 // <generalisation>
2122 b parent class_ref 140802 // typedef23
2125 attribute 142082 "_style"
2126 private explicit_type "long"
2127 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2135 attribute 142210 "_captionHeight"
2136 private explicit_type "int"
2137 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2145 attribute 142338 "_gutterWidth"
2146 private explicit_type "int"
2147 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2155 attribute 142466 "_iconWidth"
2156 private explicit_type "int"
2157 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2165 attribute 142594 "_iconHeight"
2166 private explicit_type "int"
2167 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2175 attribute 142722 "_maxHeight"
2176 private explicit_type "int"
2177 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2185 attribute 142850 "_spacingY"
2186 private explicit_type "int"
2187 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2195 attribute 142978 "_create_called"
2196 private explicit_type "bool"
2197 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2205 attribute 143106 "_checkboxView"
2206 private explicit_type "bool"
2207 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2215 attribute 143234 "m_HilightBrush"
2216 private explicit_type "wxBrush"
2217 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
2225 attribute 143362 "_captionFont"
2226 private explicit_type "wxFont"
2227 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2235 attribute 143490 "m_SelectedItems"
2236 private explicit_type "wxArrayTreeMultiItem"
2237 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2245 operation 172546 "DoFold"
2246 preserve_cpp_body_indent private explicit_return_type "void"
2248 param inout name "item" type class_ref 139778 // TreeMultiItemBase
2249 param in name "expand" explicit_type "bool"
2250 param in name "recursive" explicit_type "bool"
2251 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}, ${t2} ${p2}${v2}${)}${const}${volatile}${throw}${abstract};
2253 cpp_def "// wxTreeMultiCtrl::Unselect(wxTreeMultiItem const&)
2255 ${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${const}${throw}${staticnl}{
2262 comment "* Does the actual collapsing / expanding. So that Expand and Collapse aren't using the same code twice "
2265 operation 172674 "RedrawFromNode"
2266 preserve_cpp_body_indent private explicit_return_type "void"
2268 param inout name "n" type class_ref 139906 // TreeMultiItemNode
2269 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
2271 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}${)}${const}${volatile}${throw}${staticnl}{
2278 comment "* Redraws and recalculates the nodes from the current node. It will also clear all 'dirty' flags when
2279 they are recalculated "
2282 operation 172802 "RedrawFromParentNode"
2283 preserve_cpp_body_indent private explicit_return_type "void"
2285 param inout name "n" type class_ref 139778 // TreeMultiItemBase
2286 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
2288 cpp_def "// wxTreeMultiCtrl::InsertWindow(TreeMultiItemNode*, size_t, wxWindow*, wxString const&, wxTreeMultiWindowInfo const&, int)
2290 ${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}${)}${const}${volatile}${throw}${staticnl}{
2297 comment "* Redraws from parent node of this node "
2300 operation 172930 "DrawCheckbox"
2301 preserve_cpp_body_indent private explicit_return_type "void"
2303 param inout name "b" type class_ref 139778 // TreeMultiItemBase
2304 param inout name "dc" explicit_type "wxDC"
2305 param in name "convertScrolled" explicit_type "bool"
2306 defaultvalue "false"
2307 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} & ${p1}${v1}, ${t2} ${p2}${v2}${)}${const}${volatile}${throw}${abstract};
2309 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} & ${p1}, ${t2} ${p2}${)}${const}${throw}${staticnl}{
2316 comment "* Draws checkbox belonging to this node, in the given state "
2319 operation 173058 "RecalculateNodePositions"
2320 preserve_cpp_body_indent private explicit_return_type "void"
2322 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2324 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2331 comment "* Recalculate the space needed based on every node. It goes as follows.
2332 - A foldable node (TreeMultiItemNode) is as high as the 'Jg' y-size. This type only has a caption plus a
2333 picture which explains the state ([+] or [-]), the width will be the caption length
2334 - A window node will be as high as the y size of the window. The X size is the total length of the
2336 - For every child node an indent will be added to the x size.
2338 Only visible nodes will be recalculated. Non visible (collapsed) children will be skipped "
2341 operation 173186 "CalculateNodeDimensions"
2342 preserve_cpp_body_indent private explicit_return_type "int"
2344 param inout name "b" type class_ref 139778 // TreeMultiItemBase
2345 param in name "currentY" explicit_type "int"
2346 param in name "level" explicit_type "int"
2347 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}, ${t2} ${p2}${v2}${)}${const}${volatile}${throw}${abstract};
2349 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${const}${throw}${staticnl}{
2356 comment "* Recurses into the whole tree and provides every node with the proper x and y values. All non visible items
2357 are skipped (so when it encounters a collapsed node, it's children are not calculated). Returns the last Y "
2360 operation 173314 "DrawNode"
2361 preserve_cpp_body_indent private explicit_return_type "void"
2363 param inout name "b" type class_ref 139778 // TreeMultiItemBase
2364 param inout name "dc" explicit_type "wxDC"
2365 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} & ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
2367 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} & ${p1}${)}${const}${volatile}${throw}${staticnl}{
2376 operation 173442 "SetWindowBackgroundColour"
2377 preserve_cpp_body_indent private explicit_return_type "void"
2379 param inout name "wnd" type class_ref 136322 // wxWindow
2380 param in name "col" explicit_type "wxColour"
2381 param in name "flags" explicit_type "int"
2382 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, const ${t1} & ${p1}${v1}, ${t2} ${p2}${v2}${)}${const}${volatile}${throw}${abstract};
2384 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${throw}${staticnl}{
2391 comment "* Sets background colour of all the windows and subwindows in this wxWindow. This is very handy
2392 for wxPanel derived classes which need to be made equal to the background colour of the wxTreeMultiCtrl "
2395 operation 173570 "ShowTreeMultiWindow"
2396 preserve_cpp_body_indent private explicit_return_type "void"
2398 param inout name "window" type class_ref 140162 // TreeMultiItemWindow
2399 param in name "show" explicit_type "bool"
2401 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
2403 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
2410 comment "* Shows or hides the assigned window (if there is any) "
2413 operation 173698 "UpdateAllWindowVisibility"
2414 preserve_cpp_body_indent private explicit_return_type "void"
2416 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2418 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2425 comment "* Goes down the tree, and if a window is not visible (thus all it's children aren't too) it will hide
2426 the window so it is not shown on the control "
2429 operation 173826 "UpdateTreeMultiWindowVisibility"
2430 preserve_cpp_body_indent private explicit_return_type "void"
2432 param inout name "b" type class_ref 139778 // TreeMultiItemBase
2433 param in name "show" explicit_type "bool"
2434 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
2436 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
2443 comment "* Hides tree multi window. It this is a TreeMultiItemNode, hide all subwindows as well. "
2446 operation 173954 "RecalculateVirtualSize"
2447 preserve_cpp_body_indent private explicit_return_type "void"
2449 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2451 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2458 comment "* Recalculates totally needed virtual size of the wxTreeMultiCtrl. It will scan for
2459 the largest window, with the biggest size, and report that back "
2462 extra_member 128258 "using"
2464 cpp " using wxScrolledWindow::AdjustScrollbars;" ""
2471 operation 174082 "AdjustScrollbars"
2472 preserve_cpp_body_indent cpp_virtual private explicit_return_type "void"
2474 param in name "x" explicit_type "int"
2475 param in name "y" explicit_type "int"
2476 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
2478 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
2487 operation 174210 "RecalculateVirtualSizeFromNode"
2488 preserve_cpp_body_indent private explicit_return_type "void"
2490 param in name "node" type class_ref 139906 // TreeMultiItemNode
2491 param inout name "x" explicit_type "int"
2492 param inout name "y" explicit_type "int"
2493 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} * ${p0}${v0}, ${t1} & ${p1}${v1}, ${t2} & ${p2}${v2}${)}${const}${volatile}${throw}${abstract};
2495 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} * ${p0}, ${t1} & ${p1}, ${t2} & ${p2}${)}${const}${throw}${staticnl}{
2502 comment "* Recalculates and accumulates largest x and y "
2505 operation 174338 "FindNodeByPoint"
2506 preserve_cpp_body_indent private return_type class_ref 139778 // TreeMultiItemBase
2508 param inout name "b" type class_ref 139778 // TreeMultiItemBase
2509 param in name "pt" explicit_type "wxPoint"
2510 param inout name "area" explicit_type "int"
2511 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${t0} * ${p0}${v0}, const ${t1} & ${p1}${v1}, ${t2} & ${p2}${v2}${)}${const}${volatile}${throw}${abstract};
2513 cpp_def "${comment}${inline}${type} * ${class}::${name}${(}${t0} * ${p0}, const ${t1} & ${p1}, ${t2} & ${p2}${)}${const}${throw}${staticnl}{
2520 comment "* Scans for TreeMultiItemBase node that contains x,y and in area returns a hittest constant to
2522 indicate what matched "
2525 operation 174466 "FindWindowNode"
2526 preserve_cpp_body_indent private return_type class_ref 140418 // wxTreeMultiItem
2528 param inout name "wnd" type class_ref 136322 // wxWindow
2529 param inout name "n" type class_ref 139906 // TreeMultiItemNode
2531 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} * ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
2533 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} * ${p1}${)}${const}${volatile}${throw}${staticnl}{
2540 comment "* Scans for TreeMultiItemWindow that holds the wxWindow pointer. Does not scan in panels or does
2542 a deep search. Reason, this function is used to advance to next TreeMultiItemWindow for focus
2544 on this wxScrolledWindow. If a sub window is found, it will skip other windows on that same level "
2547 operation 174594 "FindNextVisibleWindowItem"
2548 preserve_cpp_body_indent private return_type class_ref 140162 // TreeMultiItemWindow
2550 param inout name "b" type class_ref 139778 // TreeMultiItemBase
2551 param in name "index" explicit_type "int"
2553 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
2555 cpp_def "${comment}${inline}${type} * ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
2562 comment "* Finds next visible window item in chain. If not found use FindFirstVisibleItem to start from the
2566 operation 174722 "AdjustIconsDeltaY"
2567 preserve_cpp_body_indent private explicit_return_type "void"
2569 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2571 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2578 comment "* Adjust the centering of the bitmap icons (collapse / expand) when the caption font changes. They need to
2580 be centered in the middle of the font, so a bit of deltaY adjustment is needed "
2583 operation 174850 "CalculateNodeSpanning"
2584 preserve_cpp_body_indent private explicit_return_type "void"
2586 param inout name "b" type class_ref 139778 // TreeMultiItemBase
2587 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
2589 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}${)}${const}${volatile}${throw}${staticnl}{
2596 comment "* Calculate the spanning of the individual nodes "
2599 operation 174978 "SetRecursiveCheckState"
2600 preserve_cpp_body_indent private explicit_return_type "void"
2602 param inout name "n" type class_ref 139906 // TreeMultiItemNode
2603 param in name "check" explicit_type "bool"
2604 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
2606 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
2613 comment "* Recurse to all the children and set the checkbox state (even when there is no checkbox) "
2616 operation 175106 "ScanTristateCheckstates"
2617 preserve_cpp_body_indent private explicit_return_type "void"
2619 param inout name "b" type class_ref 139778 // TreeMultiItemBase
2620 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
2622 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}${)}${const}${volatile}${throw}${staticnl}{
2629 comment "* From current checked node, all children will be scanned and the parent node of this node
2630 will get tristate if the checked items are scattered (some are some aren't). If all nodes in this
2631 node are checked, the parent node gets checked all the way up to the last one that matches
2632 criteria. If all are cleared, parent node gets cleared "
2635 operation 175234 "InsertNode"
2636 preserve_cpp_body_indent private return_type class_ref 140418 // wxTreeMultiItem
2638 param inout name "ParentPtr" type class_ref 139906 // TreeMultiItemNode
2639 param in name "Position" explicit_type "size_t"
2640 param in name "Caption" explicit_type "wxString"
2641 param in name "Name" explicit_type "wxString"
2642 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}, const ${t2} & ${p2}${v2}, const ${t3} & ${p3}${v3}${)}${const}${volatile}${throw}${abstract};
2644 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}, const ${t2} & ${p2}, const ${t3} & ${p3}${)}${const}${throw}${staticnl}{
2651 comment "* \\name Private add and delete methods
2656 * Inserts a node into the parent's node at the specified position.
2658 As this is a private method error checking is limited. Therefore, it has to be guaranteed that this method
2660 is only called with a valid parent node pointer.
2662 The position is zero based. In case the position is equal or larger than the current number of
2664 parent's elements the new node is appended.
2666 The newly inserted node is being returned.
2671 operation 175362 "InsertWindow"
2672 preserve_cpp_body_indent private return_type class_ref 140418 // wxTreeMultiItem
2674 param inout name "ParentPtr" type class_ref 139906 // TreeMultiItemNode
2675 param in name "Position" explicit_type "size_t"
2676 param inout name "WindowPtr" type class_ref 136322 // wxWindow
2677 param in name "Name" explicit_type "wxString"
2678 param in name "Info" type class_ref 140546 // wxTreeMultiWindowInfo
2679 param in name "Flags" explicit_type "int"
2680 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}, ${t2} * ${p2}${v2}, const ${t3} & ${p3}${v3}, const ${t4} & ${p4}${v4}, ${t5} ${p5}${v5}${)}${const}${volatile}${throw}${abstract};
2682 cpp_def "// wxTreeMultiCtrl::InsertNode(TreeMultiItemNode*, size_t, wxString const&, wxString const&)
2684 ${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}, ${t2} * ${p2}, const ${t3} & ${p3}, const ${t4} & ${p4}, ${t5} ${p5}${)}${const}${throw}${staticnl}{
2691 comment "* Inserts a window into the parent's node at the specified position.
2693 As this is a private method error checking is limited. Therefore, it has to be guaranteed that this method
2695 is only called with a valid parent node and window pointer.
2697 The position is zero based. In case the position is equal or larger than the current number of
2699 parent's elements the new node is appended.
2701 The newly inserted window is being returned.
2706 operation 175490 "Init"
2707 preserve_cpp_body_indent private explicit_return_type "void"
2709 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2711 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2723 operation 175618 "OnPaint"
2724 private explicit_return_type "void"
2726 param inout name "event" explicit_type "wxPaintEvent"
2727 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
2729 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
2738 virtual void OnDraw(wxDC& dc);
2742 operation 175746 "OnMouseClick"
2743 preserve_cpp_body_indent private explicit_return_type "void"
2745 param inout name "event" explicit_type "wxMouseEvent"
2746 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
2748 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
2757 operation 175874 "OnRightMouseClick"
2758 preserve_cpp_body_indent private explicit_return_type "void"
2760 param inout name "Event" explicit_type "wxMouseEvent"
2761 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
2763 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
2772 operation 176002 "OnKey"
2773 preserve_cpp_body_indent private explicit_return_type "void"
2775 param inout name "event" explicit_type "wxKeyEvent"
2776 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
2778 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
2787 operation 176130 "OnSize"
2788 private explicit_return_type "void"
2790 param inout name "event" explicit_type "wxSizeEvent"
2791 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
2793 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
2802 operation 176258 "RecalculateSpanSizes"
2803 preserve_cpp_body_indent private explicit_return_type "void"
2805 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2807 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2814 comment "* Recalculates the spanning controls "
2817 operation 176386 "wxTreeMultiCtrl"
2818 cpp_inline public explicit_return_type ""
2820 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw} : _create_called(false)
2830 comment "* Two step constructor. Call Create when this constructor is called to build up the
2835 operation 176514 "wxTreeMultiCtrl"
2836 cpp_inline public explicit_return_type ""
2838 param inout name "parent" type class_ref 136322 // wxWindow
2839 param in name "id" explicit_type "wxWindowID"
2841 param in name "pos" explicit_type "wxPoint"
2842 defaultvalue "wxDefaultPosition"
2843 param in name "size" explicit_type "wxSize"
2844 defaultvalue "wxDefaultSize"
2845 param in name "style" explicit_type "long"
2846 defaultvalue "wxTMC_DEFAULT_STYLE"
2847 param in name "validator" explicit_type "wxValidator"
2848 defaultvalue "wxDefaultValidator"
2849 param in name "name" explicit_type "wxString"
2850 defaultvalue "wxTreeMultiCtrlNameStr"
2851 cpp_decl " ${comment}${inline}${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}, const ${t2} & ${p2}${v2}, const ${t3} & ${p3}${v3}, ${t4} ${p4}${v4}, const ${t5} & ${p5}${v5}, const ${t6} & ${p6}${v6}${)}${volatile}${throw} : _style(style | wxTAB_TRAVERSAL)
2852 , _create_called(false)
2854 Create(parent, id, pos, size, style, validator, name);
2861 comment "* The default constructor. The style wxTAB_TRAVERSAL is enforced to make sure that the
2862 focus handling is being done correctly. The styles to be used are styles valid for
2863 the wxWindow and wxScrolledWindow
2867 operation 176642 "~wxTreeMultiCtrl"
2868 preserve_cpp_body_indent cpp_virtual public explicit_return_type ""
2870 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
2872 cpp_def "${comment}${inline}${class}::${name}${(}${)}${throw}{
2879 comment "* Destructor "
2882 operation 176770 "Create"
2883 public explicit_return_type "bool"
2885 param inout name "parent" type class_ref 136322 // wxWindow
2886 param in name "id" explicit_type "wxWindowID"
2888 param in name "pos" explicit_type "wxPoint"
2889 defaultvalue "wxDefaultPosition"
2890 param in name "size" explicit_type "wxSize"
2891 defaultvalue "wxDefaultSize"
2892 param in name "style" explicit_type "long"
2893 defaultvalue "wxTMC_DEFAULT_STYLE"
2894 param in name "validator" explicit_type "wxValidator"
2895 defaultvalue "wxDefaultValidator"
2896 param in name "name" explicit_type "wxString"
2897 defaultvalue "wxTreeMultiCtrlNameStr"
2898 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} * ${p0}${v0}, ${t1} ${p1}${v1}, const ${t2} & ${p2}${v2}, const ${t3} & ${p3}${v3}, ${t4} ${p4}${v4}, const ${t5} & ${p5}${v5}, const ${t6} & ${p6}${v6}${)}${const}${volatile}${throw}${abstract};
2900 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} * ${p0}, ${t1} ${p1}, const ${t2} & ${p2}, const ${t3} & ${p3}, ${t4} ${p4}, const ${t5} & ${p5}, const ${t6} & ${p6}${)}${const}${throw}${staticnl}{
2907 comment "* Two step creation. Whenever the control is created without any parameters, use Create to actually
2908 create it. Don't access the control's public methods before this is called
2910 \\sa wxTreeMultiCtrl()
2914 operation 176898 "AddRoot"
2915 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
2917 param in name "caption" explicit_type "wxString"
2918 param in name "name" explicit_type "wxString"
2919 defaultvalue "wxEmptyString"
2920 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, const ${t1} & ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
2922 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${staticnl}{
2931 * @name Add and delete methods
2932 To add and delete node items like a Root item, Window item or Node item. This allows the user to
2933 manipulate the tree, and build it up.
2936 * Adds a root node to the wxTreeMultiItem. There can be many root nodes. Use this wxTreeMultiNode pointer to add
2937 more subnodes to it. "
2940 operation 177026 "AppendWindow"
2941 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
2943 param in name "ParentItem" type class_ref 140418 // wxTreeMultiItem
2944 param inout name "window" type class_ref 136322 // wxWindow
2946 param in name "name" explicit_type "wxString"
2947 defaultvalue "wxEmptyString"
2948 param in name "info" type class_ref 140546 // wxTreeMultiWindowInfo
2949 defaultvalue "wxTreeMultiWindowInfoDefault"
2950 param in name "flags" explicit_type "int"
2952 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} * ${p1}${v1}, const ${t2} & ${p2}${v2}, const ${t3} & ${p3}${v3}, ${t4} ${p4}${v4}${)}${const}${volatile}${throw}${abstract};
2954 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} * ${p1}, const ${t2} & ${p2}, const ${t3} & ${p3}, ${t4} ${p4}${)}${const}${throw}${staticnl}{
2961 comment "* Adds a window to the tree control. Use this wxTreeMultiItem method to add a window class to the
2963 current wxTreeMultiItem. The wxTreeMultiItem must point to a Node class. If this is not the case
2965 an empty wxTreeMultiItem is returned. The mask is used to override the mask settings of the
2967 wxTreeMultiWindowInfo class. This can be handy to set or clear extra flags only needed for certain
2972 operation 177154 "InsertWindow"
2973 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
2975 param in name "ParentItem" type class_ref 140418 // wxTreeMultiItem
2976 param in name "Position" explicit_type "size_t"
2977 param inout name "window" type class_ref 136322 // wxWindow
2979 param in name "name" explicit_type "wxString"
2980 defaultvalue "wxEmptyString"
2981 param in name "info" type class_ref 140546 // wxTreeMultiWindowInfo
2982 defaultvalue "wxTreeMultiWindowInfoDefault"
2983 param in name "flags" explicit_type "int"
2985 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} ${p1}${v1}, ${t2} * ${p2}${v2}, const ${t3} & ${p3}${v3}, const ${t4} & ${p4}${v4}, ${t5} ${p5}${v5}${)}${const}${volatile}${throw}${abstract};
2987 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} ${p1}, ${t2} * ${p2}, const ${t3} & ${p3}, const ${t4} & ${p4}, ${t5} ${p5}${)}${const}${throw}${staticnl}{
2994 comment "* Adds a window to the tree control. Use this method to add a window class at the specified position
2996 of the parent's wxTreeMultiItem. In case the position is smaller than the current number of children all elements
2998 are shifted upwards, otherwise the new window is appended to the parent's wxTreeMultiItem.
3000 The parent wxTreeMultiItem must point to a Node class. If this is not the case an
3002 empty wxTreeMultiItem is returned.
3007 operation 177282 "PrependWindow"
3008 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
3010 param in name "ParentItem" type class_ref 140418 // wxTreeMultiItem
3011 param inout name "window" type class_ref 136322 // wxWindow
3013 param in name "name" explicit_type "wxString"
3014 defaultvalue "wxEmptyString"
3015 param in name "info" type class_ref 140546 // wxTreeMultiWindowInfo
3016 defaultvalue "wxTreeMultiWindowInfoDefault"
3017 param in name "flags" explicit_type "int"
3019 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} * ${p1}${v1}, const ${t2} & ${p2}${v2}, const ${t3} & ${p3}${v3}, ${t4} ${p4}${v4}${)}${const}${volatile}${throw}${abstract};
3021 cpp_def "// wxTreeMultiCtrl::InsertWindow(wxTreeMultiItem const&, size_t, wxWindow*, wxString const&, wxTreeMultiWindowInfo const&, int)
3023 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} * ${p1}, const ${t2} & ${p2}, const ${t3} & ${p3}, ${t4} ${p4}${)}${const}${throw}${staticnl}{
3030 comment "* Adds a window to the tree control. Use this method to add a window class as the first element
3032 of the parent's wxTreeMultiItem. The parent wxTreeMultiItem must point to a Node class. If this is not the case an
3034 empty wxTreeMultiItem is returned.
3039 operation 177410 "AppendNode"
3040 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
3042 param in name "ParentItem" type class_ref 140418 // wxTreeMultiItem
3043 param in name "caption" explicit_type "wxString"
3044 defaultvalue "wxEmptyString"
3045 param in name "name" explicit_type "wxString"
3046 defaultvalue "wxEmptyString"
3047 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, const ${t1} & ${p1}${v1}, const ${t2} & ${p2}${v2}${)}${const}${volatile}${throw}${abstract};
3049 cpp_def "// wxTreeMultiCtrl::PrependWindow(wxTreeMultiItem const&, wxWindow*, const wxString &, wxTreeMultiWindowInfo const&, int)
3051 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${const}${throw}${staticnl}{
3058 comment "* Adds a node to the tree control. Use this wxTreeMultiItem method to add a recursive subnode class as the last element
3060 of the parent's wxTreeMultiItem. The parent wxTreeMultiItem must point to a Node class. If this is not the case
3062 an empty wxTreeMultiItem is returned. A node can contain multiple nodes or window classes "
3065 operation 177538 "InsertNode"
3066 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
3068 param in name "ParentItem" type class_ref 140418 // wxTreeMultiItem
3069 param in name "Position" explicit_type "size_t"
3070 param in name "caption" explicit_type "wxString"
3071 param in name "name" explicit_type "wxString"
3072 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} ${p1}${v1}, const ${t2} & ${p2}${v2}, const ${t3} & ${p3}${v3}${)}${const}${volatile}${throw}${abstract};
3074 cpp_def "// wxTreeMultiCtrl::AppendNode(wxTreeMultiItem const&, const wxString &, const wxString&)
3076 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} ${p1}, const ${t2} & ${p2}, const ${t3} & ${p3}${)}${const}${throw}${staticnl}{
3083 comment "* Adds a node to the tree control. Use this method to add a recursive subnode class at the specified position
3085 of the parent's wxTreeMultiItem. In case the position is smaller than the current number of nodes all elements
3087 are shifted upwards, otherwise the new node is appended to the parent's wxTreeMultiItem.
3089 The parent wxTreeMultiItem must point to a Node class. If this is not the case an
3091 empty wxTreeMultiItem is returned. A node can contain multiple nodes or window classes.
3096 operation 177666 "PrependNode"
3097 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
3099 param in name "ParentItem" type class_ref 140418 // wxTreeMultiItem
3100 param in name "caption" explicit_type "wxString"
3101 defaultvalue "wxEmptyString"
3102 param in name "name" explicit_type "wxString"
3103 defaultvalue "wxEmptyString"
3104 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, const ${t1} & ${p1}${v1}, const ${t2} & ${p2}${v2}${)}${const}${volatile}${throw}${abstract};
3106 cpp_def "// wxTreeMultiCtrl::InsertNode(wxTreeMultiItem const&, size_t, wxString const&, wxString const&)
3108 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${const}${throw}${staticnl}{
3115 comment "* Adds a node to the tree control. Use this method to add a recursive subnode class as the first element
3117 of the parent's wxTreeMultiItem. The parent wxTreeMultiItem must point to a Node class. If this is not the case an
3119 empty wxTreeMultiItem is returned. A node can contain multiple nodes or window classes.
3124 operation 177794 "Delete"
3125 preserve_cpp_body_indent public explicit_return_type "bool"
3127 param inout name "item" type class_ref 140418 // wxTreeMultiItem
3128 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3130 cpp_def "// wxTreeMultiCtrl::PrependNode(wxTreeMultiItem const&, wxString const&, wxString const&)
3132 ${comment}${inline}${type} ${class}::${name}${(}${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
3139 comment "* Delete item from the tree control. Whenever it is present, delete it. If not, return false. After
3141 deletion the wxTreeMultiItem is 0, thus IsOk will return false "
3144 operation 177922 "DeleteAllItems"
3145 cpp_inline public explicit_return_type "void"
3147 param in name "" explicit_type "void"
3148 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
3150 this->_root.Clear();
3152 this->m_SelectedItems.Clear();
3162 comment "* Deletes all the items from the wxTreeMultiCtrl. "
3165 operation 178050 "DeleteChildren"
3166 preserve_cpp_body_indent public explicit_return_type "void"
3168 param in name "item" type class_ref 140418 // wxTreeMultiItem
3169 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3171 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
3178 comment "* Deletes all children of the current node. The wxTreeMultiItem needs to be of type Node to
3179 do this. Call GetParentNode to get the parent wxTreeMultiItem which is always a node. "
3182 operation 178178 "ExpandNodes"
3183 preserve_cpp_body_indent public explicit_return_type "void"
3185 param in name "recursive" explicit_type "bool"
3186 defaultvalue "false"
3187 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3189 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
3198 * @name Expand and collapse methods
3199 These methods are all for items of type Node.
3202 * Expand all nodes and subnodes. Recursive = true means all subnodes are also expanded. "
3205 operation 178306 "CollapseNodes"
3206 preserve_cpp_body_indent public explicit_return_type "void"
3208 param in name "recursive" explicit_type "bool"
3209 defaultvalue "false"
3210 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3212 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
3219 comment "* Collapses all nodes and subnodes. Recursive = true means all subnodes are also expanded. "
3222 operation 178434 "Expand"
3223 preserve_cpp_body_indent public explicit_return_type "void"
3225 param in name "item" type class_ref 140418 // wxTreeMultiItem
3226 param in name "recursive" explicit_type "bool"
3227 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
3229 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
3236 comment "* Expands given node, and with recursive, also the subnodes "
3239 operation 178562 "Collapse"
3240 preserve_cpp_body_indent public explicit_return_type "void"
3242 param in name "item" type class_ref 140418 // wxTreeMultiItem
3243 param in name "recursive" explicit_type "bool"
3244 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
3246 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
3253 comment "* Collapses given node, and with recursive, also the subnodes. If this item is not a node, but a window.
3254 the parent is resolved and that node is collapsed "
3257 operation 178690 "CollapseAndReset"
3258 preserve_cpp_body_indent public explicit_return_type "void"
3260 param in name "item" type class_ref 140418 // wxTreeMultiItem
3261 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3263 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
3270 comment "* Collapses this node and removes all children from it. This is only applicable on
3271 wxTreeMultiItems which are of type Node / Root. "
3274 operation 178818 "Fold"
3275 cpp_inline public explicit_return_type "void"
3277 param in name "item" type class_ref 140418 // wxTreeMultiItem
3278 param in name "expand" explicit_type "bool"
3280 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract} {
3282 Expand(item, false);
3284 Collapse(item, false);
3291 comment "* Folds the given node. The same as Expand and Collapse, but the state can be
3292 given through a parameter "
3295 operation 178946 "GetSelectedItemCount"
3296 const cpp_inline public explicit_return_type "size_t"
3298 param in name "" explicit_type "void"
3299 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {return this->m_SelectedItems.GetCount();};
3308 * @name Selection manipulation
3310 These methods allow you to select, unselect or test wxTreeMultiItems on selection.
3312 Currently only items of type Node can be manipulated.
3317 * Returns the number of selected items. "
3320 operation 179074 "GetFirstSelectedItem"
3321 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
3323 param in name "" explicit_type "void"
3324 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3326 cpp_def "// Selection manipulation
3329 ${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
3336 comment "* Returns the first selected item.
3338 If there is no selected item an invalid tree multi item is returned.
3343 operation 179202 "GetLastSelectedItem"
3344 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
3346 param in name "" explicit_type "void"
3347 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3349 cpp_def "// wxTreeMultiCtrl::GetFirstSelectedItem(void) const
3351 ${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
3358 comment "* Returns the last selected item.
3360 If there is no selected item an invalid tree multi item is returned.
3365 operation 179330 "GetSelectedItem"
3366 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
3368 param in name "Index" explicit_type "size_t"
3369 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3371 cpp_def "// wxTreeMultiCtrl::GetLastSelectedItem(void) const
3373 ${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
3380 comment "* Returns a selected item with the specified index.
3382 If there is no selected item with the passed index an invalide tree multi item is returned.
3387 operation 179458 "GetSelectedItemIndex"
3388 preserve_cpp_body_indent const public explicit_return_type "size_t"
3390 param in name "Item" type class_ref 140418 // wxTreeMultiItem
3391 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3393 cpp_def "// wxTreeMultiCtrl::GetSelectedItem(size_t Index) const
3395 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
3402 comment "* Returns the index of the selected item.
3404 In case the item is not selected \"GetSelectedItemCount()\" - which is an invalid index - is returned.
3409 operation 179586 "SelectItem"
3410 preserve_cpp_body_indent public explicit_return_type "void"
3412 param in name "Item" type class_ref 140418 // wxTreeMultiItem
3413 param in name "UnselectOthers" explicit_type "bool"
3415 param in name "ExpandSelection" explicit_type "bool"
3416 defaultvalue "false"
3417 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} ${p1}${v1}, ${t2} ${p2}${v2}${)}${const}${volatile}${throw}${abstract};
3419 cpp_def "// wxTreeMultiCtrl::GetSelectedItemIndex(wxTreeMultiItem const&) const
3421 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${const}${throw}${staticnl}{
3428 comment "* Selects the specified item AND in case
3430 - UnselectOthers is set all other selected items are going to be unselected;
3432 - ExpandSelection is set all items between the last selected item and the passed item
3434 are selected, too (in case there this is the first selection all items between the first root
3436 and the passed item are selected).
3438 If the passed item is already selected the other parameters are ignored.
3440 Please not that currently only nodes can be selected, therefore, if any other item is passed nothing will happen.
3445 operation 179714 "UnselectAll"
3446 preserve_cpp_body_indent public explicit_return_type "void"
3448 param in name "" explicit_type "void"
3449 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3451 cpp_def "// wxTreeMultiCtrl::SelectItem(wxTreeMultiItem const&, bool, bool)
3453 ${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
3460 comment "* Unselect all selected items. "
3463 operation 179842 "Unselect"
3464 preserve_cpp_body_indent public explicit_return_type "void"
3466 param in name "Item" type class_ref 140418 // wxTreeMultiItem
3467 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3469 cpp_def "// wxTreeMultiCtrl::UnselectAll(void)
3471 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
3478 comment "* Unselect specified item "
3481 operation 179970 "Exclude"
3482 preserve_cpp_body_indent public explicit_return_type "void"
3484 param in name "item" type class_ref 140418 // wxTreeMultiItem
3485 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3487 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
3497 * \\name Visibility manipulation
3499 These methods allow you to manipulate a certain wxTreeMultiItem to temporarily exclude or to include
3501 the node from drawing. Whenever it is excluded, all operations can still be performed, however
3503 the node may not be visible.
3506 * Excludes this node from drawing. When excluded, the node will dissapear from the control but is still
3507 physically present in the tree itself. If this node is a composite node with children, they will all be
3508 hidden from the control. "
3511 operation 180098 "Include"
3512 preserve_cpp_body_indent public explicit_return_type "void"
3514 param in name "item" type class_ref 140418 // wxTreeMultiItem
3515 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3517 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
3524 comment "* Includes an excluded node. If the node was already present on the drawing, nothing happens. If the
3525 node is included after exclusion it will become visible. If the parent node is still excluded or
3526 collapsed (not visible) this will not show, until the parent node shows "
3529 operation 180226 "GetExcludedParent"
3530 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
3532 param in name "item" type class_ref 140418 // wxTreeMultiItem
3533 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3535 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
3542 comment "* Returns the parent that is responsible for excluding this node. If there is no excluded node as parent,
3543 the wxTreeMultiItem is zero. "
3546 operation 180354 "HitTest"
3547 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
3549 param in name "pt" explicit_type "wxPoint"
3550 param inout name "flags" explicit_type "int"
3551 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} & ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
3553 cpp_def "// wxTreeMultiCtrl::OnRightMouseClick(wxMouseEvent&)
3555 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} & ${p1}${)}${const}${volatile}${throw}${staticnl}{
3564 * Checks if the point is under one of the given areas. The returned areas can be
3565 \\li wxTMC_HITTEST_GUTTER If the front part of the item is clicked (where the node is)
3566 \\li wxTMC_HITTEST_WINDOW If located in the window area
3567 \\li wxTMC_HITTEST_CAPTION If located on the caption of the MultiTreeItemNode
3570 Returned is the item which is located under the mouse, or none (IsOk = false) if
3572 no item under the mouse "
3575 operation 180482 "FindItem"
3576 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
3578 param in name "item" type class_ref 140418 // wxTreeMultiItem
3579 param in name "name" explicit_type "wxString"
3580 param in name "ignoreCase" explicit_type "bool"
3581 defaultvalue "false"
3582 param in name "skipFirst" explicit_type "bool"
3583 defaultvalue "false"
3584 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, const ${t1} & ${p1}${v1}, ${t2} ${p2}${v2}, ${t3} ${p3}${v3}${)}${const}${volatile}${throw}${abstract};
3586 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}, ${t2} ${p2}, ${t3} ${p3}${)}${const}${throw}${staticnl}{
3593 comment "* @name Find methods
3595 These methods are used for finding a node in the wxTreeMultiCtrl.
3599 * Searches for the given name from the given level and lower. It will return a wxTreeMultiItem which needs
3600 to be checked with IsOk() to see if it is a correct item. IsRootItem, IsNodeItem and IsWindowItem can be
3601 used to determine the type of item. If the search returned an item which doesn't satisfy the query, you can
3602 restart the search from here, with skip = true to skip the passed item. "
3605 operation 180610 "FindItem"
3606 cpp_inline public return_type class_ref 140418 // wxTreeMultiItem
3608 param in name "name" explicit_type "wxString"
3609 param in name "ignoreCase" explicit_type "bool"
3610 defaultvalue "false"
3611 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract} {
3612 return FindItem(wxTreeMultiItem(&_root), name, ignoreCase, false);
3619 comment "* Searches all nodes for the given name and returns the one found. This is a specialised method for FindItem "
3622 operation 180738 "GetChildrenCount"
3623 cpp_inline public explicit_return_type "int"
3625 param in name "item" type class_ref 140418 // wxTreeMultiItem
3626 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
3627 if(item.IsNodeItem())
3629 TreeMultiItemNode *n = (TreeMultiItemNode *)item.GetItem();
3630 return n->GetNodeCount();
3642 * Returns the number of children in this node. If this node is not of type Node, count returns -1. "
3645 operation 180866 "GetFocus"
3646 preserve_cpp_body_indent public return_type class_ref 140418 // wxTreeMultiItem
3648 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3650 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3657 comment "* This method finds the current focused window, and returns the wxTreeMultiItem that has this window as pointer.
3658 If the wxTreeMultiItem is not ok, the focused window is on a sub-panel, or not on this control. If the focus is
3659 on a sub-panel, this panel will handle the focusing. If you are still interested in this window, try
3660 wxWindow::FindFocus which will always return with a pointer if a wxWindow has focus "
3663 operation 180994 "GetBooleanValue"
3664 preserve_cpp_body_indent public explicit_return_type "bool"
3666 param in name "wndId" explicit_type "int"
3667 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3669 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
3676 comment "* @name Smart window Get/Set methods
3677 These methods are used for quickly getting or setting primitive values, like boolean, string, or selections into
3678 primitive wxWindow controls like a wxRadioButton, wxCheckBox, wxTextCtrl, etc.
3679 The methods allow you to quickly set e.g. a boolean value by using the wxWindow ID of the control. A type
3680 check is performed before the value is actually set with the appropiate method for it. If it fails, an assertion
3681 will follow in debug mode. If you want to get values back similar get methods are present to return values.
3682 This allows the user to quickly retrieve or set values by ID, without the fuss of remembering the pointer or
3683 node ID of the wxTreeMultiCtrl.
3686 * This function calls FindWindow on the wxTreeMultiCtrl to find the window with the given ID (which is added with
3687 AppendWindow). When it is found, it is type casted towards a <b>wxCheckBox</b> and <b>wxRadioButton</b>. Whenever
3688 it finds a proper type it will return true or false. Whenever no proper type is found, it will return with false.
3689 In debug mode it will cause an assertion failure as well, to notify the developer something is wrong.
3691 \\sa SetBooleanValue
3695 operation 181122 "GetTextValue"
3696 preserve_cpp_body_indent public explicit_return_type "wxString"
3698 param in name "wndId" explicit_type "int"
3699 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3701 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
3708 comment "* This function calls FindWindow on the wxTreeMultiCtrl to find the window with the given ID (which is added with
3709 AppendWindow). When it is found, it is type casted towards a <b>wxTextCtrl</b>, <b>wxChoice</b> and <b>wxComboBox</b>.
3710 Whenever it finds a proper type it will return the (selected) text in the control. Whenever no proper type is found,
3711 it will return with an empty string. In debug mode it will cause an exception error as well if the cast fails, to notify
3712 the developer something is wrong.
3718 operation 181250 "SetBooleanValue"
3719 preserve_cpp_body_indent public explicit_return_type "void"
3721 param in name "wndId" explicit_type "int"
3722 param in name "value" explicit_type "bool"
3724 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
3726 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
3733 comment "* This function calls FindWindow on the wxTreeMultiCtrl to find the window with the given ID (which is added with
3734 AppendWindow). When it is found, it is type casted towards a <b>wxCheckBox</b> and <b>wxRadioButton</b>. Whenever
3735 it finds a proper type it set the control's value to the given boolean parameter. Nothing happens when no proper type
3736 is found, however debug mode it will cause an assertion failure.
3738 \\sa GetBooleanValue
3742 operation 181378 "SetTextValue"
3743 preserve_cpp_body_indent public explicit_return_type "void"
3745 param in name "wndId" explicit_type "int"
3746 param in name "value" explicit_type "wxString"
3747 defaultvalue "wxEmptyString"
3748 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}, const ${t1} & ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
3750 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${staticnl}{
3757 comment "* This function calls FindWindow on the wxTreeMultiCtrl to find the window with the given ID (which is added with
3758 AppendWindow). When it is found, it is type casted towards a <b>wxTextCtrl</b>. If the control is not found or
3759 of the wrong type, an asserion failure (in debug mode) follows. <br><i><b>NOTE: </b></i> this method
3760 does not typecast to wxChoice or wxComboBox and the likes. If a selection in one of those needs to be set, use the
3761 SetSelectionValue / GetSelectionValue combination.
3762 \\sa GetTextValue, GetSelectionValue, SetSelectionValue
3766 operation 181506 "GetWindow"
3767 cpp_inline public return_type class_ref 136322 // wxWindow
3769 param in name "item" type class_ref 140418 // wxTreeMultiItem
3770 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
3771 if(item.IsWindowItem())
3772 return ((TreeMultiItemWindow *)item.GetItem())->GetWindow();
3780 comment "* Retrieves the wxWindow * associated with the wxTreeMultiItem. This only works for Window typed wxTreeMultiItem
3781 classes. If this type does not match or no window is associated, 0 is returned. "
3784 operation 181634 "SetSelectionValue"
3785 preserve_cpp_body_indent public explicit_return_type "void"
3787 param in name "wndId" explicit_type "int"
3788 param in name "sel" explicit_type "int"
3789 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
3791 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${staticnl}{
3798 comment "* This function calls FindWindow on the wxTreeMultiCtrl to find the window with the given ID (which is added with
3799 AppendWindow). When it is found, it is type casted towards a <b>wxListBox, wxChoice, wxComboBox</b>.
3800 If the control is not found or of the wrong type, an asserion failure (in debug mode) follows. If it is found
3801 the selection is set in the control.
3805 operation 181762 "GetSelectionValue"
3806 preserve_cpp_body_indent public explicit_return_type "int"
3808 param in name "wndId" explicit_type "int"
3809 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
3811 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${staticnl}{
3818 comment "* This function calls FindWindow on the wxTreeMultiCtrl to find the window with the given ID (which is added with
3819 AppendWindow). When it is found, it is type casted towards a <b>wxListBox, wxChoice, wxComboBox</b>.
3820 If the control is not found or of the wrong type, an asserion failure (in debug mode) follows. In release mode -1 is
3821 returned. If it is found the selection index is returned.
3825 operation 181890 "GetSelectionValues"
3826 preserve_cpp_body_indent public explicit_return_type "void"
3828 param in name "wndId" explicit_type "int"
3829 param inout name "sels" explicit_type "wxArrayInt"
3830 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}, ${t1} & ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
3832 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${t0} ${p0}, ${t1} & ${p1}${)}${const}${volatile}${throw}${staticnl}{
3839 comment "* This function calls FindWindow on the wxTreeMultiCtrl to find the window with the given ID (which is added with
3840 AppendWindow). When it is found, it is type casted towards a <b>wxListBox</b>. If the control is not found or
3841 of the wrong type, an asserion failure (in debug mode) follows. In release mode an empty wxArrayInt is returned.
3842 If it is found the selections are stored in the wxArrayInt. This is only valid for wxListBox classes with multiple
3847 operation 182018 "GetCheckboxState"
3848 public explicit_return_type "int"
3850 param in name "item" type class_ref 140418 // wxTreeMultiItem
3851 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3853 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3860 comment "* Gets the checkbox state of the wxTreeMultiItem pointed out by \"item\". If the item does not have a checkbox
3861 associated (or the item is not ok), it will return -1. If the checkbox is checked it will return 1,
3863 unchecked is 0, and tri-state (usually only for caption nodes) it will return 2. <b>This needs USE_CHECKBOXVIEW
3865 set to YES, or CHECKBOXVIEW=1 during compile</b>"
3868 operation 182146 "SetCheckboxState"
3869 cpp_inline public explicit_return_type "void"
3871 param in name "item" type class_ref 140418 // wxTreeMultiItem
3872 param in name "state" explicit_type "int"
3873 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} ${p1}${v1}${)}${const}${volatile}${throw}${abstract} {
3874 wxCHECK2( item.IsOk(), return );
3875 TreeMultiItemBase *b = item.GetItem();
3876 if( b->GetCheckbox() )
3877 b->SetCheckboxState( state );
3878 RedrawFromNode( item.GetItem()->GetParent() );
3885 comment "* Sets the checkbox state of the wxTreeMultiItem pointed out by \"item\". If the item does not have a checkbox
3886 associated (or the item is not ok), it will simply ignore this. <b>This needs USE_CHECKBOXVIEW
3887 set to YES, or CHECKBOXVIEW=1 during compile</b>. Contributed by Thomas Enickl."
3890 operation 182274 "SetSpacingY"
3891 cpp_inline public explicit_return_type "void"
3893 param in name "spacingY" explicit_type "int"
3894 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
3897 _spacingY = spacingY;
3908 * @name Extended visibility and manipulation methods
3909 These methods alter the wxTreeMultiCtrl appearance, or add more functionality like checkboxes before each node.
3912 * Sets the Y spacing of the wxTreeMultiCtrl to a new size. This can be used to give the controls some more
3913 spacing in between "
3916 operation 182402 "GetSpacingY"
3917 const cpp_inline public explicit_return_type "int"
3919 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
3927 comment "* Gets the Y spacing of the wxTreeMultiCtrl. "
3930 operation 182530 "SetCheckboxView"
3931 cpp_inline public explicit_return_type "void"
3933 param in name "value" explicit_type "bool"
3934 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
3935 _checkboxView = value;
3942 comment "* This method toggles the checkbox view mode. Whenever set to true, the next window item, or caption node item
3943 will get a checkbox. <b>This needs USE_CHECKBOXVIEW set to YES, or CHECKBOXVIEW=1 during compile</b>
3944 \\sa GetCheckboxView, wxTreeMultiWindowInfo::SetDefaultCheckState
3948 operation 182658 "GetCheckboxView"
3949 const cpp_inline public explicit_return_type "bool"
3951 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract} {
3952 return _checkboxView;
3959 comment "* This method returns the checkbox state currently used. <b>This needs USE_CHECKBOXVIEW set to YES, or
3960 CHECKBOXVIEW=1 during compile</b>
3961 \\sa SetCheckboxView, wxTreeMultiWindowInfo::SetDefaultCheckState, wxTreeMultiWindowInfo::GetDefaultCheckState
3965 operation 182786 "GetFirstRoot"
3966 const cpp_inline public return_type class_ref 140418 // wxTreeMultiItem
3968 param in name "" explicit_type "void"
3969 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {return wxTreeMultiItem(this->_root.First());};
3977 * @name Iteration methods
3979 Allows the user to iterate through a wxTreeMultiCtrl node, and get all the children or siblings.
3981 To start an iteration from the lowest level the functions GetFirstRoot and GetLastRoot are provided.
3986 * Returns the first root. "
3989 operation 182914 "GetLastRoot"
3990 const cpp_inline public return_type class_ref 140418 // wxTreeMultiItem
3992 param in name "" explicit_type "void"
3993 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {return wxTreeMultiItem(this->_root.Last());};
3999 comment "* Returns the last root. "
4002 operation 183042 "GetParent"
4003 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
4005 param in name "item" type class_ref 140418 // wxTreeMultiItem
4006 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
4008 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
4015 comment "* Returns the items parent. "
4018 operation 183170 "GetFirstChild"
4019 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
4021 param in name "item" type class_ref 140418 // wxTreeMultiItem
4022 param inout name "cookie" explicit_type "int"
4023 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} & ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
4025 cpp_def "// wxTreeMultiCtrl::GetParent(wxTreeMultiItem const& item) const
4027 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} & ${p1}${)}${const}${volatile}${throw}${staticnl}{
4034 comment "* Returns the first child of this node. The type of wxTreeMultiItem needs to be of Node. Whenever not succesful,
4036 the item returned is not ok (IsOk = false). Upon success, a valid child is returned. The cookie variable doesn't
4038 need to be initialized "
4041 operation 183298 "GetNextChild"
4042 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
4044 param in name "item" type class_ref 140418 // wxTreeMultiItem
4045 param inout name "cookie" explicit_type "int"
4046 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}, ${t1} & ${p1}${v1}${)}${const}${volatile}${throw}${abstract};
4048 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}, ${t1} & ${p1}${)}${const}${volatile}${throw}${staticnl}{
4055 comment "* Returns the next child in the iteration on the level of 'item'. Make sure you called GetFirstChild first
4056 before calling this one "
4059 operation 183426 "GetLastChild"
4060 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
4062 param in name "item" type class_ref 140418 // wxTreeMultiItem
4063 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
4065 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
4072 comment "* Returns the last child of this node. The type of 'item' needs to be of Node. Whenever not succesful,
4073 the item returned is not ok (IsOk = false). Upon success, a valid last child is returned. "
4076 operation 183554 "GetNextSibling"
4077 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
4079 param in name "item" type class_ref 140418 // wxTreeMultiItem
4080 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
4082 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
4089 comment "* Returns the next sibling of the passed item. "
4092 operation 183682 "GetPrevSibling"
4093 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
4095 param in name "item" type class_ref 140418 // wxTreeMultiItem
4096 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
4098 cpp_def "// wxTreeMultiCtrl::GetNextSibling(wxTreeMultiItem const&) const
4100 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
4107 comment "* Returns the previous sibling of the passed item. "
4110 operation 183810 "GetNext"
4111 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
4113 param in name "item" type class_ref 140418 // wxTreeMultiItem
4114 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
4116 cpp_def "// wxTreeMultiCtrl::GetPrevSibling(wxTreeMultiItem const&) const
4118 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
4125 comment "* Returns the next item. \"Next\" is defined by the following order:
4127 - in case the current item has a child it is the first child of the current item;
4129 - in case the current item has a next sibling as the next sibling;
4131 - as the parent's (or one of its ancestor's) next sibling.
4136 operation 183938 "GetPrevious"
4137 preserve_cpp_body_indent const public return_type class_ref 140418 // wxTreeMultiItem
4139 param in name "item" type class_ref 140418 // wxTreeMultiItem
4140 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
4142 cpp_def "// wxTreeMultiCtrl::GetNextSibling(wxTreeMultiItem const&) const
4144 ${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
4151 comment "* Returns the previous item. \"Previous\" is defined by the following order:
4153 - in case the current item has a child it is the last child of the current item;
4155 - in case the current item has a previous sibling it is the previous sibling;
4157 - as the parent's (or one of its ancestor's) previous sibling.
4162 operation 184066 "GetCaptionFont"
4163 const cpp_inline public explicit_return_type "wxFont"
4165 cpp_decl " ${comment}${friend}${static}${inline}${virtual}const ${type} & ${name}${(}${)}${const}${volatile}${throw}${abstract} {
4166 return _captionFont;
4176 * @name Get and set methods
4177 These methods allow you to set or get certain properties of the wxTreeMultiCtrl.
4180 * Get the currently used font for the caption headers in the wxTreeMultiCtrl. If you want to alter this
4181 font, simply obtain it and copy it to a local font. After that, set this font back using SetCaptionFont()
4185 operation 184194 "SetCaptionFont"
4186 preserve_cpp_body_indent public explicit_return_type "void"
4188 param in name "font" explicit_type "wxFont"
4189 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
4191 cpp_def "${comment}${inline}${type} ${class}::${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
4198 comment "* Sets the font to be used for the text caption headers. This triggers a complete redraw because x,y sizes can
4199 differ, and ofcourse all nodes need to be updated. You can call this method at any time not only at the
4203 operation 184322 "OnDraw"
4204 preserve_cpp_body_indent public explicit_return_type "void"
4206 param inout name "dc" explicit_type "wxDC"
4207 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract};
4209 cpp_def "// wxTreeMultiCtrl::GetPrevious(wxTreeMultiItem const&) const
4210 // WDR: handler implementations for wxTreeMultiCtrl
4213 ${comment}${inline}${type} ${class}::${name}${(}${t0} & ${p0}${)}${const}${volatile}${throw}${staticnl}{
4226 class 140802 "typedef23"
4227 visibility package stereotype "typedef" explicit_base_type "wxScrolledWindow"
4228 cpp_decl "${comment}typedef ${type} ${name};
4232 python_2_2 python_decl ""
4234 explicit_switch_type ""
4238 class 140930 "wxTreeMultiEvent"
4240 cpp_decl "${comment}${template}class ${name}${inherit} {
4246 python_2_2 python_decl ""
4248 explicit_switch_type ""
4251 \\section treemultievent Event handlers for wxTreeMultiCtrl
4253 Event handlers for wxTreeMultiCtrl are similar to wxTreeEvents. But they are
4254 optimized for the wxTreeMultiCtrl class.
4256 classrelation 136066 // <generalisation>
4257 relation 136066 ---|>
4259 cpp default "${type}"
4260 classrelation_ref 136066 // <generalisation>
4261 b parent class_ref 141058 // typedef24
4264 operation 184450 "wxTreeMultiEvent"
4265 preserve_cpp_body_indent public explicit_return_type ""
4267 param in name "InitEventType" explicit_type "wxEventType"
4268 defaultvalue "wxEVT_NULL"
4269 param in name "InitItem" type class_ref 140418 // wxTreeMultiItem
4270 defaultvalue "wxTreeMultiItem()"
4271 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${v0}, const ${t1} & ${p1}${v1}${)}${volatile}${throw};
4273 cpp_def "// constructors / destructor:
4275 ${comment}${inline}${class}::${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}
4276 :wxNotifyEvent(InitEventType), m_Item(InitItem)
4284 comment "WXDLLEXPORT
4286 / The default constructor
4290 operation 184578 "Clone"
4291 const cpp_virtual cpp_inline public explicit_return_type "wxEvent"
4293 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} * ${name}${(}${)}${const}${volatile}${throw}${abstract} {return new wxTreeMultiEvent(*this);};
4299 comment " inherited functions:
4304 operation 184706 "GetItem"
4305 const cpp_inline public return_type class_ref 140418 // wxTreeMultiItem
4307 param in name "" explicit_type "void"
4308 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
4309 return this->m_Item;
4316 comment " item handling:"
4319 operation 184834 "SetItem"
4320 cpp_inline public explicit_return_type "void"
4322 param in name "NewItem" type class_ref 140418 // wxTreeMultiItem
4323 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
4324 this->m_Item = NewItem;
4333 operation 184962 "GetOldItem"
4334 const cpp_inline public return_type class_ref 140418 // wxTreeMultiItem
4336 param in name "" explicit_type "void"
4337 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
4338 return this->m_OldItem;
4345 comment " old item handling:"
4348 operation 185090 "SetOldItem"
4349 cpp_inline public explicit_return_type "void"
4351 param in name "NewItem" type class_ref 140418 // wxTreeMultiItem
4352 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${v0}${)}${const}${volatile}${throw}${abstract} {
4353 this->m_OldItem = NewItem;
4363 class 141058 "typedef24"
4364 visibility package stereotype "typedef" explicit_base_type "wxNotifyEvent"
4365 cpp_decl "${comment}typedef ${type} ${name};
4369 python_2_2 python_decl ""
4371 explicit_switch_type ""
4376 deploymentview 128258 "treemultictrl"
4377 //deployment diagram settings
4378 package_name_in_tab default show_context default write_horizontally default auto_label_position default draw_all_relations default shadow default
4379 draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
4380 artifact 131458 "TreeMultiItemBase"
4382 cpp_h "#ifndef ${NAMESPACE}_${NAME}_H
4383 #define ${NAMESPACE}_${NAME}_H
4399 class_ref 139778 // TreeMultiItemBase
4403 artifact 131586 "TreeMultiItemNode"
4405 cpp_h "#ifndef ${NAMESPACE}_${NAME}_H
4406 #define ${NAMESPACE}_${NAME}_H
4422 class_ref 139906 // TreeMultiItemNode
4426 artifact 131714 "TreeMultiItemRoot"
4428 cpp_h "#ifndef ${NAMESPACE}_${NAME}_H
4429 #define ${NAMESPACE}_${NAME}_H
4445 class_ref 140034 // TreeMultiItemRoot
4449 artifact 131842 "TreeMultiItemWindow"
4451 cpp_h "#ifndef ${NAMESPACE}_${NAME}_H
4452 #define ${NAMESPACE}_${NAME}_H
4468 class_ref 140162 // TreeMultiItemWindow
4472 artifact 131970 "wxTreeMultiCtrl"
4474 cpp_h "#ifndef ${NAMESPACE}_${NAME}_H
4475 #define ${NAMESPACE}_${NAME}_H
4491 class_ref 140290 // anonymous1
4492 class_ref 140418 // wxTreeMultiItem
4493 class_ref 140546 // wxTreeMultiWindowInfo
4494 class_ref 140802 // typedef23
4495 class_ref 140674 // wxTreeMultiCtrl
4499 artifact 132098 "wxTreeMultiEvent"
4501 cpp_h "#ifndef ${NAMESPACE}_${NAME}_H
4502 #define ${NAMESPACE}_${NAME}_H
4518 class_ref 141058 // typedef24
4519 class_ref 140930 // wxTreeMultiEvent