Module dui.TreeSelection
Constructor Summary | |
---|---|
package |
(GObject* gObject) |
Methods Summary | |
---|---|
static GType |
getType() Gets this class type |
public void |
setMode(SelectionMode type) Set the selection mode |
SelectionMode |
getMode() Gest the selection mode |
gpointer |
getUserData() Gets the user data |
TreeView |
getTreeView() Gets the tree view |
bit |
getSelected(TreeModel model, TreeIter iter) /* Only meaningful if GTK_SELECTION_SINGLE or GTK_SELECTION_BROWSE is set /* Use selected_foreach or get_selected_rows for GTK_SELECTION_MULTIPLE Checks if the iter is selected ??? |
TreePath |
getSelectedRows(TreeModel model) Gets a list with the selected rows |
gint |
countSelectedRows() Gets the number of selected rows |
void |
selectPath(TreePath path) Selects a path |
void |
unselectPath(TreePath path) Unselects a path |
void |
selectIter(TreeIter iter) Selects the iteractor branch (leave) ??? |
void |
unselectIter(TreeIter iter) Unselects the iteractor branch (leave) ??? |
bit |
pathIsSelected(TreePath path) Cheks if the path is selected |
bit |
iterIsSelected(TreeIter iter) Checks if the iteractor is selected |
void |
selectAll() Selects the entire tree. |
void |
unselectedAll() Unselect the entire tree |
void |
selectedRange(TreePath startPath, TreePath endPath) Select a range of the tree |
void |
unselectRange(TreePath startPath, TreePath endPath) Unselec a rnage of the tree |