2003-07-23 Mike Kestner <mkestner@ximian.com>
* gtk/FileSelection.custom : more s/new Object/GetObject svn path=/trunk/gtk-sharp/; revision=16590
This commit is contained in:
parent
23464e6514
commit
e13cec3477
2 changed files with 14 additions and 10 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-07-23 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gtk/FileSelection.custom : more s/new Object/GetObject
|
||||
|
||||
2003-07-23 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
[Equal credit to Ettore Perazzoli <ettore@ximian.com> for fixing
|
||||
|
|
|
@ -24,25 +24,25 @@ public class FSButton : Gtk.Button {
|
|||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_dir_list (IntPtr i);
|
||||
public Gtk.TreeView DirList {
|
||||
get { return new Gtk.TreeView (gtksharp_file_selection_get_dir_list (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_dir_list (this.Handle), false) as Gtk.TreeView; }
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_file_list (IntPtr i);
|
||||
public Gtk.TreeView FileList {
|
||||
get { return new Gtk.TreeView (gtksharp_file_selection_get_file_list (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_file_list (this.Handle), false) as Gtk.TreeView; }
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_selection_entry (IntPtr i);
|
||||
public Gtk.Entry SelectionEntry {
|
||||
get { return new Gtk.Entry (gtksharp_file_selection_get_selection_entry (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_selection_entry (this.Handle), false) as Gtk.Entry; }
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_selection_text (IntPtr i);
|
||||
public Gtk.Label SelectionText {
|
||||
get { return new Gtk.Label (gtksharp_file_selection_get_selection_text (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_selection_text (this.Handle), false) as Gtk.Label; }
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
|
@ -66,25 +66,25 @@ public Gtk.Button HelpButton {
|
|||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_history_pulldown (IntPtr i);
|
||||
public Gtk.OptionMenu HistoryPulldown {
|
||||
get { return new Gtk.OptionMenu (gtksharp_file_selection_get_history_pulldown (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_history_pulldown (this.Handle), false) as Gtk.OptionMenu; }
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_history_menu (IntPtr i);
|
||||
public Gtk.Menu HistoryMenu {
|
||||
get { return new Gtk.Menu (gtksharp_file_selection_get_history_menu (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_history_menu (this.Handle), false) as Gtk.Menu; }
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_fileop_dialog (IntPtr i);
|
||||
public Gtk.MessageDialog FileopDialog {
|
||||
get { return new Gtk.MessageDialog (gtksharp_file_selection_get_fileop_dialog (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_fileop_dialog (this.Handle), false) as Gtk.MessageDialog; }
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_fileop_entry (IntPtr i);
|
||||
public Gtk.Entry FileopEntry {
|
||||
get { return new Gtk.Entry (gtksharp_file_selection_get_fileop_entry (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_fileop_entry (this.Handle), false) as Gtk.Entry; }
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue", CallingConvention=CallingConvention.Cdecl)]
|
||||
|
@ -116,11 +116,11 @@ public Gtk.Button FileopRenFile {
|
|||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_button_area (IntPtr i);
|
||||
public Gtk.HButtonBox ButtonArea {
|
||||
get { return new Gtk.HButtonBox (gtksharp_file_selection_get_button_area (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_button_area (this.Handle), false) as Gtk.HButtonBox; }
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_file_selection_get_action_area (IntPtr i);
|
||||
public new Gtk.HButtonBox ActionArea {
|
||||
get { return new Gtk.HButtonBox (gtksharp_file_selection_get_action_area (this.Handle)); }
|
||||
get { return GLib.Object.GetObject (gtksharp_file_selection_get_action_area (this.Handle), false) as Gtk.HButtonBox; }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue