2004-11-05 21:25:40 +00:00
<Type Name= "CellLayout" FullName= "Gtk.CellLayout" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public interface CellLayout : GLib.IWrapper" />
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>
2007-12-06 18:37:54 +00:00
<AssemblyVersion > 2.12.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-02 06:33:01 +00:00
<summary > Manages layout for table cells.</summary>
2005-01-04 18:54:02 +00:00
<remarks />
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
<Interfaces >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
<Members >
<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>
2004-12-02 06:33:01 +00:00
<remarks >
2005-01-04 18:54:02 +00:00
Note that <paramref name= "cell" /> has already to be packed
2004-12-02 06:33:01 +00:00
into the cell layout 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 >
2004-12-02 06:33:01 +00:00
<summary >
2005-01-04 18:54:02 +00:00
Adds the <paramref name= "cell" /> to the end of the cell layout.
2004-12-02 06:33:01 +00:00
</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= "expand" > a <see cref= "T:System.Boolean" /> , TRUE if <paramref name= "cell" /> is to be given extra space allocated to this cell layout.</param>
2004-12-02 06:33:01 +00:00
<remarks >
2005-01-04 18:54:02 +00:00
If <paramref name= "expand" /> is FALSE, then the
2004-12-02 06:33:01 +00:00
cell is allocated no more space than it needs. Any unused space is
2005-01-04 18:54:02 +00:00
divided evenly between cells for which <paramref name= "expand" /> is
2004-12-02 06:33:01 +00:00
TRUE.
</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 >
2004-12-02 06:33:01 +00:00
<summary >
2005-01-04 18:54:02 +00:00
Packs <paramref name= "cell" /> into the beginning of the cell layout.
2004-12-02 06:33:01 +00:00
</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= "expand" > a <see cref= "T:System.Boolean" /> , TRUE if <paramref name= "cell" /> is to be given extra space allocated to this cell layout.</param>
2004-12-02 06:33:01 +00:00
<remarks >
2005-01-04 18:54:02 +00:00
If <paramref name= "expand" /> is FALSE, then the
2004-12-02 06:33:01 +00:00
cell is allocated no more space than it needs. Any unused space is
2005-01-04 18:54:02 +00:00
divided evenly between cells for which <paramref name= "expand" /> is
2004-12-02 06:33:01 +00:00
TRUE.
</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 >
2004-12-02 06:33:01 +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>
<param name= "attribute" > a <see cref= "T:System.String" /> </param>
<param name= "column" > a <see cref= "T:System.Int32" /> </param>
2004-12-02 06:33:01 +00:00
<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
2004-12-02 06:33:01 +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.CellRendererText" /> get its values from column 2.
2004-12-02 06:33:01 +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 >
2004-12-02 06:33:01 +00:00
<summary > Clears all existing attributes previously set with
2005-01-04 18:54:02 +00:00
<see cref= "M:Gtk.CellLayout.SetAttributes" /> .</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
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</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 >
2004-12-02 06:33:01 +00:00
<summary > Unsets all the mappings on all renderers for this cell layout.</summary>
2005-01-04 18:54:02 +00:00
<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 >
2004-12-02 06:33:01 +00:00
<summary > Sets up a data function for this 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>
2004-12-02 06:33:01 +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 layout's cell renderer(s)
2005-01-04 18:54:02 +00:00
as appropriate. <paramref name= "func" /> may be <see langword= "null" /> to remove an older one.
2004-12-02 06:33:01 +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 renderer, object[] attrs);" />
2005-01-04 18:54:02 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "renderer" Type= "Gtk.CellRenderer" />
<Parameter Name= "attrs" Type= "System.Object[]" />
</Parameters>
<Docs >
<summary > Sets the attribute to model column bindings for a renderer.</summary>
<param name= "renderer" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<param name= "attrs" > a <see cref= "T:System.Object" /> </param>
2005-05-04 11:47:25 +00:00
<remarks > The <paramref name= "attrs" /> array should consist of pairs of attribute names and column indices.</remarks>
2005-01-04 18:54:02 +00:00
</Docs>
</Member>
2004-11-05 21:25:40 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>