GtkSharp/gtk/Combo.custom
Miguel de Icaza 19a8501d1e Added new call
svn path=/trunk/gtk-sharp/; revision=8876
2002-11-07 19:19:38 +00:00

25 lines
608 B
Text

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