Struct winsafe::gui::spec::TreeViewItems [−][src]
pub struct TreeViewItems<'a> { /* fields omitted */ }
Expand description
Exposes item methods of a TreeView
control.
You cannot directly instantiate this object, it is created internally by the control.
Implementations
Adds a new root item by sending a
tvm::InsertItem
message, and returns
the newly added item.
Deletes all items by sending a
tvm::DeleteItem
message.
Retrieves the total number of items by sending a
tvm::GetCount
message.
Retrieves the number of visible items by sending a
tvm::GetVisibleCount
message.
Ends the editing of the item’s text by sending a
tvm::EndEditLabelNow
message.
Retrieves the item of the given handle.
Note: This method is cheap – even if htreeitem
is invalid, an
object will still be returned. However, operations upon this object will
fail.
Returns an iterator over the selected items.