2002-10-11 Martin Baulig <martin@gnome.org>

* gtk/Combo.custom: New file.
	(Combo.SetPopdownStrings): New method to set the popdown strings
	from a string array.

svn path=/trunk/gtk-sharp/; revision=8169
This commit is contained in:
Martin Baulig 2002-10-11 15:45:02 +00:00
parent 604034053a
commit 3f07a660f5
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-10-11 Martin Baulig <martin@gnome.org>
* gtk/Combo.custom: New file.
(Combo.SetPopdownStrings): New method to set the popdown strings
from a string array.
2002-10-11 Martin Baulig <martin@gnome.org>
* glib/ListBase.cs (ListBase.Append): New public method.

7
gtk/Combo.custom Normal file
View File

@ -0,0 +1,7 @@
public void SetPopdownStrings (params string[] args) {
GLib.List list = new GLib.List (IntPtr.Zero, typeof (string));
foreach (string arg in args)
list.Append (Marshal.StringToHGlobalAnsi (arg));
PopdownStrings = list;
}