GtkSharp/doc/en/Gtk/TreeView.xml
2013-11-30 16:01:53 +01:00

2588 lines
122 KiB
XML

<Type Name="TreeView" FullName="Gtk.TreeView">
<TypeSignature Language="C#" Maintainer="auto" Value="public class TreeView : Gtk.Container, Gtk.IScrollable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit TreeView extends Gtk.Container implements class GLib.IWrapper, class Gtk.IScrollable" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>Gtk.Container</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Gtk.IScrollable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>A widget for displaying both trees and lists.</summary>
<remarks>
<para>
Widget that displays any object that implements the
<see cref="T:Gtk.TreeModel" /> interface.
</para>
<para>
To create a tree or list in GTK#, you need to use the <see cref="T:Gtk.TreeModel" /> interface, in conjunction with the
<see cref="T:Gtk.TreeView" /> widget. This widget is designed around a
Model/View/Controller design and consists of four major parts:
<list type="bullet"><item><term><see cref="T:Gtk.TreeView" />, the tree view widget
</term></item><item><term><see cref="T:Gtk.TreeViewColumn" />, the view column.
</term></item><item><term>The cell renderers (<see cref="T:Gtk.CellRenderer" /> and others).</term></item><item><term><see cref="T:Gtk.TreeModel" />, the model interface.</term></item></list></para>
<para>
The View is composed of the first three, while the last is the
Model. One of the prime benefits of the MVC design is that
multiple views can be created of a single model. For example,
a model mapping the file system could be created for a file
manager. Many views could be created to display various parts
of the file system, but only one copy need be kept in memory.
</para>
<para>
The purpose of the cell renderers is to provide extensibility
to the widget and to allow multiple ways of rendering the same
type of data. For example, consider how to render a boolean
variable. Should you render it as a string of "True" or
"False", "On" or "Off", or should you render it as a checkbox?
</para>
<para>A simple list:
<example><code lang="C#">
using System;
using Gtk;
public class TreeViewSample {
public static void Main (string [] args)
{
Application.Init ();
TreeStore store = new TreeStore (typeof (string), typeof (string));
for (int i=0; i &lt; 5; i++)
{
TreeIter iter = store.AppendValues ("Demo " + i, "Data " + i);
}
Window win = new Window ("TreeView List Demo");
win.DeleteEvent += new DeleteEventHandler (delete_cb);
win.SetDefaultSize (400,250);
ScrolledWindow sw = new ScrolledWindow ();
win.Add (sw);
TreeView tv = new TreeView ();
tv.Model = store;
tv.HeadersVisible = true;
tv.AppendColumn ("Demo", new CellRendererText (), "text", 0);
tv.AppendColumn ("Data", new CellRendererText (), "text", 1);
sw.Add (tv);
sw.Show ();
win.ShowAll ();
Application.Run ();
}
private static void delete_cb (System.Object o, DeleteEventArgs args)
{
Application.Quit ();
args.RetVal = true;
}
}
</code></example></para>
<para>A more advanced example:
<example><code lang="C#">
using System;
using System.Reflection;
using Gtk;
public class TreeViewDemo {
private static TreeStore store = null;
private static Dialog dialog = null;
private static Label dialog_label = null;
public TreeViewDemo ()
{
Application.Init ();
PopulateStore ();
Window win = new Window ("TreeView demo");
win.DeleteEvent += new DeleteEventHandler (DeleteCB);
win.SetDefaultSize (640,480);
ScrolledWindow sw = new ScrolledWindow ();
win.Add (sw);
TreeView tv = new TreeView (store);
tv.HeadersVisible = true;
tv.AppendColumn ("Name", new CellRendererText (), "text", 0);
tv.AppendColumn ("Type", new CellRendererText (), "text", 1);
sw.Add (tv);
dialog.Destroy ();
dialog = null;
win.ShowAll ();
Application.Run ();
}
private static void ProcessType (TreeIter parent, System.Type t)
{
foreach (MemberInfo mi in t.GetMembers ()) {
store.AppendValues (parent, mi.Name, mi.ToString ());
}
}
private static void ProcessAssembly (TreeIter parent, Assembly asm)
{
string asm_name = asm.GetName ().Name;
foreach (System.Type t in asm.GetTypes ()) {
UpdateDialog ("Loading from {0}:\n{1}", asm_name, t.ToString ());
TreeIter iter = store.AppendValues (parent, t.Name, t.ToString ());
ProcessType (iter, t);
}
}
private static void PopulateStore ()
{
if (store != null)
return;
store = new TreeStore (typeof (string), typeof (string));
foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies ()) {
UpdateDialog ("Loading {0}", asm.GetName ().Name);
TreeIter iter = store.AppendValues (asm.GetName ().Name, "Assembly");
ProcessAssembly (iter, asm);
}
}
public static void Main (string[] args)
{
new TreeViewDemo ();
}
private static void DeleteCB (System.Object o, DeleteEventArgs args)
{
Application.Quit ();
}
private static void UpdateDialog (string format, params object[] args)
{
string text = String.Format (format, args);
if (dialog == null)
{
dialog = new Dialog ();
dialog.Title = "Loading data from assemblies...";
dialog.AddButton (Stock.Cancel, 1);
dialog.Response += new ResponseHandler (ResponseCB);
dialog.SetDefaultSize (480, 100);
VBox vbox = dialog.VBox;
HBox hbox = new HBox (false, 4);
vbox.PackStart (hbox, true, true, 0);
Gtk.Image icon = new Gtk.Image (Stock.DialogInfo, IconSize.Dialog);
hbox.PackStart (icon, false, false, 0);
dialog_label = new Label (text);
hbox.PackStart (dialog_label, false, false, 0);
dialog.ShowAll ();
} else {
dialog_label.Text = text;
while (Application.EventsPending ())
Application.RunIteration ();
}
}
private static void ResponseCB (object obj, ResponseArgs args)
{
Application.Quit ();
System.Environment.Exit (0);
}
}
</code></example></para>
<para>For a example how to handle selection events, or to determine the currently selected row, see <see cref="T:Gtk.TreeSelection" />.</para>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TreeView ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Creates a new <see cref="T:Gtk.TreeView" /> object.</summary>
<remarks>This is the default constructor for <see cref="T:Gtk.TreeView" /></remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TreeView (Gtk.ITreeModel model);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Gtk.ITreeModel model) cil managed" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="model" Type="Gtk.ITreeModel" />
</Parameters>
<Docs>
<param name="model">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TreeView (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">Pointer to the C object.</param>
<summary>Internal constructor</summary>
<remarks>
<para>This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ActivateRow">
<MemberSignature Language="C#" Value="public void ActivateRow (Gtk.TreePath path, Gtk.TreeViewColumn column);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ActivateRow(class Gtk.TreePath path, class Gtk.TreeViewColumn column) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
</Parameters>
<Docs>
<param name="path">an object of type <see cref="T:Gtk.TreePath" /></param>
<param name="column">an object of type <see cref="T:Gtk.TreeViewColumn" /></param>
<summary>Activates the cell determined by <paramref name="path" /> and <paramref name="column" />.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="AppendColumn">
<MemberSignature Language="C#" Value="public int AppendColumn (Gtk.TreeViewColumn column);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 AppendColumn(class Gtk.TreeViewColumn column) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
</Parameters>
<Docs>
<param name="column">an object of type <see cref="T:Gtk.TreeViewColumn" /></param>
<summary>Appends <paramref name="column" /> to the list of columns.</summary>
<returns>an object of type <see cref="T:System.Int32" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="AppendColumn">
<MemberSignature Language="C#" Value="public Gtk.TreeViewColumn AppendColumn (string title, Gtk.CellRenderer cell, Gtk.CellLayoutDataFunc cell_data);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Gtk.TreeViewColumn AppendColumn(string title, class Gtk.CellRenderer cell, class Gtk.CellLayoutDataFunc cell_data) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeViewColumn</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="title" Type="System.String" />
<Parameter Name="cell" Type="Gtk.CellRenderer" />
<Parameter Name="cell_data" Type="Gtk.CellLayoutDataFunc" />
</Parameters>
<Docs>
<param name="title">a <see cref="T:System.String" /></param>
<param name="cell">a <see cref="T:Gtk.CellRenderer" /></param>
<param name="cell_data">a <see cref="T:Gtk.CellLayoutDataFunc" /></param>
<summary>Adds a new <see cref="T:Gtk.TreeViewColumn" /> to the TreeView and returns it.</summary>
<returns>a <see cref="T:Gtk.TreeViewColumn" /></returns>
<remarks>This method actually creates the column, rather than relying on a column object to be passed in. There's an alternate invokation form if you'd like to pass in an existing column object.</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="AppendColumn">
<MemberSignature Language="C#" Value="public Gtk.TreeViewColumn AppendColumn (string title, Gtk.CellRenderer cell, Gtk.TreeCellDataFunc cell_data);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Gtk.TreeViewColumn AppendColumn(string title, class Gtk.CellRenderer cell, class Gtk.TreeCellDataFunc cell_data) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeViewColumn</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="title" Type="System.String" />
<Parameter Name="cell" Type="Gtk.CellRenderer" />
<Parameter Name="cell_data" Type="Gtk.TreeCellDataFunc" />
</Parameters>
<Docs>
<param name="title">a <see cref="T:System.String" /></param>
<param name="cell">a <see cref="T:Gtk.CellRenderer" /></param>
<param name="cell_data">a <see cref="T:Gtk.TreeCellDataFunc" /></param>
<summary>Adds a new <see cref="T:Gtk.TreeViewColumn" /> to the TreeView and returns it.</summary>
<returns>a <see cref="T:Gtk.TreeViewColumn" /></returns>
<remarks>This method actually creates the column, rather than relying on a column object to be passed in. There's an alternate invokation form if you'd like to pass in an existing column object.</remarks>
</Docs>
</Member>
<Member MemberName="AppendColumn">
<MemberSignature Language="C#" Value="public Gtk.TreeViewColumn AppendColumn (string title, Gtk.CellRenderer cell, object[] attrs);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Gtk.TreeViewColumn AppendColumn(string title, class Gtk.CellRenderer cell, object[] attrs) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeViewColumn</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="title" Type="System.String" />
<Parameter Name="cell" Type="Gtk.CellRenderer" />
<Parameter Name="attrs" Type="System.Object[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="title">column title</param>
<param name="cell">cell renderer</param>
<param name="attrs">attributes</param>
<summary>Adds a <see cref="T:Gtk.CellRenderer" /> with a specific column title and attributes.</summary>
<returns>The appended <see cref="T:Gtk.TreeViewColumn" /></returns>
<remarks>
<para>This function is used to append a new <see cref="T:Gtk.CellRenderer" /> subclass with specific attributes to the <see cref="T:Gtk.TreeView" />.</para>
<para>
The following code sample will append a new <see cref="T:Gtk.CellRendererText" /> to an existing <see cref="T:Gtk.TreeView" /> and use column 0 from the <see cref="T:Gtk.TreeStore" /> as the text to render.
</para>
<example>
<code lang="C#">
CellRendererText text = new CellRendererText ();
tree_view.AppendColumn ("title", text, "text", 0);
</code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="BinWindow">
<MemberSignature Language="C#" Value="public Gdk.Window BinWindow { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gdk.Window BinWindow" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Window</ReturnType>
</ReturnValue>
<Docs>
<summary>The window that this TreeView renders to.</summary>
<value>an object of type <see cref="T:Gdk.Window" /></value>
<remarks>This property is primarily used to confirm that events on the TreeView are executed within the correct window.</remarks>
</Docs>
</Member>
<Member MemberName="CollapseAll">
<MemberSignature Language="C#" Value="public void CollapseAll ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void CollapseAll() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Recursively collapses all visible and expanded nodes.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="CollapseRow">
<MemberSignature Language="C#" Value="public bool CollapseRow (Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool CollapseRow(class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
</Parameters>
<Docs>
<param name="path">an object of type <see cref="T:Gtk.TreePath" /></param>
<summary>Collapses a row (hides its child rows, if they exist).</summary>
<returns>an object of type <see cref="T:System.Boolean" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="ColumnDragFunction">
<MemberSignature Language="C#" Value="public Gtk.TreeViewColumnDropFunc ColumnDragFunction { set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.TreeViewColumnDropFunc ColumnDragFunction" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeViewColumnDropFunc</ReturnType>
</ReturnValue>
<Docs>
<summary>The function for determining where a column may be dropped when dragged.</summary>
<value>a <see cref="T:Gtk.TreeViewColumnDropFunc" /></value>
<remarks>This function is called on every column pair in turn at the beginning of a column drag to determine where a drop can take place. If the property is set to be <see langword="null" />, then <see cref="Gtk.TreeView" /> reverts to the default behavior of allowing all columns to be dropped everywhere.</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="Columns">
<MemberSignature Language="C#" Value="public Gtk.TreeViewColumn[] Columns { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.TreeViewColumn[] Columns" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeViewColumn[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>A list of all the columns currently in this TreeView.</summary>
<value>a <see cref="T:Gtk.TreeViewColumn[]" /></value>
<remarks />
</Docs>
</Member>
<Member MemberName="ColumnsAutosize">
<MemberSignature Language="C#" Value="public void ColumnsAutosize ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ColumnsAutosize() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Resizes all columns to their optimal width.</summary>
<remarks>Only works after the <see cref="T:Gtk.TreeView" /> has been realized.</remarks>
</Docs>
</Member>
<Member MemberName="ColumnsChanged">
<MemberSignature Language="C#" Value="public event EventHandler ColumnsChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler ColumnsChanged" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("columns-changed")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when the columns of this tree change.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ConvertBinWindowToTreeCoords">
<MemberSignature Language="C#" Value="public void ConvertBinWindowToTreeCoords (int bx, int by, out int tx, out int ty);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ConvertBinWindowToTreeCoords(int32 bx, int32 by, int32 tx, int32 ty) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="bx" Type="System.Int32" />
<Parameter Name="by" Type="System.Int32" />
<Parameter Name="tx" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="ty" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="bx">To be added.</param>
<param name="by">To be added.</param>
<param name="tx">To be added.</param>
<param name="ty">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="ConvertBinWindowToWidgetCoords">
<MemberSignature Language="C#" Value="public void ConvertBinWindowToWidgetCoords (int bx, int by, out int wx, out int wy);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ConvertBinWindowToWidgetCoords(int32 bx, int32 by, int32 wx, int32 wy) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="bx" Type="System.Int32" />
<Parameter Name="by" Type="System.Int32" />
<Parameter Name="wx" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="wy" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="bx">To be added.</param>
<param name="by">To be added.</param>
<param name="wx">To be added.</param>
<param name="wy">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="ConvertTreeToBinWindowCoords">
<MemberSignature Language="C#" Value="public void ConvertTreeToBinWindowCoords (int tx, int ty, out int bx, out int by);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ConvertTreeToBinWindowCoords(int32 tx, int32 ty, int32 bx, int32 by) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="tx" Type="System.Int32" />
<Parameter Name="ty" Type="System.Int32" />
<Parameter Name="bx" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="by" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="tx">To be added.</param>
<param name="ty">To be added.</param>
<param name="bx">To be added.</param>
<param name="by">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="ConvertTreeToWidgetCoords">
<MemberSignature Language="C#" Value="public void ConvertTreeToWidgetCoords (int tx, int ty, out int wx, out int wy);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ConvertTreeToWidgetCoords(int32 tx, int32 ty, int32 wx, int32 wy) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="tx" Type="System.Int32" />
<Parameter Name="ty" Type="System.Int32" />
<Parameter Name="wx" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="wy" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="tx">To be added.</param>
<param name="ty">To be added.</param>
<param name="wx">To be added.</param>
<param name="wy">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="ConvertWidgetToBinWindowCoords">
<MemberSignature Language="C#" Value="public void ConvertWidgetToBinWindowCoords (int wx, int wy, out int bx, out int by);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ConvertWidgetToBinWindowCoords(int32 wx, int32 wy, int32 bx, int32 by) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="wx" Type="System.Int32" />
<Parameter Name="wy" Type="System.Int32" />
<Parameter Name="bx" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="by" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="wx">To be added.</param>
<param name="wy">To be added.</param>
<param name="bx">To be added.</param>
<param name="by">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="ConvertWidgetToTreeCoords">
<MemberSignature Language="C#" Value="public void ConvertWidgetToTreeCoords (int wx, int wy, out int tx, out int ty);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ConvertWidgetToTreeCoords(int32 wx, int32 wy, int32 tx, int32 ty) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="wx" Type="System.Int32" />
<Parameter Name="wy" Type="System.Int32" />
<Parameter Name="tx" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="ty" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="wx">To be added.</param>
<param name="wy">To be added.</param>
<param name="tx">To be added.</param>
<param name="ty">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="CreateRowDragIcon">
<MemberSignature Language="C#" Value="public Cairo.Surface CreateRowDragIcon (Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Cairo.Surface CreateRowDragIcon(class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Cairo.Surface</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
</Parameters>
<Docs>
<param name="path">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="CursorChanged">
<MemberSignature Language="C#" Value="public event EventHandler CursorChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler CursorChanged" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("cursor-changed")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when the cursor changes (rows).</summary>
<remarks>
<example>
<code lang="C#">
using Gtk;
using System;
class MainClass
{
public static int Main (string[] args)
{
Application.Init ();
Window win = new Window("TreeView Cursor Changed Example");
win.DeleteEvent += OnWindowDelete;
TreeStore store = new TreeStore(typeof(string), typeof(string));
for (int i = 0; i &lt; 5; i++)
store.AppendValues("demo " + i, "data " + i);
TreeView tv = new TreeView();
tv.HeadersVisible = true;
tv.Selection.Mode = SelectionMode.Single;
tv.AppendColumn("Demo", new CellRendererText(), "text", 0);
tv.AppendColumn("Data", new CellRendererText(), "text", 1);
tv.CursorChanged += OnCursorChanged;
tv.Model = store;
win.Add(tv);
win.ShowAll();
Application.Run ();
return 0;
}
static void OnWindowDelete(object obj, DeleteEventArgs args)
{
Application.Quit();
}
static void OnCursorChanged(object obj, EventArgs e)
{
TreeSelection selection = (obj as TreeView).Selection;
TreeModel model;
TreeIter iter;
// The iter will point to the selected row
if(selection.GetSelected(out model, out iter))
Console.WriteLine("Path of selected row = {0}", model.GetPath(iter));
}
}
</code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="DestroyCountFunc">
<MemberSignature Language="C#" Value="public Gtk.TreeDestroyCountFunc DestroyCountFunc { set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.TreeDestroyCountFunc DestroyCountFunc" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeDestroyCountFunc</ReturnType>
</ReturnValue>
<Docs>
<summary>This property should almost never be used. It is meant for private use by ATK for determining the number of visible children that are removed when the user collapses a row, or a row is deleted.</summary>
<value>a <see cref="T:Gtk.TreeDestroyCountFunc" /></value>
<remarks>It is meant for private use by Atk for determining the number of visible children that are removed when the user collapses a row, or a row is deleted.</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="EnableGridLines">
<MemberSignature Language="C#" Value="public Gtk.TreeViewGridLines EnableGridLines { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gtk.TreeViewGridLines EnableGridLines" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("enable-grid-lines")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.TreeViewGridLines</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicates which grid lines are drawn.</summary>
<value>a set of <see cref="T:Gtk.TreeViewGridLines" /> flags.</value>
<remarks />
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="EnableModelDragDest">
<MemberSignature Language="C#" Value="public void EnableModelDragDest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void EnableModelDragDest(valuetype Gtk.TargetEntry[] targets, valuetype Gdk.DragAction actions) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="targets" Type="Gtk.TargetEntry[]" />
<Parameter Name="actions" Type="Gdk.DragAction" />
</Parameters>
<Docs>
<param name="targets">a <see cref="T:Gtk.TargetEntry" />[], a table of targets this TreeView will support.</param>
<param name="actions">a <see cref="T:Gdk.DragAction" />, a bitmap of possible actions for a drag to this target</param>
<summary>Turns this TreeView object into a destination for automatic drag-and-drop.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="EnableModelDragSource">
<MemberSignature Language="C#" Value="public void EnableModelDragSource (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void EnableModelDragSource(valuetype Gdk.ModifierType start_button_mask, valuetype Gtk.TargetEntry[] targets, valuetype Gdk.DragAction actions) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="start_button_mask" Type="Gdk.ModifierType" />
<Parameter Name="targets" Type="Gtk.TargetEntry[]" />
<Parameter Name="actions" Type="Gdk.DragAction" />
</Parameters>
<Docs>
<param name="start_button_mask">a <see cref="T:Gdk.ModifierType" />, the mask of the allowed buttons for starting a drag</param>
<param name="targets">a <see cref="T:Gtk.TargetEntry" />[], a table of supported targets for dragging to</param>
<param name="actions">a <see cref="T:Gdk.DragAction" />, what should be done with the dragged data.</param>
<summary>Allows the TreeView to be used as a source for drag-and-drop actions.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="EnableSearch">
<MemberSignature Language="C#" Value="public bool EnableSearch { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool EnableSearch" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("enable-search")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>View allows user to search through columns interactively.</summary>
<value>an object of type <see cref="T:System.Boolean" /></value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="EnableTreeLines">
<MemberSignature Language="C#" Value="public bool EnableTreeLines { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool EnableTreeLines" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("enable-tree-lines")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicates if connecting lines are drawn for expanders.</summary>
<value>if <see langword="true" />, connecting lines are drawn.</value>
<remarks />
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="EvenRowColor">
<MemberSignature Language="C#" Value="public Gdk.Color EvenRowColor { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gdk.Color EvenRowColor" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Color</ReturnType>
</ReturnValue>
<Docs>
<summary>This property contains the background color that is used for all odd rows.</summary>
<value>a <see cref="T:Gdk.Color" /></value>
<remarks>The odd row color is only used when the <see cref="M:Gtk.TreeView.RulesHint" /> property is set to true.</remarks>
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="ExpandAll">
<MemberSignature Language="C#" Value="public void ExpandAll ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ExpandAll() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Recursively expands all nodes.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="ExpandCollapseCursorRow">
<MemberSignature Language="C#" Value="public event Gtk.ExpandCollapseCursorRowHandler ExpandCollapseCursorRow;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.ExpandCollapseCursorRowHandler ExpandCollapseCursorRow" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("expand-collapse-cursor-row")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.ExpandCollapseCursorRowHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when the row where the cursor is is expanded or collapsed.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ExpanderColumn">
<MemberSignature Language="C#" Value="public Gtk.TreeViewColumn ExpanderColumn { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.TreeViewColumn ExpanderColumn" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("expander-column")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.TreeViewColumn</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Set the column for the expander column.</summary>
<value>an object of type <see cref="T:Gtk.TreeViewColumn" /></value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="ExpandRow">
<MemberSignature Language="C#" Value="public bool ExpandRow (Gtk.TreePath path, bool open_all);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool ExpandRow(class Gtk.TreePath path, bool open_all) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="open_all" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="path">an object of type <see cref="T:Gtk.TreePath" /></param>
<param name="open_all">an object of type <see cref="T:System.Boolean" /></param>
<summary>Opens the row so its children are visible.</summary>
<returns>an object of type <see cref="T:System.Boolean" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="ExpandToPath">
<MemberSignature Language="C#" Value="public void ExpandToPath (Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ExpandToPath(class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
</Parameters>
<Docs>
<param name="path">
<see cref="T:Gtk.TreePath" /> to expand to.</param>
<summary>Expands the treeview so the Path specified is visible.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="FixedHeightMode">
<MemberSignature Language="C#" Value="public bool FixedHeightMode { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool FixedHeightMode" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("fixed-height-mode")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not to assume all rows are the same height.</summary>
<value>a <see cref="T:System.Boolean" /></value>
<remarks>This is an optimization; set to <see langword="true" /> for fastest performance.</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="GetBackgroundArea">
<MemberSignature Language="C#" Value="public Gdk.Rectangle GetBackgroundArea (Gtk.TreePath path, Gtk.TreeViewColumn column);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype Gdk.Rectangle GetBackgroundArea(class Gtk.TreePath path, class Gtk.TreeViewColumn column) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Rectangle</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
</Parameters>
<Docs>
<param name="path">a <see cref="T:Gtk.TreePath" /></param>
<param name="column">a <see cref="T:Gtk.TreeViewColumn" /></param>
<summary>Fills the bounding rectangle in tree window coordinates for the cell at the row specified by <paramref name="path" /> and the column specified by <paramref name="column" />.</summary>
<returns>a <see cref="T:Gdk.Rectangle" /></returns>
<remarks>
<para>
If <paramref name="path" /> is <see langword="null" />, or points to a node not found in the tree, the y and height fields of the rectangle will be filled with 0. If <paramref name="column" /> is <see langword="null" />, the x and width fields will be filled with 0. The returned rectangle is equivalent to the <paramref name="background_area" /> passed to <see cref="M:Gtk.CellRenderer.Render()" />. These background areas tile to cover the entire tree window (except for the area used for header buttons). Contrast with the <paramref name="cell_area" />, returned by <see cref="M:Gtk.TreeView.GetCellArea()" />, which returns only the cell itself, excluding surrounding borders and the tree expander area.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetCellArea">
<MemberSignature Language="C#" Value="public Gdk.Rectangle GetCellArea (Gtk.TreePath path, Gtk.TreeViewColumn column);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype Gdk.Rectangle GetCellArea(class Gtk.TreePath path, class Gtk.TreeViewColumn column) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Rectangle</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
</Parameters>
<Docs>
<param name="path">a <see cref="T:Gtk.TreePath" /></param>
<param name="column">a <see cref="T:Gtk.TreeViewColumn" /></param>
<summary>Fills the bounding rectangle in tree window coordinates for the cell at the row specified by <paramref name="path" /> and the column specified by <paramref name="column" />.</summary>
<returns>a <see cref="T:Gdk.Rectangle" /></returns>
<remarks>
<para>
If <paramref name="path" /> is <see langword="null" />, or points to a path not currently displayed, the y and height fields of the rectangle will be filled with 0. If <paramref name="column" /> is <see langword="null" />, the x and width fields will be filled with 0. The sum of all cell rects does not cover the entire tree; there are extra pixels in between rows, for example. This function is only valid if <see cref="T:Gtk.TreeView" /> is realized.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetColumn">
<MemberSignature Language="C#" Value="public Gtk.TreeViewColumn GetColumn (int n);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Gtk.TreeViewColumn GetColumn(int32 n) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeViewColumn</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="n" Type="System.Int32" />
</Parameters>
<Docs>
<param name="n">an object of type <see cref="T:System.Int32" /></param>
<summary>Gets the <see cref="T:Gtk.TreeViewColumn" /> at the given position in the <see cref="T:Gtk.TreeView" />.</summary>
<returns>an object of type <see cref="T:Gtk.TreeViewColumn" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="GetCursor">
<MemberSignature Language="C#" Value="public void GetCursor (out Gtk.TreePath path, out Gtk.TreeViewColumn focus_column);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GetCursor(class Gtk.TreePath path, class Gtk.TreeViewColumn focus_column) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath&amp;" RefType="out" />
<Parameter Name="focus_column" Type="Gtk.TreeViewColumn&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="path">returns a <see cref="T:Gtk.TreePath" /> to the selected row, or <see langword="null" /> if there is no current selection.</param>
<param name="focus_column">returns the focused <see cref="T:Gtk.TreeViewColumn" />, or <see langword="null" />.</param>
<summary>Gets the currently selected row and focused column.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="GetDestRowAtPos">
<MemberSignature Language="C#" Value="public bool GetDestRowAtPos (int drag_x, int drag_y, out Gtk.TreePath path, out Gtk.TreeViewDropPosition pos);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetDestRowAtPos(int32 drag_x, int32 drag_y, class Gtk.TreePath path, valuetype Gtk.TreeViewDropPosition pos) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="drag_x" Type="System.Int32" />
<Parameter Name="drag_y" Type="System.Int32" />
<Parameter Name="path" Type="Gtk.TreePath&amp;" RefType="out" />
<Parameter Name="pos" Type="Gtk.TreeViewDropPosition&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="drag_x">a <see cref="T:System.Int32" />, the X coordinate</param>
<param name="drag_y">a <see cref="T:System.Int32" />, the Y coordinate</param>
<param name="path">a <see cref="T:Gtk.TreePath" /> to put the resulting destination row into.</param>
<param name="pos">a <see cref="T:Gtk.TreeViewDropPosition&amp;" /> to indicate where to put the dragged object, relative to the <see cref="T:Gtk.TreePath" /> returned by this method.</param>
<summary>Determines the destination row for a given XY position. This is used by drag-and-drop operations to determine the target rows for the action.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="GetDragDestRow">
<MemberSignature Language="C#" Value="public void GetDragDestRow (out Gtk.TreePath path, out Gtk.TreeViewDropPosition pos);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GetDragDestRow(class Gtk.TreePath path, valuetype Gtk.TreeViewDropPosition pos) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath&amp;" RefType="out" />
<Parameter Name="pos" Type="Gtk.TreeViewDropPosition&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="path">a <see cref="T:Gtk.TreePath" /> to put the highlighted path into.</param>
<param name="pos">a <see cref="T:Gtk.TreeViewDropPosition" /> to put the drop position into.</param>
<summary>Gets information about the row that is highlighted for feedback.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="GetPathAtPos">
<MemberSignature Language="C#" Value="public bool GetPathAtPos (int x, int y, out Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetPathAtPos(int32 x, int32 y, class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="path" Type="Gtk.TreePath&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="x">an object of type <see cref="T:System.Int32" /></param>
<param name="y">an object of type <see cref="T:System.Int32" /></param>
<param name="path">an object of type <see cref="T:Gtk.TreePath" /></param>
<summary>Finds the path at the point (x, y), relative to widget coordinates.</summary>
<returns>an object of type <see cref="T:System.Boolean" /></returns>
<remarks>It is primarily for things like popup menus. If <paramref name="path" /> is non-<see langword="null" />, then it will be filled with the <see cref="T:Gtk.TreePath" /> at that point. If <paramref name="column" /> is non-<see langword="null" />, then it will be filled with the <paramref name="column" /> at that point. This function is only meaningful if TreeView is realized.</remarks>
</Docs>
</Member>
<Member MemberName="GetPathAtPos">
<MemberSignature Language="C#" Value="public bool GetPathAtPos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetPathAtPos(int32 x, int32 y, class Gtk.TreePath path, class Gtk.TreeViewColumn column) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="path" Type="Gtk.TreePath&amp;" RefType="out" />
<Parameter Name="column" Type="Gtk.TreeViewColumn&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="x">a <see cref="T:System.Int32" />, an x coordinate</param>
<param name="y">a <see cref="T:System.Int32" />, a y coordinate</param>
<param name="path">a <see cref="T:Gtk.TreePath" /> to fill with the path at the (x,y) coordinate.</param>
<param name="column">a <see cref="T:Gtk.TreeViewColumn" /> to fill with the column at the (x,y) coordinate.</param>
<summary>Finds the path at the point (x, y), relative to widget coordinates.</summary>
<returns>a <see cref="T:System.Boolean" />, true if a row exists at (x,y)</returns>
<remarks>This is an alternate invocation form which doesn't return coordinates for the position relative to a cell's background.</remarks>
</Docs>
</Member>
<Member MemberName="GetPathAtPos">
<MemberSignature Language="C#" Value="public bool GetPathAtPos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column, out int cell_x, out int cell_y);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetPathAtPos(int32 x, int32 y, class Gtk.TreePath path, class Gtk.TreeViewColumn column, int32 cell_x, int32 cell_y) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="path" Type="Gtk.TreePath&amp;" RefType="out" />
<Parameter Name="column" Type="Gtk.TreeViewColumn&amp;" RefType="out" />
<Parameter Name="cell_x" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="cell_y" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="x">a <see cref="T:System.Int32" />, an x coordinate</param>
<param name="y">a <see cref="T:System.Int32" />, a y coordinate</param>
<param name="path">a <see cref="T:Gtk.TreePath" /> to fill with the path at the (x,y) coordinate.</param>
<param name="column">a <see cref="T:Gtk.TreeViewColumn" /> to fill with the column at the (x,y) coordinate.</param>
<param name="cell_x">a <see cref="T:System.Int32" /> to fill with the x coordinate relative to the cell background.</param>
<param name="cell_y">a <see cref="T:System.Int32" /> to fill with the y coordinate relative to the cell background.</param>
<summary>Finds the path at the point (x, y), relative to widget coordinates.</summary>
<returns>a <see cref="T:System.Boolean" />, true if a row exists at (x,y).</returns>
<remarks>
<para>x and y must come from an event on the tree_view only where the event's window is the same as the window this TreeView renders to. 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 <see cref="T:Gtk.TreePath.Free" />. If column is non-NULL, then it will be filled with the column at that point.</para>
<para>cell_x and cell_y return the coordinates relative to the cell background (i.e. the background_area passed to <see cref="T:Gtk.CellRenderer.Render" />). This function is only meaningful if the TreeView object is realized.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetRowExpanded">
<MemberSignature Language="C#" Value="public bool GetRowExpanded (Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetRowExpanded(class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
</Parameters>
<Docs>
<param name="path">an object of type <see cref="T:Gtk.TreePath" /></param>
<summary>Returns <see langword="true" /> if the node pointed to by <paramref name="path" /> is expanded.</summary>
<returns>an object of type <see cref="T:System.Boolean" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="GetTooltipContext">
<MemberSignature Language="C#" Value="public bool GetTooltipContext (ref int x, ref int y, bool keyboard_tip, out Gtk.ITreeModel model, out Gtk.TreePath path, out Gtk.TreeIter iter);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetTooltipContext(int32 x, int32 y, bool keyboard_tip, class Gtk.ITreeModel model, class Gtk.TreePath path, valuetype Gtk.TreeIter iter) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32&amp;" RefType="ref" />
<Parameter Name="y" Type="System.Int32&amp;" RefType="ref" />
<Parameter Name="keyboard_tip" Type="System.Boolean" />
<Parameter Name="model" Type="Gtk.ITreeModel&amp;" RefType="out" />
<Parameter Name="path" Type="Gtk.TreePath&amp;" RefType="out" />
<Parameter Name="iter" Type="Gtk.TreeIter&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="x">To be added.</param>
<param name="y">To be added.</param>
<param name="keyboard_tip">To be added.</param>
<param name="model">To be added.</param>
<param name="path">To be added.</param>
<param name="iter">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="GetVisibleRange">
<MemberSignature Language="C#" Value="public bool GetVisibleRange (out Gtk.TreePath start_path, out Gtk.TreePath end_path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetVisibleRange(class Gtk.TreePath start_path, class Gtk.TreePath end_path) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="start_path" Type="Gtk.TreePath&amp;" RefType="out" />
<Parameter Name="end_path" Type="Gtk.TreePath&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="start_path">returns a <see cref="Gtk.TreePath" /> to the first visible row.</param>
<param name="end_path">returns a <see cref="Gtk.TreePath" /> to the last visible row.</param>
<summary>Gets the visible rows of the view.</summary>
<returns>
<see langword="true" /> if the start and end paths were set.</returns>
<remarks>Note: there may be invisible paths between the start and end paths returned.</remarks>
<since version="Gtk# 2.8" />
</Docs>
</Member>
<Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>GType Property.</summary>
<value>a <see cref="T:GLib.GType" /></value>
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gtk.TreeView" />.</remarks>
</Docs>
</Member>
<Member MemberName="Hadjustment">
<MemberSignature Language="C#" Value="public Gtk.Adjustment Hadjustment { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.Adjustment Hadjustment" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("hadjustment")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.Adjustment</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Horizontal Adjustment for the widget.</summary>
<value>an object of type <see cref="T:Gtk.Adjustment" /></value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="HeadersClickable">
<MemberSignature Language="C#" Value="public bool HeadersClickable { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HeadersClickable" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("headers-clickable")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Column headers respond to click events.</summary>
<value>a <see cref="T:System.Boolean" /></value>
<remarks />
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="HeadersVisible">
<MemberSignature Language="C#" Value="public bool HeadersVisible { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HeadersVisible" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("headers-visible")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Show the column header buttons.</summary>
<value>an object of type <see cref="T:System.Boolean" /></value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="HoverExpand">
<MemberSignature Language="C#" Value="public bool HoverExpand { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HoverExpand" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("hover-expand")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<value>a <see cref="T:System.Boolean" /></value>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="HoverSelection">
<MemberSignature Language="C#" Value="public bool HoverSelection { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HoverSelection" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("hover-selection")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether a row should be highlighted when the cursor is over it.</summary>
<value>a <see cref="T:System.Boolean" /></value>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="HscrollPolicy">
<MemberSignature Language="C#" Value="public Gtk.ScrollablePolicy HscrollPolicy { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gtk.ScrollablePolicy HscrollPolicy" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("hscroll-policy")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.ScrollablePolicy</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="InsertColumn">
<MemberSignature Language="C#" Value="public int InsertColumn (Gtk.TreeViewColumn column, int position);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 InsertColumn(class Gtk.TreeViewColumn column, int32 position) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
<Parameter Name="position" Type="System.Int32" />
</Parameters>
<Docs>
<param name="column">an object of type <see cref="T:Gtk.TreeViewColumn" /></param>
<param name="position">an object of type <see cref="T:System.Int32" /></param>
<summary>This inserts the <paramref name="column" /> into the <see cref="T:Gtk.TreeView" /> at <paramref name="position" />.</summary>
<returns>an object of type <see cref="T:System.Int32" /></returns>
<remarks>If <paramref name="position" /> is -1, then the <paramref name="column" /> is inserted at the end.</remarks>
</Docs>
</Member>
<Member MemberName="InsertColumn">
<MemberSignature Language="C#" Value="public int InsertColumn (int pos, string title, Gtk.CellRenderer cell, Gtk.CellLayoutDataFunc cell_data);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 InsertColumn(int32 pos, string title, class Gtk.CellRenderer cell, class Gtk.CellLayoutDataFunc cell_data) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pos" Type="System.Int32" />
<Parameter Name="title" Type="System.String" />
<Parameter Name="cell" Type="Gtk.CellRenderer" />
<Parameter Name="cell_data" Type="Gtk.CellLayoutDataFunc" />
</Parameters>
<Docs>
<param name="pos">a <see cref="T:System.Int32" />, the position of the new column (-1 to append, positive numbers to insert)</param>
<param name="title">a <see cref="T:System.String" />, the column title</param>
<param name="cell">a <see cref="T:Gtk.CellRenderer" />, the renderer object</param>
<param name="cell_data">a <see cref="T:Gtk.CellLayoutDataFunc" />, a function for presenting the data</param>
<summary>Convenience function that inserts a new column into the tree view
with the given cell renderer and a <see cref="T:Gtk.CellLayoutDataFunc" /> to set cell renderer
attributes (normally using data from the model). </summary>
<returns>The number of columns in the tree view after the insertion.</returns>
<remarks>
See also <see cref="M:Gtk.TreeViewColumn.SetCellDataFunc" />, <see cref="M:Gtk.TreeViewColumn.PackStart" />.
If the tree view has <see cref="P:Gtk.TreeViewColumn.FixedHeightMode" /> enabled, then <paramref name="column" /> must have its
<see cref="P:Gtk.TreeViewColumn.Sizing" /> property set to be <see cref="P:Gtk.TreeViewColumnSizing.Fixed" />.
</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="InsertColumn">
<MemberSignature Language="C#" Value="public int InsertColumn (int pos, string title, Gtk.CellRenderer cell, object[] attrs);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 InsertColumn(int32 pos, string title, class Gtk.CellRenderer cell, object[] attrs) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pos" Type="System.Int32" />
<Parameter Name="title" Type="System.String" />
<Parameter Name="cell" Type="Gtk.CellRenderer" />
<Parameter Name="attrs" Type="System.Object[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="pos">a <see cref="T:System.Int32" />, the position of the new column (-1 to append, positive numbers to insert)</param>
<param name="title">a <see cref="T:System.String" />, the column title</param>
<param name="cell">a <see cref="T:Gtk.CellRenderer" />, the renderer object</param>
<param name="attrs">an array of attribute bindings</param>
<summary>Convenience function that inserts a new column into the tree view
with the given cell renderer and attribute bindings for the cell renderer.
</summary>
<returns>The number of columns in the tree view after the insertion.</returns>
<remarks />
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="IsBlankAtPos">
<MemberSignature Language="C#" Value="public bool IsBlankAtPos (int x, int y, Gtk.TreePath path, Gtk.TreeViewColumn column, out int cell_x, out int cell_y);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool IsBlankAtPos(int32 x, int32 y, class Gtk.TreePath path, class Gtk.TreeViewColumn column, int32 cell_x, int32 cell_y) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
<Parameter Name="cell_x" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="cell_y" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="x">To be added.</param>
<param name="y">To be added.</param>
<param name="path">To be added.</param>
<param name="column">To be added.</param>
<param name="cell_x">To be added.</param>
<param name="cell_y">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="IsRubberBandingActive">
<MemberSignature Language="C#" Value="public bool IsRubberBandingActive { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsRubberBandingActive" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="LevelIndentation">
<MemberSignature Language="C#" Value="public int LevelIndentation { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 LevelIndentation" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("level-indentation")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Extra indentation amount for each level of the hierarchy.</summary>
<value>defaults to 0.</value>
<remarks />
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="MapExpandedRows">
<MemberSignature Language="C#" Value="public void MapExpandedRows (Gtk.TreeViewMappingFunc func);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void MapExpandedRows(class Gtk.TreeViewMappingFunc func) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="func" Type="Gtk.TreeViewMappingFunc" />
</Parameters>
<Docs>
<param name="func">a <see cref="T:Gtk.TreeViewMappingFunc" /> to execute on every expanded row.</param>
<summary>Calls the given function on all expanded rows.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Model">
<MemberSignature Language="C#" Value="public Gtk.ITreeModel Model { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.ITreeModel Model" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("model")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.ITreeModel</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>The model for the TreeView.</summary>
<value>an object of type <see cref="T:Gtk.TreeModel" /></value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="MoveColumnAfter">
<MemberSignature Language="C#" Value="public void MoveColumnAfter (Gtk.TreeViewColumn column, Gtk.TreeViewColumn base_column);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void MoveColumnAfter(class Gtk.TreeViewColumn column, class Gtk.TreeViewColumn base_column) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
<Parameter Name="base_column" Type="Gtk.TreeViewColumn" />
</Parameters>
<Docs>
<param name="column">an object of type <see cref="T:Gtk.TreeViewColumn" /></param>
<param name="base_column">an object of type <see cref="T:Gtk.TreeViewColumn" /></param>
<summary>Moves <paramref name="column" /> to be after to <paramref name="base_column" />.</summary>
<remarks>If <paramref name="base_column" /> is <see langword="null" />, then <paramref name="column" /> is placed in the first position.</remarks>
</Docs>
</Member>
<Member MemberName="MoveCursor">
<MemberSignature Language="C#" Value="public event Gtk.MoveCursorHandler MoveCursor;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.MoveCursorHandler MoveCursor" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("move-cursor")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.MoveCursorHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised whenever the cursor is moved on this TreeView.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="OddRowColor">
<MemberSignature Language="C#" Value="public Gdk.Color OddRowColor { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gdk.Color OddRowColor" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Color</ReturnType>
</ReturnValue>
<Docs>
<summary>This property contains the background color that is used for all even rows.</summary>
<value>a <see cref="T:Gdk.Color" /></value>
<remarks />
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="OnColumnsChanged">
<MemberSignature Language="C#" Value="protected virtual void OnColumnsChanged ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnColumnsChanged() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideColumnsChanged", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.TreeView.ColumnsChanged" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.ColumnsChanged" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnCursorChanged">
<MemberSignature Language="C#" Value="protected virtual void OnCursorChanged ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnCursorChanged() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideCursorChanged", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.TreeView.CursorChanged" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.CursorChanged" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnExpandCollapseCursorRow">
<MemberSignature Language="C#" Value="protected virtual bool OnExpandCollapseCursorRow (bool logical, bool expand, bool open_all);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnExpandCollapseCursorRow(bool logical, bool expand, bool open_all) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideExpandCollapseCursorRow", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="logical" Type="System.Boolean" />
<Parameter Name="expand" Type="System.Boolean" />
<Parameter Name="open_all" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="logical">a <see cref="T:System.Boolean" /></param>
<param name="expand">a <see cref="T:System.Boolean" /></param>
<param name="open_all">a <see cref="T:System.Boolean" /></param>
<summary>Default handler for the <see cref="M:Gtk.TreeView.ExpandCollapseCursorRow" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.ExpandCollapseCursorRow" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnMoveCursor">
<MemberSignature Language="C#" Value="protected virtual bool OnMoveCursor (Gtk.MovementStep step, int count);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnMoveCursor(valuetype Gtk.MovementStep step, int32 count) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="step" Type="Gtk.MovementStep" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="step">a <see cref="T:Gtk.MovementStep" /></param>
<param name="count">a <see cref="T:System.Int32" /></param>
<summary>Default handler for the <see cref="M:Gtk.TreeView.MoveCursor" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.MoveCursor" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnRowActivated">
<MemberSignature Language="C#" Value="protected virtual void OnRowActivated (Gtk.TreePath path, Gtk.TreeViewColumn column);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnRowActivated(class Gtk.TreePath path, class Gtk.TreeViewColumn column) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowActivated", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
</Parameters>
<Docs>
<param name="path">a <see cref="T:Gtk.TreePath" /></param>
<param name="column">a <see cref="T:Gtk.TreeViewColumn" /></param>
<summary>Default handler for the <see cref="M:Gtk.TreeView.RowActivated" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.RowActivated" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnRowCollapsed">
<MemberSignature Language="C#" Value="protected virtual void OnRowCollapsed (Gtk.TreeIter iter, Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnRowCollapsed(valuetype Gtk.TreeIter iter, class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowCollapsed", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="iter" Type="Gtk.TreeIter" />
<Parameter Name="path" Type="Gtk.TreePath" />
</Parameters>
<Docs>
<param name="iter">a <see cref="T:Gtk.TreeIter" /></param>
<param name="path">a <see cref="T:Gtk.TreePath" /></param>
<summary>Default handler for the <see cref="M:Gtk.TreeView.RowCollapsed" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.RowCollapsed" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnRowExpanded">
<MemberSignature Language="C#" Value="protected virtual void OnRowExpanded (Gtk.TreeIter iter, Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnRowExpanded(valuetype Gtk.TreeIter iter, class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowExpanded", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="iter" Type="Gtk.TreeIter" />
<Parameter Name="path" Type="Gtk.TreePath" />
</Parameters>
<Docs>
<param name="iter">a <see cref="T:Gtk.TreeIter" /></param>
<param name="path">a <see cref="T:Gtk.TreePath" /></param>
<summary>Default handler for the <see cref="M:Gtk.TreeView.RowExpanded" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.RowExpanded" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSelectAll">
<MemberSignature Language="C#" Value="protected virtual bool OnSelectAll ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnSelectAll() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectAll", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.TreeView.SelectAll" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.SelectAll" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSelectCursorParent">
<MemberSignature Language="C#" Value="protected virtual bool OnSelectCursorParent ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnSelectCursorParent() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectCursorParent", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.TreeView.SelectCursorParent" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.SelectCursorParent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSelectCursorRow">
<MemberSignature Language="C#" Value="protected virtual bool OnSelectCursorRow (bool start_editing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnSelectCursorRow(bool start_editing) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectCursorRow", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="start_editing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="start_editing">a <see cref="T:System.Boolean" /></param>
<summary>Default handler for the <see cref="M:Gtk.TreeView.SelectCursorRow" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.SelectCursorRow" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnStartInteractiveSearch">
<MemberSignature Language="C#" Value="protected virtual bool OnStartInteractiveSearch ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnStartInteractiveSearch() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideStartInteractiveSearch", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.TreeView.StartInteractiveSearch" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.StartInteractiveSearch" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnTestCollapseRow">
<MemberSignature Language="C#" Value="protected virtual bool OnTestCollapseRow (Gtk.TreeIter iter, Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnTestCollapseRow(valuetype Gtk.TreeIter iter, class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideTestCollapseRow", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="iter" Type="Gtk.TreeIter" />
<Parameter Name="path" Type="Gtk.TreePath" />
</Parameters>
<Docs>
<param name="iter">a <see cref="T:Gtk.TreeIter" /></param>
<param name="path">a <see cref="T:Gtk.TreePath" /></param>
<summary>Default handler for the <see cref="M:Gtk.TreeView.TestCollapseRow" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.TestCollapseRow" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnTestExpandRow">
<MemberSignature Language="C#" Value="protected virtual bool OnTestExpandRow (Gtk.TreeIter iter, Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnTestExpandRow(valuetype Gtk.TreeIter iter, class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideTestExpandRow", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="iter" Type="Gtk.TreeIter" />
<Parameter Name="path" Type="Gtk.TreePath" />
</Parameters>
<Docs>
<param name="iter">a <see cref="T:Gtk.TreeIter" /></param>
<param name="path">a <see cref="T:Gtk.TreePath" /></param>
<summary>Default handler for the <see cref="M:Gtk.TreeView.TestExpandRow" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.TestExpandRow" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnToggleCursorRow">
<MemberSignature Language="C#" Value="protected virtual bool OnToggleCursorRow ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnToggleCursorRow() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleCursorRow", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.TreeView.ToggleCursorRow" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.ToggleCursorRow" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnUnselectAll">
<MemberSignature Language="C#" Value="protected virtual bool OnUnselectAll ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnUnselectAll() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideUnselectAll", Type=typeof(Gtk.TreeView))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.TreeView.UnselectAll" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.TreeView.UnselectAll" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveColumn">
<MemberSignature Language="C#" Value="public int RemoveColumn (Gtk.TreeViewColumn column);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 RemoveColumn(class Gtk.TreeViewColumn column) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
</Parameters>
<Docs>
<param name="column">an object of type <see cref="T:Gtk.TreeViewColumn" /></param>
<summary>Removes <paramref name="column" /> from <see cref="T:Gtk.TreeView" />.</summary>
<returns>an object of type <see cref="T:System.Int32" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="Reorderable">
<MemberSignature Language="C#" Value="public bool Reorderable { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Reorderable" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("reorderable")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Allows to reorder rows in the view (this enables the internal drag and drop of TreeView rows).</summary>
<value>an object of type <see cref="T:System.Boolean" /></value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="RowActivated">
<MemberSignature Language="C#" Value="public event Gtk.RowActivatedHandler RowActivated;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.RowActivatedHandler RowActivated" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("row-activated")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.RowActivatedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when a row is activated; see <see cref="M:Gtk.TreeView.ActivateRow" />.</summary>
<remarks>
<block subset="none" type="note">
<para>
This event is usually raised when the user doubleclicks a row.
</para>
</block>
<example>
<code lang="C#">
using System;
using Gtk;
class Selection
{
static void Main ()
{
Application.Init ();
Window win = new Window ("Row activated sample");
win.DeleteEvent += OnWinDelete;
TreeView tv = new TreeView ();
tv.AppendColumn ("Items", new CellRendererText (), "text", 0);
ListStore store = new ListStore (typeof (string));
store.AppendValues ("item 1");
store.AppendValues ("item 2");
tv.Model = store;
tv.RowActivated += OnRowActivate;
win.Add (tv);
win.ShowAll ();
Application.Run ();
}
static void OnRowActivate (object o, RowActivatedArgs args)
{
Console.WriteLine("row {0} was doubleclicked", args.Path);
}
static void OnWinDelete (object o, DeleteEventArgs args)
{
Application.Quit ();
}
}
</code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="RowCollapsed">
<MemberSignature Language="C#" Value="public event Gtk.RowCollapsedHandler RowCollapsed;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.RowCollapsedHandler RowCollapsed" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("row-collapsed")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.RowCollapsedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised whenever a row is collapsed.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="RowExpanded">
<MemberSignature Language="C#" Value="public event Gtk.RowExpandedHandler RowExpanded;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.RowExpandedHandler RowExpanded" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("row-expanded")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.RowExpandedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised whenever a row of the TreeView is expanded.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="RowSeparatorFunc">
<MemberSignature Language="C#" Value="public Gtk.TreeViewRowSeparatorFunc RowSeparatorFunc { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.TreeViewRowSeparatorFunc RowSeparatorFunc" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeViewRowSeparatorFunc</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Callback function to indicate whether or not a given row of the tree view should be rendered as a separator.</summary>
<value>a <see cref="T:Gtk.TreeViewRowSeparatorFunc" /></value>
<remarks />
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="RubberBanding">
<MemberSignature Language="C#" Value="public bool RubberBanding { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool RubberBanding" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("rubber-banding")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicates if Rubberbanding multi-selection is supported.</summary>
<value>if <see langword="true" />, rubberbanding is active.</value>
<remarks />
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="RulesHint">
<MemberSignature Language="C#" Value="public bool RulesHint { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool RulesHint" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("rules-hint")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Whether to display alternating, shaded rows in the <see cref="Gtk.TreeView" />.</summary>
<value>an object of type <see cref="T:System.Boolean" /></value>
<remarks>
<para>Setting <see cref="P:Gtk.TreeView.RulesHint" /> to <see langword="true" /> sets a hint to the theme engine to draw rows in alternating colors.</para>
<para>
This property tells GTK# that the user interface for your application requires users to read across tree rows and associate cells with one another. By default, GTK# will then render the tree with alternating row colors. Do not use it just because you prefer the appearance of the ruled tree; that's a question for the theme. Some themes will draw tree rows in alternating colors even when rules are turned off, and users who prefer that appearance all the time can choose those themes. You should set this property only as a semantic hint to the theme engine that your tree makes alternating colors useful from a functional standpoint (since it has lots of columns, generally).
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ScrollToCell">
<MemberSignature Language="C#" Value="public void ScrollToCell (Gtk.TreePath path, Gtk.TreeViewColumn column, bool use_align, float row_align, float col_align);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ScrollToCell(class Gtk.TreePath path, class Gtk.TreeViewColumn column, bool use_align, float32 row_align, float32 col_align) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
<Parameter Name="use_align" Type="System.Boolean" />
<Parameter Name="row_align" Type="System.Single" />
<Parameter Name="col_align" Type="System.Single" />
</Parameters>
<Docs>
<param name="path">an object of type <see cref="T:Gtk.TreePath" /></param>
<param name="column">an object of type <see cref="T:Gtk.TreeViewColumn" /></param>
<param name="use_align">an object of type <see cref="T:System.Boolean" /></param>
<param name="row_align">an object of type <see cref="T:System.Single" /></param>
<param name="col_align">an object of type <see cref="T:System.Single" /></param>
<summary>Moves the alignments of the <see cref="T:Gtk.TreeView" /> to the position specified by <paramref name="column" /> and <paramref name="path" />.</summary>
<remarks>
<para>
If <paramref name="column" /> is <see langword="null" />, then no horizontal scrolling occurs. Likewise, if <paramref name="path" /> is <see langword="null" /> no vertical scrolling occurs. At a minimum, one of <paramref name="column" /> or <paramref name="path" /> need to be non-<see langword="null" />. <paramref name="row_align" /> determines where the row is placed, and <paramref name="col_align" /> determines where the column is placed. Both are expected to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means center.
</para>
<para>
If <paramref name="use_align" /> is <see langword="false" />, then the alignment arguments are ignored, and the tree does the minimum amount of work to scroll the cell onto the screen. This means that the cell will be scrolled to the edge closest to its current position. If the cell is currently visible on the screen, nothing is done.
</para>
<para>
This function only works if the model is set, and <paramref name="path" /> is a valid row on the model. If the model changes before the <see cref="Gtk.TreeView" /> is realized, the centered path will be modified to reflect this change.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ScrollToPoint">
<MemberSignature Language="C#" Value="public void ScrollToPoint (int tree_x, int tree_y);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ScrollToPoint(int32 tree_x, int32 tree_y) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="tree_x" Type="System.Int32" />
<Parameter Name="tree_y" Type="System.Int32" />
</Parameters>
<Docs>
<param name="tree_x">an object of type <see cref="T:System.Int32" /></param>
<param name="tree_y">an object of type <see cref="T:System.Int32" /></param>
<summary>Scrolls the <see cref="T:Gtk.TreeView" /> such that the top-left corner of the visible area is <paramref name="tree_x" />, <paramref name="tree_y" />, where <paramref name="tree_x" /> and <paramref name="tree_y" /> are specified in tree window coordinates.</summary>
<remarks>The <see cref="T:Gtk.TreeView" /> must be realized before this function is called. If it is not, you probably want to be using <see cref="M:Gtk.TreeView.ScrollToCell(Gtk.TreePath,Gtk.TreeViewColumn,System.Boolean,System.Single,System.Single)" />.</remarks>
</Docs>
</Member>
<Member MemberName="SearchColumn">
<MemberSignature Language="C#" Value="public int SearchColumn { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 SearchColumn" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("search-column")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Model column to search through when searching through code.</summary>
<value>an object of type <see cref="T:System.Int32" /></value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="SearchEntry">
<MemberSignature Language="C#" Value="public Gtk.Entry SearchEntry { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.Entry SearchEntry" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Entry</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies a custom search entry widget for the view.</summary>
<value>if <see langword="null" />, the default popup entry is used.</value>
<remarks>This is useful for providing a fixed position search entry to the interface.</remarks>
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="SearchEqualFunc">
<MemberSignature Language="C#" Value="public Gtk.TreeViewSearchEqualFunc SearchEqualFunc { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.TreeViewSearchEqualFunc SearchEqualFunc" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeViewSearchEqualFunc</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The compare function for the interactive search capabilities.</summary>
<value>a <see cref="T:Gtk.TreeViewSearchEqualFunc" /></value>
<remarks />
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="SearchPositionFunc">
<MemberSignature Language="C#" Value="public Gtk.TreeViewSearchPositionFunc SearchPositionFunc { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.TreeViewSearchPositionFunc SearchPositionFunc" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeViewSearchPositionFunc</ReturnType>
</ReturnValue>
<Docs>
<summary>Delegate to use when positioning the search dialog for the view.</summary>
<value>a search position delegate.</value>
<remarks />
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="SelectAll">
<MemberSignature Language="C#" Value="public event Gtk.SelectAllHandler SelectAll;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.SelectAllHandler SelectAll" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("select-all")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.SelectAllHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised whenever all rows of the TreeView are selected.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SelectCursorParent">
<MemberSignature Language="C#" Value="public event Gtk.SelectCursorParentHandler SelectCursorParent;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.SelectCursorParentHandler SelectCursorParent" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("select-cursor-parent")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.SelectCursorParentHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when the parent row of the current row is selected.</summary>
<remarks>(FIXME: explain in more detail.</remarks>
</Docs>
</Member>
<Member MemberName="SelectCursorRow">
<MemberSignature Language="C#" Value="public event Gtk.SelectCursorRowHandler SelectCursorRow;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.SelectCursorRowHandler SelectCursorRow" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("select-cursor-row")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.SelectCursorRowHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when the row the cursor is on is selected.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Selection">
<MemberSignature Language="C#" Value="public Gtk.TreeSelection Selection { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.TreeSelection Selection" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.TreeSelection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:Gtk.TreeSelection" /> associated with the TreeView.</summary>
<value>an object of type <see cref="T:Gtk.TreeSelection" /></value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="SetCursor">
<MemberSignature Language="C#" Value="public void SetCursor (Gtk.TreePath path, Gtk.TreeViewColumn focus_column, bool start_editing);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetCursor(class Gtk.TreePath path, class Gtk.TreeViewColumn focus_column, bool start_editing) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="focus_column" Type="Gtk.TreeViewColumn" />
<Parameter Name="start_editing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="path">an object of type <see cref="T:Gtk.TreePath" /></param>
<param name="focus_column">an object of type <see cref="T:Gtk.TreeViewColumn" /></param>
<param name="start_editing">an object of type <see cref="T:System.Boolean" /></param>
<summary>Sets the current keyboard focus to be at <paramref name="path" />, and selects it.</summary>
<remarks>This is useful when you want to focus the attention of the user on a particular row. If <paramref name="focus_column" /> is not <see langword="null" />, then focus is given to the column specified by it. Additionally, if <paramref name="focus_column" /> is specified, and <paramref name="start_editing" /> is <see langword="true" />, then editing should be started in the specified cell. This function is often followed by <see cref="M:Gtk.Widget.GrabFocus()" /> in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized.</remarks>
</Docs>
</Member>
<Member MemberName="SetCursorOnCell">
<MemberSignature Language="C#" Value="public void SetCursorOnCell (Gtk.TreePath path, Gtk.TreeViewColumn focus_column, Gtk.CellRenderer focus_cell, bool start_editing);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetCursorOnCell(class Gtk.TreePath path, class Gtk.TreeViewColumn focus_column, class Gtk.CellRenderer focus_cell, bool start_editing) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="focus_column" Type="Gtk.TreeViewColumn" />
<Parameter Name="focus_cell" Type="Gtk.CellRenderer" />
<Parameter Name="start_editing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="path">a <see cref="T:Gtk.TreePath" /></param>
<param name="focus_column">a <see cref="T:Gtk.TreeViewColumn" /></param>
<param name="focus_cell">a <see cref="T:Gtk.CellRenderer" /></param>
<param name="start_editing">a <see cref="T:System.Boolean" /></param>
<summary>Sets the current keyboard focus to be on the given <see cref="T:Gtk.TreePath" />. This is useful for getting the user's attention to a particular row.</summary>
<remarks>
<para>If focus_column is not null, then focus is given to the column specified by it. If focus_column and focus_cell are not null, and focus_column contains 2 or more editable or activatable cells, then focus is given to the cell specified by focus_cell. Additionally, if focus_column is specified, and start_editing is null, then editing should be started in the specified cell.</para>
<para>This function is often followed by<see cref="T:Gtk.Widget.GrabFocus" />(tree_view_obj) in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetDragDestRow">
<MemberSignature Language="C#" Value="public void SetDragDestRow (Gtk.TreePath path, Gtk.TreeViewDropPosition pos);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetDragDestRow(class Gtk.TreePath path, valuetype Gtk.TreeViewDropPosition pos) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="pos" Type="Gtk.TreeViewDropPosition" />
</Parameters>
<Docs>
<param name="path">an object of type <see cref="T:Gtk.TreePath" />, the path of the row to highlight, or null.</param>
<param name="pos">an object of type <see cref="T:Gtk.TreeViewDropPosition" />, specifying whether to drop before, after, or into the row.</param>
<summary>Sets the row that is highlighted for drag-and-drop feedback.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SetTooltipCell">
<MemberSignature Language="C#" Value="public void SetTooltipCell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.TreeViewColumn column, Gtk.CellRenderer cell);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetTooltipCell(class Gtk.Tooltip tooltip, class Gtk.TreePath path, class Gtk.TreeViewColumn column, class Gtk.CellRenderer cell) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="tooltip" Type="Gtk.Tooltip" />
<Parameter Name="path" Type="Gtk.TreePath" />
<Parameter Name="column" Type="Gtk.TreeViewColumn" />
<Parameter Name="cell" Type="Gtk.CellRenderer" />
</Parameters>
<Docs>
<param name="tooltip">To be added.</param>
<param name="path">To be added.</param>
<param name="column">To be added.</param>
<param name="cell">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="SetTooltipRow">
<MemberSignature Language="C#" Value="public void SetTooltipRow (Gtk.Tooltip tooltip, Gtk.TreePath path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetTooltipRow(class Gtk.Tooltip tooltip, class Gtk.TreePath path) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="tooltip" Type="Gtk.Tooltip" />
<Parameter Name="path" Type="Gtk.TreePath" />
</Parameters>
<Docs>
<param name="tooltip">To be added.</param>
<param name="path">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="ShowExpanders">
<MemberSignature Language="C#" Value="public bool ShowExpanders { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool ShowExpanders" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("show-expanders")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicates if expanders are shown.</summary>
<value>defaults to <see langword="true" />.</value>
<remarks />
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="StartInteractiveSearch">
<MemberSignature Language="C#" Value="public event Gtk.StartInteractiveSearchHandler StartInteractiveSearch;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.StartInteractiveSearchHandler StartInteractiveSearch" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("start-interactive-search")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.StartInteractiveSearchHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when the user begins a search of the tree.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="TestCollapseRow">
<MemberSignature Language="C#" Value="public event Gtk.TestCollapseRowHandler TestCollapseRow;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.TestCollapseRowHandler TestCollapseRow" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("test-collapse-row")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.TestCollapseRowHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when the system wants to know whether a particular row can be collapsed.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="TestExpandRow">
<MemberSignature Language="C#" Value="public event Gtk.TestExpandRowHandler TestExpandRow;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.TestExpandRowHandler TestExpandRow" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("test-expand-row")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.TestExpandRowHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when the widget wants to find out whether a row can be expanded or not.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ToggleCursorRow">
<MemberSignature Language="C#" Value="public event Gtk.ToggleCursorRowHandler ToggleCursorRow;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.ToggleCursorRowHandler ToggleCursorRow" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("toggle-cursor-row")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.ToggleCursorRowHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised when the cursor toggles a row.</summary>
<remarks>(FIXME: explain in more detail.)</remarks>
</Docs>
</Member>
<Member MemberName="TooltipColumn">
<MemberSignature Language="C#" Value="public int TooltipColumn { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 TooltipColumn" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("tooltip-column")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="UnselectAll">
<MemberSignature Language="C#" Value="public event Gtk.UnselectAllHandler UnselectAll;" />
<MemberSignature Language="ILAsm" Value=".event class Gtk.UnselectAllHandler UnselectAll" />
<MemberType>Event</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal("unselect-all")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.UnselectAllHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised whenever all rows of the TreeView are specifically deselected.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="UnsetRowsDragDest">
<MemberSignature Language="C#" Value="public void UnsetRowsDragDest ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void UnsetRowsDragDest() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Disables the TreeView as a drag-and-drop destination.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UnsetRowsDragSource">
<MemberSignature Language="C#" Value="public void UnsetRowsDragSource ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void UnsetRowsDragSource() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Disables the TreeView as a drag source for automatic drag and drop actions.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Vadjustment">
<MemberSignature Language="C#" Value="public Gtk.Adjustment Vadjustment { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.Adjustment Vadjustment" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("vadjustment")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.Adjustment</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Vertical Adjustment for the widget.</summary>
<value>an object of type <see cref="T:Gtk.Adjustment" /></value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="VisibleRect">
<MemberSignature Language="C#" Value="public Gdk.Rectangle VisibleRect { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gdk.Rectangle VisibleRect" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Rectangle</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the currently-visible region of the tree view, in tree view coordinates.</summary>
<value>a <see cref="T:Gdk.Rectangle" /></value>
<remarks>Convert to widget coordinates with <see cref="M:Gtk.TreeView.TreeToWidgetCoords(System.Int32,System.Int32,System.Int32,System.Int32)" />. Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree.</remarks>
</Docs>
</Member>
<Member MemberName="VscrollPolicy">
<MemberSignature Language="C#" Value="public Gtk.ScrollablePolicy VscrollPolicy { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Gtk.ScrollablePolicy VscrollPolicy" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("vscroll-policy")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.ScrollablePolicy</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
</Members>
</Type>