Changing the Attributes of the Control
Use
This section lists all of the methods you can use to change the simple tree.
-
Inserting and Changing Nodes
Method
Description
add_nodes
Adds a list of a node
node_set_text
Changes the text of a specific node
update_nodes
Changes the properties of a list of nodes
-
Expanding Nodes
Method
Description
expand_node
Expands certain nodes
expand_nodes
Expands multiple nodes
expand_root_nodes
Expands all root nodes
-
Selecting Nodes
Method
Description
set_selected_node
Selects specific nodes
select_nodes
Selects list of nodes
unselect_all
Undoes selection for all nodes
unselect_nodes
Undoes selection for list of all nodes
-
Deleting Nodes
Method
Description
delete_all_nodes
Deletes all nodes from tree
delete_node
Deletes specific nodes from tree
delete_nodes
Deletes list of nodes from tree
-
Changing the Properties of a Node
Method
Description
node_set_disabled
Deactivates nodes
node_set_expander
Sets the expander property
node_set_exp_image
Sets icons for expanded nodes
node_set_hidden
Makes nodes invisible
node_set_is_folder
Sets the is_folder attribute
node_set_no_branch
Suppress hierarchy line to node
node_set_n_image
Sets icons of the non-expanded node
node_set_style
Sets style of node
node_set_dragdropid
Sets drag&drop behavior of a node
-
Configuring Keyboard Events
Method
Description
add_key_stroke
Definition of a button of keyboard that is to trigger an event
remove_all_key_strokes
Deleting Definitions for Buttons
-
Additional Methods
Method
Description
ensure_visible
Ensures visibility of a specific node
move_node
Moves node
scroll
Scrolls in tree
set_ctx_menu_select_event_appl
Decision if event is to be an application or system event after selecting an entry from a context menu.
set_has_3d_frame
Sets 3D framework
set_screen_update
Controls visibility of changes
set_top_node
Defines uppermost visible node
set_default_drop
Settings Drag and Drop Behavior for a Drop into the Empty Level of a SAP Tree
set_folder_show_exp_image
Setting the Folder Symbol for Open Folders