Patch from nmarshall23@gmail.com
svn path=/trunk/gtk-sharp/; revision=66665
This commit is contained in:
parent
1dcc7bde39
commit
5f03bf3366
1 changed files with 17 additions and 1 deletions
|
@ -416,7 +416,23 @@ class ComboBoxSample
|
|||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Default constructor</summary>
|
||||
<remarks />
|
||||
<remarks>
|
||||
<example>
|
||||
<code lang="C#">
|
||||
Gtk.ComboBox cb = new ComboBox();
|
||||
cb.Clear();
|
||||
CellRendererText cell = new CellRendererText();
|
||||
cb.PackStart(cell, false);
|
||||
cb.AddAttribute(cell, "text", 0);
|
||||
ListStore store = new ListStore(typeof (string));
|
||||
cb.Model = store;
|
||||
|
||||
store.AppendValues ("Hello");
|
||||
store.AppendValues ("Gtk");
|
||||
store.AppendValues ("ComboBox");
|
||||
</code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
|
Loading…
Add table
Reference in a new issue