|
Public Member Functions |
| this () |
| Creates a new TreeView.
|
| this (TreeModel model) |
| Creates a new TreeView from a TreeModel.
|
TreeModel | getModel () |
| Gets the model for this tree.
|
ListStore | getListStore () |
| Gets the list model for this tree.
|
void | setModel (TreeModel model) |
| Sets the model fro this tree view.
|
TreeSelection | getSelection () |
| Gets a tree selection for this tree view.
|
Adjustment | getHAdjustment () |
| getHAdjustment
|
void | setHAdjustment (Adjustment adjustment) |
| setHAdjustment
|
Adjustment | getVAdjustment () |
| getVAdjustment
|
void | setVAdjustment (Adjustment adjustment) |
| setVAdjustment
|
bit | getHeadersVisible () |
| Gets the headers visibility.
|
void | setHeadersVisible (bit visible) |
| Sets the headers visibility.
|
void | columnsAutosize () |
| coluns autosize
|
void | setHeadersClickable (bit setting) |
| Sets the headers clickable or not.
|
void | setRulesHint (bit setting) |
| Sets the rules hint ???
|
bit | getRulesHint () |
| Gets rules hint ???
|
gint | appendColumn (TreeViewColumn column) |
| Appends a new column to the tree.
|
gint | removeColumn (TreeViewColumn column) |
| remove column
|
gint | insertColumn (TreeViewColumn column, gint position) |
| insert column
|
gint | insertEditableColumn (int position, char[] title, CellRenderer renderer, bit editable) |
| Inserts a column and sets it's attributes.
|
gint | gtk_tree_view_insert_column_with_attributes (GtkTreeView *tree_view, gint position, gchar *title, GtkCellRenderer *cell,...) |
gint | gtk_tree_view_insert_column_with_data_func (gtkT(), gint position, gchar *title, GtkCellRenderer *cell, GtkTreeCellDataFunc func, gpointer data, GDestroyNotify dnotify) |
TreeViewColumn | getColumn (int n) |
| Gets a column by column number.
|
void | removeAllColumns () |
| Removes all column from this tree view.
|
ListG | getColumns () |
void | moveColumnAfter (TreeViewColumn column, TreeViewColumn base_column) |
| moveColumnAfter
|
void | setExpanderColumn (TreeViewColumn column) |
| setExpanderColumn
|
TreeViewColumn | getExpanderColumn () |
| getgetExpanderColumn
|
void | gtk_tree_view_set_column_drag_function (gtkT(), GtkTreeViewColumnDropFunc func, gpointer user_data, GtkDestroyNotify destroy) |
void | scrollToPoint (gint tree_x, gint tree_y) |
| scrollToPoint
|
void | scrollToCell (TreePath path, TreeViewColumn column, gboolean use_align, gfloat row_align, gfloat col_align) |
| scrollToCell
|
void | rowActivated (TreePath path, TreeViewColumn column) |
| rowActivated
|
void | expandAll () |
| expandAll
|
void | collapseAll () |
| collapseAll
|
void | expandToPath (TreePath path) |
| expandToPath
|
bit | expandRow (TreePath path, bit openAll) |
| expandRow
|
bit | expandRow (TreeIter iter, TreeModel model, bit openAll) |
| Expands the row of the iter.
|
bit | collapseRow (TreePath path) |
| collapseRow
|
void | mapExpandedRows (TreeViewMappingFunc func, gpointer data) |
bit | rowExpanded (TreePath path) |
| rowExpanded
|
void | setReorderable (bit reorderable) |
| setReorderable
|
bit | getReorderable () |
| getReorderable
|
void | setCursor (TreePath path, TreeViewColumn focus_column, gboolean start_editing) |
| setCursor
|
void | setCursorOnCell (TreePath path, TreeViewColumn focus_column, CellRenderer focus_cell, gboolean start_editing) |
| setCursorOnCell
|
void | getCursor (TreePath path, TreeViewColumn focus_column) |
| get cursor
|
WindowG | getBinWindow () |
| getBinWindow
|
bit | getPathAtPos (gint x, gint y, inout TreePath path, inout TreeViewColumn column, out gint cellX, out gint cellY) |
| getPathAtPos
|
void | getCellArea (TreePath path, TreeViewColumn column, Rectangle *rect) |
| getCellArea
|
void | getBackgroundArea (TreePath path, TreeViewColumn column, Rectangle *rect) |
| getBackgroundArea
|
void | getVisibleRect (Rectangle *visible_rect) |
| getVisibleRect
|
void | widgetToTreeCoords (gint wx, gint wy, gint *tx, gint *ty) |
| widgetToTreeCoords
|
void | treeToWidgetCoords (gint wx, gint wy, gint *tx, gint *ty) |
| treeToWidgetCoords
|
void | enableModelDragSource (ModifierType start_button_mask, GtkTargetEntry *targets, gint n_targets, DragAction actions) |
| enableModelDragSource
|
void | enableModelDrasDesc (GtkTargetEntry *targets, gint n_targets, DragAction actions) |
| enableModelDrasDesc
|
void | unsetRowsDragSource () |
| unsetRowsDragSource
|
void | unsetRowsDragDest () |
| unsetRowsDragDest
|
void | setDragDestRow (TreePath path, TreeViewDropPosition pos) |
| setDragDestRow
|
void | getDragDestRow (TreePath path, TreeViewDropPosition *pos) |
| getDragDestRow
|
bit | getDestRowAtPos (gint drag_x, gint drag_y, TreePath path, TreeViewDropPosition *pos) |
| getDestRowAtPos
|
Pixmap | createRowDragIcon (TreePath path) |
| createRowDragIcon
|
void | setEnableSearch (bit enable_search) |
| setEnableSearch
|
bit | getEnableSearch () |
| getEnableSearch
|
gint | getSearchColumn () |
| getSearchColumn
|
void | setSearchColumn (gint column) |
| setSearchColumn
|
GtkTreeViewSearchEqualFunc | gtk_tree_view_get_search_equal_func (gtkT()) |
void | gtk_tree_view_set_search_equal_func (gtkT(), GtkTreeViewSearchEqualFunc search_equal_func, gpointer search_user_data, GtkDestroyNotify search_destroy) |
TreeIter | getSelectedIter () |
| gets the first selected iter or null if no rows are selected
|
Static Public Member Functions |
GType | getType () |
| Gets this class type.
|