mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-02-25 21:46:47 +00:00
* 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;
|
|
}
|