mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 05:05:30 +00:00
19a8501d1e
svn path=/trunk/gtk-sharp/; revision=8876
26 lines
608 B
Plaintext
26 lines
608 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;
|
|
}
|
|
|
|
[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));
|
|
}
|
|
}
|