2004-11-05 21:25:40 +00:00
<Type Name= "ComboBox" FullName= "Gtk.ComboBox" >
2005-09-03 04:11:38 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class ComboBox : Gtk.Bin, Gtk.CellEditable, 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>
2006-08-04 19:43:19 +00:00
<AssemblyVersion > 2.10.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 >
2005-01-02 23:55:33 +00:00
<summary > A widget used to choose from a list of items.</summary>
2004-12-01 00:11:21 +00:00
<remarks >
<example >
<code lang= "C#" >
using System;
using Gtk;
class ComboBoxSample
{
static void Main ()
{
new ComboBoxSample ();
}
ComboBoxSample ()
{
Application.Init ();
Window win = new Window ("ComboBoxSample");
win.DeleteEvent += new DeleteEventHandler (OnWinDelete);
ComboBox combo = ComboBox.NewText ();
for (int i = 0; i < 5; i ++)
combo.AppendText ("item " + i);
combo.Changed += new EventHandler (OnComboBoxChanged);
win.Add (combo);
win.ShowAll ();
Application.Run ();
}
void OnComboBoxChanged (object o, EventArgs args)
{
ComboBox combo = o as ComboBox;
if (o == null)
return;
TreeIter iter;
if (combo.GetActiveIter (out iter))
Console.WriteLine ((string) combo.Model.GetValue (iter, 0));
}
void OnWinDelete (object obj, DeleteEventArgs args)
{
Application.Quit ();
}
}
</code>
</example>
</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.Bin</BaseTypeName>
</Base>
<Interfaces >
2005-09-03 04:11:38 +00:00
<Interface >
<InterfaceName > Gtk.CellEditable</InterfaceName>
</Interface>
2004-11-05 21:25:40 +00:00
<Interface >
2005-05-23 20:41:51 +00:00
<InterfaceName > Gtk.CellLayout</InterfaceName>
2004-11-05 21:25:40 +00:00
</Interface>
</Interfaces>
<Members >
<Member MemberName= "NewText" >
<MemberSignature Language= "C#" Value= "public static Gtk.ComboBox NewText ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.ComboBox</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Convenience function which constructs a new text combo box, which is a <see cref= "T:Gtk.ComboBox" /> just displaying strings.</summary>
2004-11-05 21:25:40 +00:00
<returns > a <see cref= "T:Gtk.ComboBox" /> </returns>
2004-12-01 00:11:21 +00:00
<remarks > If you use this function to create a text combo box, you should only manipulate its data source with the following convenience functions: <see cref= "M:Gtk.ComboBox.AppendText()" /> , <see cref= "M:Gtk.ComboBox.InsertText()" /> , <see cref= "M:Gtk.ComboBox.PrependText()" /> and <see cref= "M:Gtk.ComboBox.RemoveText()" /> .</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "OnChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnChanged ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Default handler for the <see cref= "E:Gtk.ComboBox.Changed" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "E:Gtk.ComboBox.Changed" /> event.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "InsertText" >
<MemberSignature Language= "C#" Value= "public void InsertText (int position, string text);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "position" Type= "System.Int32" />
<Parameter Name= "text" Type= "System.String" />
</Parameters>
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Inserts <paramref name= "text" /> at <paramref name= "position" /> in the list of strings stored in <see cref= "T:Gtk.ComboBox" /> .</summary>
<param name= "position" > An index to insert <paramref name= "text" /> .</param>
<param name= "text" > a <see cref= "T:System.String" /> to insert</param>
<remarks >
<block subset= "none" type= "note" >
<para > You can only use this function with combo boxes constructed with <see cref= "M:Gtk.ComboBox.NewText()" /> .
</para>
</block>
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "PrependText" >
<MemberSignature Language= "C#" Value= "public void PrependText (string text);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "text" Type= "System.String" />
</Parameters>
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Prepends <paramref name= "string" /> to the list of strings stored in the <see cref= "T:Gtk.ComboBox" /> .</summary>
2004-11-05 21:25:40 +00:00
<param name= "text" > a <see cref= "T:System.String" /> </param>
2004-12-01 00:11:21 +00:00
<remarks >
<block subset= "none" type= "note" >
<para > You can only use this function with combo boxes constructed with <see cref= "M:Gtk.ComboBox.NewText()" /> .
</para>
</block>
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Popup" >
<MemberSignature Language= "C#" Value= "public void Popup ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Pops up the menu or dropdown list of <see cref= "T:Gtk.ComboBox" /> .</summary>
<remarks > This function is mostly intended for use by accessibility technologies; applications should have little use for it.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "RemoveText" >
<MemberSignature Language= "C#" Value= "public void RemoveText (int position);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Removes text at <paramref name= "position" /> in the list of strings stored in <see cref= "T:Gtk.ComboBox" /> .</summary>
2004-11-05 21:25:40 +00:00
<param name= "position" > a <see cref= "T:System.Int32" /> </param>
2004-12-01 00:11:21 +00:00
<remarks >
<block subset= "none" type= "note" >
<para > You can only use this function with combo boxes constructed with <see cref= "M:Gtk.ComboBox.NewText()" /> .
</para>
</block>
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "GetActiveIter" >
<MemberSignature Language= "C#" Value= "public bool GetActiveIter (out Gtk.TreeIter iter);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "iter" Type= "Gtk.TreeIter&" RefType= "out" />
</Parameters>
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Gets the iter that points to the current active item, if it exists.</summary>
2004-11-05 21:25:40 +00:00
<param name= "iter" > a <see cref= "T:Gtk.TreeIter" /> </param>
2004-12-01 00:11:21 +00:00
<returns > a <see cref= "T:System.Boolean" /> , <see langword= "true" /> if it exists.</returns>
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SetActiveIter" >
<MemberSignature Language= "C#" Value= "public void SetActiveIter (Gtk.TreeIter iter);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "iter" Type= "Gtk.TreeIter" />
</Parameters>
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Sets the current active item to be the one referenced by iter.</summary>
2004-11-05 21:25:40 +00:00
<param name= "iter" > a <see cref= "T:Gtk.TreeIter" /> </param>
2005-01-04 18:54:02 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Popdown" >
<MemberSignature Language= "C#" Value= "public void Popdown ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Hides the menu or dropdown list of this <see cref= "T:Gtk.ComboBox" /> .</summary>
<remarks > This function is mostly intended for use by accessibility technologies; applications should have little use for it.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "AppendText" >
<MemberSignature Language= "C#" Value= "public void AppendText (string text);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "text" Type= "System.String" />
</Parameters>
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Appends <paramref name= "text" /> to the list of strings stored in <see cref= "T:Gtk.ComboBox" /> .</summary>
2004-11-05 21:25:40 +00:00
<param name= "text" > a <see cref= "T:System.String" /> </param>
2004-12-01 00:11:21 +00:00
<remarks >
<block subset= "none" type= "note" >
<para > You can only use this function with combo boxes constructed with <see cref= "M:Gtk.ComboBox.NewText()" /> .
</para>
</block>
</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-02 23:55:33 +00:00
<remarks >
2005-01-04 18:54:02 +00:00
Note that <paramref name= "cell" /> has already to be packed
2005-01-02 23:55:33 +00:00
into the combo box for this to function properly.
</remarks>
2005-01-03 03:28:16 +00:00
</Docs> i
2004-11-05 21:25:40 +00:00
</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" /> to the end of the combo box.</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-02 23:55:33 +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-02 23:55:33 +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 combo box.</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-02 23:55:33 +00:00
<summary >
Adds an attribute mapping to the list in this combo box.
</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-02 23:55:33 +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-02 23:55:33 +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-02 23:55:33 +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-01-02 23:55:33 +00:00
<summary >
Clears all existing attributes previously set with
2005-01-04 18:54:02 +00:00
<see cref= "M:Gtk.ComboBox.SetAttributes" /> .
2005-01-02 23:55:33 +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
<remarks >
</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 >
2005-01-02 23:55:33 +00:00
<summary > Unsets all the mappings on all renderers for this combo box.</summary>
2005-01-04 18:54:02 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<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-05 21:25:40 +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-05 21:25:40 +00:00
<Parameter Name= "func" Type= "Gtk.CellLayoutDataFunc" />
</Parameters>
<Docs >
2005-01-02 23:55:33 +00:00
<summary > Sets a data function to use for the combo box.</summary>
2005-05-04 11:47:25 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
2004-11-05 21:25:40 +00:00
<param name= "func" > a <see cref= "T:Gtk.CellLayoutDataFunc" /> </param>
2005-01-02 23:55:33 +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-02 23:55:33 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected ComboBox (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
2004-12-01 00:11:21 +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-01 00:11:21 +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 ComboBox (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
2004-12-01 00:11:21 +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-01 00:11:21 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ComboBox ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Default constructor</summary>
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ComboBox (Gtk.TreeModel model);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "model" Type= "Gtk.TreeModel" />
</Parameters>
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Creates a new <see cref= "T:Gtk.ComboBox" /> that uses <paramref name= "model" /> </summary>
2004-11-05 21:25:40 +00:00
<param name= "model" > a <see cref= "T:Gtk.TreeModel" /> </param>
2004-12-01 00:11:21 +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-01 00:11:21 +00:00
<summary > GType Property</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-12-01 00:11:21 +00:00
<remarks > Returns the native GLib.GType value for Combo.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "WrapWidth" >
<MemberSignature Language= "C#" Value= "public int WrapWidth { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Wrap width for laying out the items in a grid.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2004-12-01 00:11:21 +00:00
<remarks >
<para >
Allowed values: > = 0
</para>
<para >
Default value: 0
</para>
</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 >
2005-12-09 23:12:49 +00:00
<AttributeName > GLib.Property(Name="wrap-width")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "ColumnSpanColumn" >
<MemberSignature Language= "C#" Value= "public int ColumnSpanColumn { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > The column with column span information.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2004-12-01 00:11:21 +00:00
<remarks > The column span column contains integers which indicate how many columns an item should span.</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 >
2005-12-09 23:12:49 +00:00
<AttributeName > GLib.Property(Name="column-span-column")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Active" >
<MemberSignature Language= "C#" Value= "public int Active { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > The index of the currently active item.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2004-12-01 00:11:21 +00:00
<remarks > -1 if there is no active item.</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="active")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "RowSpanColumn" >
<MemberSignature Language= "C#" Value= "public int RowSpanColumn { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > The column with row span information</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2004-12-01 00:11:21 +00:00
<remarks > The row span column contains integers which indicate how many rows an item should span.</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 >
2005-12-09 23:12:49 +00:00
<AttributeName > GLib.Property(Name="row-span-column")</AttributeName>
2005-05-23 20:41:51 +00:00
</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; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.TreeModel</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > The <see cref= "T:Gtk.TreeModel" /> which is acting as data source for the <see cref= "T:Gtk.ComboBox" /> .</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.TreeModel" /> </value>
2004-12-01 00:11:21 +00:00
<remarks > Will unset a previously set model (if applicable). If model is <see langword= "null" /> , then it will unset the model.
<block subset= "none" type= "note" >
<para > setting the model does not clear the cell renderers, you have to call <see cref= "M:Gtk.ComboBox.Clear()" /> yourself if you need to set up different cell renderers for the new model.
</para>
</block> </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="model")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Changed" >
<MemberSignature Language= "C#" Value= "public event EventHandler Changed;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-01 00:11:21 +00:00
<summary > Emitted when the selected item is changed.</summary>
<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.Signal(CName="changed")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</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);" />
2004-11-15 17:02:37 +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>
2004-11-15 17:02:37 +00:00
</Parameters>
<Docs >
2005-01-04 18:54:02 +00:00
<summary > Sets the attribute to column bindings for a renderer.</summary>
2004-11-15 17:02:37 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
2005-01-04 18:54:02 +00:00
<param name= "attrs" > a <see cref= "T:System.Object" /> </param>
2005-04-21 17:10:54 +00:00
<remarks > The <paramref name= "attrs" /> array should consist of pairs of attribute name and column indexes.</remarks>
</Docs>
</Member>
<Member MemberName= "HasFrame" >
<MemberSignature Language= "C#" Value= "public bool HasFrame { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </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>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="has-frame")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "AddTearoffs" >
<MemberSignature Language= "C#" Value= "public bool AddTearoffs { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </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>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="add-tearoffs")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "FocusOnClick" >
<MemberSignature Language= "C#" Value= "public bool FocusOnClick { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </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>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2005-12-09 23:12:49 +00:00
<AttributeName > GLib.Property(Name="focus-on-click")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "PopupAccessible" >
<MemberSignature Language= "C#" Value= "public Atk.Object PopupAccessible { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Atk.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Atk.Object" /> </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>
<Member MemberName= "ActiveText" >
<MemberSignature Language= "C#" Value= "public string ActiveText { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2006-04-27 14:09:58 +00:00
<summary > Returns the text that is currently selected in the ComboBox.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </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>
2005-09-03 04:11:38 +00:00
<Member MemberName= "EditingDone" >
<MemberSignature Language= "C#" Value= "public event EventHandler EditingDone;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
<since version= "Gtk# 2.6" />
</Docs>
<Attributes >
<Attribute >
<AttributeName > GLib.Signal(CName="editing_done")</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName= "WidgetRemoved" >
<MemberSignature Language= "C#" Value= "public event EventHandler WidgetRemoved;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
<since version= "Gtk# 2.6" />
</Docs>
<Attributes >
<Attribute >
<AttributeName > GLib.Signal(CName="remove_widget")</AttributeName>
</Attribute>
</Attributes>
</Member>
2005-05-04 11:47:25 +00:00
<Member MemberName= "RowSeparatorFunc" >
<MemberSignature Language= "C#" Value= "public Gtk.TreeViewRowSeparatorFunc RowSeparatorFunc { set; get; };" />
<MemberType > Property</MemberType>
2005-04-21 17:10:54 +00:00
<ReturnValue >
2005-05-04 11:47:25 +00:00
<ReturnType > Gtk.TreeViewRowSeparatorFunc</ReturnType>
2005-04-21 17:10:54 +00:00
</ReturnValue>
2005-05-04 11:47:25 +00:00
<Parameters />
2005-04-21 17:10:54 +00:00
<Docs >
2005-05-04 11:47:25 +00:00
<summary > Callback function to indicate whether or not a given row of the combo box should be rendered as a separator.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.TreeViewRowSeparatorFunc" /> </value>
2005-05-04 11:47:25 +00:00
<remarks />
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
2005-09-03 04:11:38 +00:00
<Member MemberName= "RemoveWidget" >
<MemberSignature Language= "C#" Value= "public void RemoveWidget ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
<since version= "Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName= "FinishEditing" >
<MemberSignature Language= "C#" Value= "public void FinishEditing ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
<since version= "Gtk# 2.6" />
</Docs>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "StartEditing" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void StartEditing (Gdk.Event evnt);" />
2005-04-21 17:10:54 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "evnt" Type= "Gdk.Event" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "evnt" > a <see cref= "T:Gdk.Event" /> </param>
<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>
<Member MemberName= "OnEditingDone" >
<MemberSignature Language= "C#" Value= "protected virtual void OnEditingDone ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.ComboBox.EditingDone" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.ComboBox.EditingDone" /> event.</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "OnWidgetRemoved" >
<MemberSignature Language= "C#" Value= "protected virtual void OnWidgetRemoved ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.ComboBox.WidgetRemoved" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.ComboBox.WidgetRemoved" /> event.</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2004-11-15 17:02:37 +00:00
</Docs>
</Member>
2005-08-23 17:02:47 +00:00
<Member MemberName= ".ctor" >
2005-06-28 16:35:36 +00:00
<MemberSignature Language= "C#" Value= "public ComboBox (string[] entries);" />
<MemberType > Constructor</MemberType>
<Parameters >
<Parameter Name= "entries" Type= "System.String[]" />
</Parameters>
<Docs >
<param name= "entries" > A list of string values for the combo entries.</param>
<summary > Creates a Combo box from a list of values.</summary>
<remarks />
</Docs>
</Member>
2006-08-04 23:13:09 +00:00
<Member MemberName= "TearoffTitle" >
<MemberSignature Language= "C#" Value= "public string TearoffTitle { set; get; };" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="tearoff-title")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
<summary > A title to display when the popup is torn off.</summary>
<value > defaults to <see cref= "M:System.String.Empty" /> .</value>
<remarks />
<since version= "Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName= "PopupShown" >
<MemberSignature Language= "C#" Value= "public bool PopupShown { get; };" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="popup-shown")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
<summary > Indicates if the popup is currently visible.</summary>
<value > if <see langword= "true" /> the popup is visible.</value>
<remarks />
<since version= "Gtk# 2.10" />
</Docs>
</Member>
2004-11-05 21:25:40 +00:00
</Members>
2006-08-04 23:13:09 +00:00
</Type>