Changing the Attributes of the Control

Use

This section lists all of the methods you can use to change the list tree.

  • Inserting, Changing, and Deleting Entries (with Nodes)

    Method

    Description

    add_nodes_and_items

    Inserts a list with entries (with their nodes)

    delete_all_items_of_nodes

    Delete all entries for a list of nodes

    delete_items

    Deletes a list of entries

    update_nodes_and_items

    Changes a list of entries (and their nodes)

  • Changing Individual Entries

    Method

    Description

    item_set_chosen

    Checks the checkbox in the tree

    item_set_disabled

    Deactivates entry in tree

    item_set_editable

    Sets the input-ready property of a checkbox

    item_set_font

    Sets font of entry

    item_set_hidden

    Sets entry invisibly

    item_set_style

    Defines style of an entry

    item_set_text

    Changes text of an entry

    item_set_t_image

    Changes icons of an entry

    item_set_alignment

    Defines alignment of the entry

    item_set_length

    Defines length to be displayed for the item

  • Selecting Individual Entry

    Method

    Description

    select_item

    Selects a single entry

  • 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 and entries

    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

    Sets hierarchy line to node

    node_set_n_image

    Sets icons of the non-expanded node

    node_set_style

    Sets style of node

    node_set_last_hierarchy_item

    Defines the final entry below the hierarchy header for a node

    node_set_dragdropid

    Sets drag&drop behavior of a node

  • Changing Properties of Hierarchy Header

    Method

    Description

    hierarchy_header_set_t_image

    Changes icons of hierarchy header

    hierarchy_header_set_text

    Changes text for hierarchy header

    hierarchy_header_set_tooltip

    Changes tooltip of hierarchy header

    hierarchy_header_set_width

    Changes width of the hierarchy header

    hierarchy_header_adjust_width

    Adjusts width of the hierarchy header

  • Changing Properties of List Header

    Method

    Description

    list_header_set_t_image

    Changes icons of list header

    list_header_set_text

    Chnages text of list header

    list_header_set_tooltip

    Changes tooltip of list header

  • 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_min_node_height

    Defines displayed minimum height of a 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