mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-27 00:11:14 +00:00
make sample/test build
svn path=/trunk/gtk-sharp/; revision=23080
This commit is contained in:
parent
efd542b29c
commit
8f14f27048
|
@ -29,7 +29,8 @@ namespace WidgetViewer {
|
||||||
box1.PackStart (box2, true, true, 0);
|
box1.PackStart (box2, true, true, 0);
|
||||||
|
|
||||||
combo = new Gtk.Combo ();
|
combo = new Gtk.Combo ();
|
||||||
combo.SetPopdownStrings ("Foo", "Bar");
|
string[] pop = {"Foo", "Bar"};
|
||||||
|
combo.PopdownStrings = pop;
|
||||||
combo.Entry.Activated += new EventHandler (OnComboActivated);
|
combo.Entry.Activated += new EventHandler (OnComboActivated);
|
||||||
box2.PackStart (combo, true, true, 0);
|
box2.PackStart (combo, true, true, 0);
|
||||||
|
|
||||||
|
@ -60,7 +61,7 @@ namespace WidgetViewer {
|
||||||
string text = ((Gtk.Entry) o).Text;
|
string text = ((Gtk.Entry) o).Text;
|
||||||
|
|
||||||
// combo.AppendString (text);
|
// combo.AppendString (text);
|
||||||
combo.SetPopdownStrings (text);
|
// combo.SetPopdownStrings (text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue