mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 18:25:28 +00:00
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:
parent
604034053a
commit
3f07a660f5
|
@ -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
7
gtk/Combo.custom
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue