2004-11-05 21:25:40 +00:00
<Type Name= "CellView" FullName= "Gtk.CellView" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class CellView : Gtk.Widget, Gtk.CellLayout" />
2004-11-05 21:25:40 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
<AssemblyPublicKey > [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
2005-09-03 04:11:38 +00:00
<AssemblyVersion > 2.6.0.0</AssemblyVersion>
2004-11-05 21:25:40 +00:00
</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>
<Docs >
2004-12-21 00:16:14 +00:00
<summary > A widget displaying a single row of a <see cref= "T:Gtk.TreeModel" /> </summary>
<remarks > A <see cref= "T:Gtk.CellView" /> displays a single row of a <see cref= "T:Gtk.TreeModel" /> , using cell renderers just like <see cref= "T:Gtk.TreeView" /> . <see cref= "T:Gtk.CellView" /> does not support some of the more complex features of <see cref= "T:Gtk.TreeView" /> , like cell editing and drag and drop.</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Widget</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > Gtk.CellLayout</InterfaceName>
</Interface>
</Interfaces>
<Members >
<Member MemberName= "NewWithText" >
<MemberSignature Language= "C#" Value= "public static Gtk.CellView NewWithText (string text);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.CellView</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "text" Type= "System.String" />
</Parameters>
<Docs >
2005-01-03 14:32:42 +00:00
<summary > Creates a new <see cref= "T:Gtk.CellView" /> widget, adds a <see cref= "T:Gtk.CellRendererText" /> to it, and makes it show <paramref name= "text" /> .</summary>
2004-11-05 21:25:40 +00:00
<param name= "text" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:Gtk.CellView" /> </returns>
2004-12-21 00:16:14 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "GetSizeOfRow" >
<MemberSignature Language= "C#" Value= "public bool GetSizeOfRow (Gtk.TreePath path, Gtk.Requisition requisition);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "path" Type= "Gtk.TreePath" />
<Parameter Name= "requisition" Type= "Gtk.Requisition" />
</Parameters>
<Docs >
2004-12-21 00:16:14 +00:00
<summary > Sets <paramref name= "requisition" /> to the size needed by the CellView to display the model row pointed to by <paramref name= "path" /> .</summary>
2004-11-05 21:25:40 +00:00
<param name= "path" > a <see cref= "T:Gtk.TreePath" /> </param>
2004-12-21 00:16:14 +00:00
<param name= "requisition" > a <see cref= "T:Gtk.Requisition" /> , return location for the size</param>
2004-11-05 21:25:40 +00:00
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-12-21 00:16:14 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Reorder" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void Reorder (Gtk.CellRenderer cell, int position);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
<Docs >
2005-01-04 18:54:02 +00:00
<summary > Re-inserts <paramref name= "cell" /> at <paramref name= "position" /> .</summary>
2004-11-05 21:25:40 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<param name= "position" > a <see cref= "T:System.Int32" /> </param>
2005-01-03 03:28:16 +00:00
<remarks >
2005-01-04 18:54:02 +00:00
Note that <paramref name= "cell" /> has already to be packed
2005-01-03 03:28:16 +00:00
into its view for this to function properly.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "PackEnd" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void PackEnd (Gtk.CellRenderer cell, bool expand);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
<Parameter Name= "expand" Type= "System.Boolean" />
</Parameters>
<Docs >
2005-01-04 18:54:02 +00:00
<summary > Adds the <paramref name= "cell" /> into the end of the cell layout.</summary>
2004-11-05 21:25:40 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<param name= "expand" > a <see cref= "T:System.Boolean" /> </param>
2005-01-03 03:28:16 +00:00
<remarks >
2005-01-04 18:54:02 +00:00
If <paramref name= "expand" /> is <see langword= "false" /> , then the
<paramref name= "cell" /> is allocated no more space than it needs. Any unused space is
divided evenly between cells for which <paramref name= "expand" /> is <see langword= "true" /> .
2005-01-03 03:28:16 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "PackStart" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void PackStart (Gtk.CellRenderer cell, bool expand);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
<Parameter Name= "expand" Type= "System.Boolean" />
</Parameters>
<Docs >
2005-01-04 18:54:02 +00:00
<summary > Packs the <paramref name= "cell" /> into the beginning of the cell layout.</summary>
2004-11-05 21:25:40 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<param name= "expand" > a <see cref= "T:System.Boolean" /> </param>
2005-01-03 03:28:16 +00:00
<remarks >
2005-01-04 18:54:02 +00:00
If <paramref name= "expand" /> is <see langword= "false" /> , then the
<paramref name= "cell" /> is allocated no more space than it needs. Any unused space is
divided evenly between cells for which <paramref name= "expand" /> is <see langword= "true" /> .
2005-01-03 03:28:16 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "AddAttribute" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void AddAttribute (Gtk.CellRenderer cell, string attribute, int column);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
<Parameter Name= "attribute" Type= "System.String" />
<Parameter Name= "column" Type= "System.Int32" />
</Parameters>
<Docs >
2005-01-03 03:28:16 +00:00
<summary >
Adds an attribute mapping to the list for this cell layout.
</summary>
2004-11-05 21:25:40 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
2005-01-04 18:54:02 +00:00
<param name= "attribute" > a <see cref= "T:System.String" /> , parameter on <paramref name= "cell" /> to be set from the value</param>
2005-01-03 03:28:16 +00:00
<param name= "column" > a <see cref= "T:System.Int32" /> , column of the model to get a value from.</param>
<remarks >
2005-01-04 18:54:02 +00:00
The <paramref name= "column" /> is the column of the model to get a value from, and the <paramref name= "attribute" /> is the
parameter on <paramref name= "cell" /> to be set from the value. So for example if column 2
2005-01-03 03:28:16 +00:00
of the model contains strings, you could have the "text" attribute of a
2005-01-04 18:54:02 +00:00
<see cref= "T:Gtk.ComboBox" /> get its values from column 2.
2005-01-03 03:28:16 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "ClearAttributes" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void ClearAttributes (Gtk.CellRenderer cell);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
</Parameters>
<Docs >
2005-05-23 20:41:51 +00:00
<see cref= "M:Gtk.CellView.SetAttributes" />
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<remarks >
</remarks>
<summary > To be added.</summary>
</Docs>
2004-11-05 21:25:40 +00:00
</Member>
<Member MemberName= "Clear" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void Clear ();" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-01-03 03:28:16 +00:00
<summary > Unsets all the mappings on all renderers for this cell view.</summary>
2005-01-04 18:54:02 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected CellView (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
2004-12-21 00:16:14 +00:00
<summary > Internal constructor</summary>
2004-11-05 21:25:40 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2004-12-21 00:16:14 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CellView (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
2004-12-21 00:16:14 +00:00
<summary > Internal constructor</summary>
2004-11-05 21:25:40 +00:00
<param name= "raw" > a <see cref= "T:System.IntPtr" /> </param>
2004-12-21 00:16:14 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CellView ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-12-21 00:16:14 +00:00
<summary > Creates a new <see cref= "T:Gtk.CellView" /> widget.</summary>
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CellView (Gdk.Pixbuf pixbuf);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "pixbuf" Type= "Gdk.Pixbuf" />
</Parameters>
<Docs >
2004-12-21 00:16:14 +00:00
<summary > Creates a new <see cref= "T:Gtk.CellView" /> widget, adds a <see cref= "T:Gtk.CellRendererPixbuf" /> to it, and makes its show <paramref name= "pixbuf" /> .</summary>
2004-11-05 21:25:40 +00:00
<param name= "pixbuf" > a <see cref= "T:Gdk.Pixbuf" /> </param>
2004-12-21 00:16:14 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-21 00:16:14 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-12-21 00:16:14 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.CellView" /> .</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "BackgroundGdk" >
<MemberSignature Language= "C#" Value= "public Gdk.Color BackgroundGdk { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-21 00:16:14 +00:00
<summary > The background color as a <see cref= "T:Gdk.Color" /> </summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Color" /> </value>
2004-12-21 00:16:14 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="background_gdk")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Background" >
<MemberSignature Language= "C#" Value= "public string Background { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2004-12-21 00:16:14 +00:00
<summary > Background color as a string.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </value>
2004-12-21 00:16:14 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="background")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Model" >
<MemberSignature Language= "C#" Value= "public Gtk.TreeModel Model { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.TreeModel</ReturnType>
</ReturnValue>
<Docs >
2004-12-21 00:16:14 +00:00
<summary > Sets the model for the CellView.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.TreeModel" /> </value>
2004-12-21 00:16:14 +00:00
<remarks > If the CellView already has a model set, it will remove it before setting the new model. If <paramref name= "model" /> is <see langword= "null" /> , then it will unset the old model.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "BackgroundColor" >
<MemberSignature Language= "C#" Value= "public Gdk.Color BackgroundColor { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Docs >
2004-12-21 00:16:14 +00:00
<summary > The background color</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Color" /> </value>
2004-12-21 00:16:14 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "DisplayedRow" >
<MemberSignature Language= "C#" Value= "public Gtk.TreePath DisplayedRow { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.TreePath</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-21 00:16:14 +00:00
<summary > The row of the model that is currently displayed</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.TreePath" /> , or <see langword= "null" /> to unset.</value>
2004-12-21 00:16:14 +00:00
<remarks > If the path is unset, then the contents of the cellview "stick" at their last value; this is not normally a desired result, but may be a needed intermediate state if say, the model for the <see cref= "T:Gtk.CellView" /> becomes temporarily empty.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
2004-11-15 17:02:37 +00:00
<Member MemberName= "SetCellDataFunc" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SetCellDataFunc (Gtk.CellRenderer cell, Gtk.CellLayoutDataFunc func);" />
2004-11-15 17:02:37 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2005-05-04 11:47:25 +00:00
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
2004-11-15 17:02:37 +00:00
<Parameter Name= "func" Type= "Gtk.CellLayoutDataFunc" />
</Parameters>
<Docs >
2005-01-03 03:28:16 +00:00
<summary > Sets a data function to use for the cell layout.</summary>
2005-05-04 11:47:25 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
2004-11-15 17:02:37 +00:00
<param name= "func" > a <see cref= "T:Gtk.CellLayoutDataFunc" /> </param>
2005-01-03 03:28:16 +00:00
<remarks >
The data function
is used instead of the standard attributes mapping for setting the
column value, and should set the value of the cell renderer
2005-01-04 18:54:02 +00:00
as appropriate. <paramref name= "func" /> may be <see langword= "null" /> to remove an older one.
2005-01-03 03:28:16 +00:00
</remarks>
2004-11-15 17:02:37 +00:00
</Docs>
</Member>
2005-01-04 18:54:02 +00:00
<Member MemberName= "SetAttributes" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SetAttributes (Gtk.CellRenderer cell, object[] attrs);" />
2005-01-04 18:54:02 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
2005-05-23 20:41:51 +00:00
<Parameter Name= "attrs" Type= "System.Object[]" >
<Attributes >
<Attribute >
<AttributeName > System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
2005-01-04 18:54:02 +00:00
</Parameters>
<Docs >
<summary > Sets the attribute to model column bindings for a renderer.</summary>
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<param name= "attrs" > a <see cref= "T:System.Object" /> </param>
2005-01-24 18:25:02 +00:00
<remarks > The <paramref name= "attrs" /> array should consist of pairs of attribute name and column index.</remarks>
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CellView (string markup);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "markup" Type= "System.String" />
</Parameters>
<Docs >
<summary > Creates a new <see cref= "T:Gtk.CellView" /> widget, adds a <see cref= "T:Gtk.CellRendererText" /> to it, and makes it show <paramref name= "markup" /> .</summary>
<param name= "markup" > a <see cref= "T:System.String" /> </param>
<remarks />
2005-01-04 18:54:02 +00:00
</Docs>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "CellRenderers" >
<MemberSignature Language= "C#" Value= "public GLib.List CellRenderers { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.List</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.List" /> </value>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
2004-11-05 21:25:40 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>