gtk.TreeView.TreeView Class Reference

Inheritance diagram for gtk.TreeView.TreeView:

gtk.Container.Container gtk.Widget.Widget gtk.ObjectGtk.ObjectGtk gobject.ObjectG.ObjectG List of all members.

Public Member Functions

GtkTreeViewgetTreeViewStruct ()
 this (GtkTreeView *gtkTreeView)
 Sets our main struct and passes it to the parent class.
int expandRow (TreeIter iter, TreeModel model, int openAll)
 Expands the row of the iter.
int getPathAtPos (gint x, gint y, inout TreePath path, inout TreeViewColumn column, out gint cellX, out gint cellY)
 Finds the path at the point (x, y), relative to widget coordinates.
TreeIter getSelectedIter ()
 gets the first selected iter or null if no rows are selected
TreeIter[] getSelectedIters ()
gint insertEditableColumn (int position, char[] title, CellRenderer renderer, bit editable)
 Inserts a column and sets it's attributes.
void delegate (TreeView)[] onColumnsChangedListeners
void addOnColumnsChanged (void delegate(TreeView) dlg)
 extern (C) static void callBackColumnsChanged(GtkTreeView *treeViewStruct
void addOnCursorChanged (void delegate(TreeView) dlg)
 extern (C) static void callBackCursorChanged(GtkTreeView *treeViewStruct
void addOnExpandCollapseCursorRow (gboolean delegate(gboolean, gboolean, gboolean, TreeView) dlg)
 extern (C) static void callBackExpandCollapseCursorRow(GtkTreeView *treeviewStruct
void addOnMoveCursor (gboolean delegate(GtkMovementStep, gint, TreeView) dlg)
 extern (C) static void callBackMoveCursor(GtkTreeView *treeviewStruct
void addOnRowActivated (void delegate(TreePath, TreeViewColumn, TreeView) dlg)
 extern (C) static void callBackRowActivated(GtkTreeView *treeViewStruct
void addOnRowCollapsed (void delegate(GtkTreeIter *, TreePath, TreeView) dlg)
 extern (C) static void callBackRowCollapsed(GtkTreeView *treeViewStruct
void addOnRowExpanded (void delegate(GtkTreeIter *, TreePath, TreeView) dlg)
 extern (C) static void callBackRowExpanded(GtkTreeView *treeViewStruct
void addOnSelectAll (gboolean delegate(TreeView) dlg)
 extern (C) static void callBackSelectAll(GtkTreeView *treeviewStruct
void addOnSelectCursorParent (gboolean delegate(TreeView) dlg)
 extern (C) static void callBackSelectCursorParent(GtkTreeView *treeviewStruct
void addOnSelectCursorRow (gboolean delegate(gboolean, TreeView) dlg)
 extern (C) static void callBackSelectCursorRow(GtkTreeView *treeviewStruct
void addOnSetScrollAdjustments (void delegate(Adjustment, Adjustment, TreeView) dlg)
 extern (C) static void callBackSetScrollAdjustments(GtkTreeView *treeviewStruct
void addOnStartInteractiveSearch (gboolean delegate(TreeView) dlg)
 extern (C) static void callBackStartInteractiveSearch(GtkTreeView *treeviewStruct
void addOnTestCollapseRow (gboolean delegate(GtkTreeIter *, TreePath, TreeView) dlg)
 extern (C) static void callBackTestCollapseRow(GtkTreeView *treeViewStruct
void addOnTestExpandRow (gboolean delegate(GtkTreeIter *, TreePath, TreeView) dlg)
 extern (C) static void callBackTestExpandRow(GtkTreeView *treeViewStruct
void addOnToggleCursorRow (gboolean delegate(TreeView) dlg)
 extern (C) static void callBackToggleCursorRow(GtkTreeView *treeviewStruct
void addOnUnselectAll (gboolean delegate(TreeView) dlg)
 extern (C) static void callBackUnselectAll(GtkTreeView *treeviewStruct

Public Attributes

int[char[]] connectedSignals
gboolean arg1
gboolean gboolean arg2
gboolean gboolean gboolean arg3
GtkMovementStep arg1
GtkMovementStep gint arg2
GtkTreePathpath
GtkTreePath GtkTreeViewColumncolumn
GtkTreeIteriter
GtkTreeIter GtkTreePathpath
GtkTreeIteriter
GtkTreeIter GtkTreePathpath
GtkAdjustmentarg1
GtkAdjustment GtkAdjustmentarg2
GtkTreeIteriter
GtkTreeIter GtkTreePathpath
GtkTreeIteriter
GtkTreeIter GtkTreePathpath

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

GtkTreeViewgtkTreeView
 the main Gtk struct

Constructor & Destructor Documentation

gtk.TreeView.TreeView.this ( GtkTreeView gtkTreeView  ) 

Sets our main struct and passes it to the parent class.


Member Function Documentation

void gtk.TreeView.TreeView.addOnColumnsChanged ( void delegate(TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnCursorChanged ( void delegate(TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnExpandCollapseCursorRow ( gboolean delegate(gboolean, gboolean, gboolean, TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnMoveCursor ( gboolean delegate(GtkMovementStep, gint, TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnRowActivated ( void delegate(TreePath, TreeViewColumn, TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnRowCollapsed ( void delegate(GtkTreeIter *, TreePath, TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnRowExpanded ( void delegate(GtkTreeIter *, TreePath, TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnSelectAll ( gboolean delegate(TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnSelectCursorParent ( gboolean delegate(TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnSelectCursorRow ( gboolean delegate(gboolean, TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnSetScrollAdjustments ( void delegate(Adjustment, Adjustment, TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnStartInteractiveSearch ( gboolean delegate(TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnTestCollapseRow ( gboolean delegate(GtkTreeIter *, TreePath, TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnTestExpandRow ( gboolean delegate(GtkTreeIter *, TreePath, TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnToggleCursorRow ( gboolean delegate(TreeView dlg  ) 

void gtk.TreeView.TreeView.addOnUnselectAll ( gboolean delegate(TreeView dlg  ) 

void gtk.TreeView.TreeView.delegate ( TreeView   ) 

int gtk.TreeView.TreeView.expandRow ( TreeIter  iter,
TreeModel  model,
int  openAll 
)

Expands the row of the iter.

Parameters:
iter 
openAll 
Returns:

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.TreeView.TreeView.extern (  ) 

Reimplemented from gtk.Container.Container.

int gtk.TreeView.TreeView.getPathAtPos ( gint  x,
gint  y,
inout TreePath  path,
inout TreeViewColumn  column,
out gint  cellX,
out gint  cellY 
)

Finds the path at the point (x, y), relative to widget coordinates.

That is, x and y are relative to an events coordinates. x and y must come from an event on the tree_view only where event->window == gtk_tree_view_get_bin (). It is primarily for things like popup menus. If path is non-NULL, then it will be filled with the GtkTreePath at that point. This path should be freed with gtk_tree_path_free(). If column is non-NULL, then it will be filled with the column at that point. cell_x and cell_y return the coordinates relative to the cell background (i.e. the background_area passed to gtk_cell_renderer_render()). This function is only meaningful if tree_view is realized. tree_view: A GtkTreeView. x: The x position to be identified. y: The y position to be identified. path: A pointer to a GtkTreePath pointer to be filled in, or NULL column: A pointer to a GtkTreeViewColumn pointer to be filled in, or NULL cell_x: A pointer where the X coordinate relative to the cell can be placed, or NULL cell_y: A pointer where the Y coordinate relative to the cell can be placed, or NULL Returns: TRUE if a row exists at that coordinate.

TreeIter gtk.TreeView.TreeView.getSelectedIter (  ) 

gets the first selected iter or null if no rows are selected

TreeIter [] gtk.TreeView.TreeView.getSelectedIters (  ) 

void* gtk.TreeView.TreeView.getStruct (  )  [protected]

the main Gtk struct as a void*

Reimplemented from gtk.Container.Container.

GtkTreeView* gtk.TreeView.TreeView.getTreeViewStruct (  ) 

gint gtk.TreeView.TreeView.insertEditableColumn ( int  position,
char[]  title,
CellRenderer  renderer,
bit  editable 
)

Inserts a column and sets it's attributes.

Parameters:
position 
title 
renderer 
editable 
Returns:
number of columns including the new one


Member Data Documentation

GtkAdjustment* gtk.TreeView.TreeView.arg1

Reimplemented from gtk.Widget.Widget.

GtkMovementStep gtk.TreeView.TreeView.arg1

Reimplemented from gtk.Widget.Widget.

gboolean gtk::TreeView.TreeView::arg1

Reimplemented from gtk.Widget.Widget.

GtkAdjustment GtkAdjustment* gtk.TreeView.TreeView.arg2

GtkMovementStep gint gtk.TreeView.TreeView.arg2

gboolean gboolean gtk.TreeView.TreeView.arg2

gboolean gboolean gboolean gtk.TreeView.TreeView.arg3

GtkTreePath GtkTreeViewColumn* gtk.TreeView.TreeView.column

int [char[]] gtk.TreeView.TreeView.connectedSignals

Reimplemented from gtk.Container.Container.

GtkTreeView* gtk.TreeView.TreeView.gtkTreeView [protected]

the main Gtk struct

GtkTreeIter* gtk.TreeView.TreeView.iter

GtkTreeIter* gtk.TreeView.TreeView.iter

GtkTreeIter* gtk.TreeView.TreeView.iter

GtkTreeIter* gtk.TreeView.TreeView.iter

GtkTreeIter GtkTreePath* gtk.TreeView.TreeView.path

GtkTreeIter GtkTreePath* gtk.TreeView.TreeView.path

GtkTreeIter GtkTreePath* gtk.TreeView.TreeView.path

GtkTreeIter GtkTreePath* gtk.TreeView.TreeView.path

GtkTreePath* gtk.TreeView.TreeView.path


SourceForge.net Logo DSource.org Logo digitalmars.com Logo