GtkSharp/gtk/Combo.custom

17 lines
415 B
Plaintext
Raw Normal View History

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;
}
[DllImport("gtksharpglue")]
static extern IntPtr gtksharp_combo_get_entry(IntPtr i);
public Gtk.Entry Entry {
get {
return new Gtk.Entry (gtksharp_combo_get_entry(this.Handle));
}
}