mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
3f07a660f5
* 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
8 lines
227 B
Plaintext
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;
|
|
}
|