Ryujinx-GtkSharp/gtk/Combo.custom
Martin Baulig 3f07a660f5 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
2002-10-11 15:45:02 +00:00

8 lines
227 B
Plaintext

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;
}