mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 07:53:17 +02:00
parent
5f03bf3366
commit
be0cb0c025
@ -14,7 +14,8 @@
|
||||
<Base>
|
||||
<BaseTypeName>Gtk.ComboBox</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces></Interfaces>
|
||||
<Interfaces>
|
||||
</Interfaces>
|
||||
<Members>
|
||||
<Member MemberName="NewText">
|
||||
<MemberSignature Language="C#" Value="public static Gtk.ComboBoxEntry NewText ();" />
|
||||
@ -80,8 +81,8 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new <see cref="T:Gtk.ComboBoxEntry" /> which has a <see cref="T:Gtk.Entry" /> as child and a list of strings as popup.</summary>
|
||||
<param name="model">a <see cref="T:Gtk.TreeModel" /></param>
|
||||
<param name="text_column">a <see cref="T:System.Int32" /></param>
|
||||
<param name="model">a <see cref="T:Gtk.TreeModel" /> which holds the data.</param>
|
||||
<param name="text_column">a <see cref="T:System.Int32" /> which means the coluumn number (0 based) in the <see cref="T:Gtk.TreeModel" /> which contains the list of strings to display.</param>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
@ -141,4 +142,4 @@
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
@ -42,7 +42,7 @@ This class provides a simple mechanism of implementing the Model required by the
|
||||
|
||||
void PopulateStore ()
|
||||
{
|
||||
NodeStore store = new NodeStore (typeof (MyRow));
|
||||
NodeStore store = new NodeStore (typeof (DemoNode));
|
||||
DemoNode my_node = new DemoNode ("Miguel de Icaza", "miguel@ximian.com");
|
||||
store.AddNode (my_node);
|
||||
}
|
||||
@ -57,7 +57,7 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the <see c
|
||||
void DumpColumnValues (NodeStore store, int col)
|
||||
{
|
||||
foreach (object[] row in store)
|
||||
Console.WriteLine ("Value of column {0} is {2}", col, row [col]);
|
||||
Console.WriteLine ("Value of column {0} is {1}", col, row [col]);
|
||||
}
|
||||
</code>
|
||||
</example>
|
||||
@ -205,4 +205,4 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the <see c
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
Loading…
Reference in New Issue
Block a user