[Gtk-sharp-list] Setting the parent Gtk.Window of a FileChooserDialog inserted in a Gtk.Bin
peter at peterjohanson.com
Fri Aug 22 12:40:50 EDT 2008
On Fri, Aug 22, 2008 at 03:30:39PM +0200, Andoni Morales Alastruey wrote:
> As this is called from the Gtk:bin I cannot set the the parent window
> FileChooserDialog fChooser = new FileChooserDialog ( "", this,...
You can do something like:
FileChooserDialog fChooser = new FileChooserDialog ("", base.TopLevel as
Alternately, you could use Gtk.Widget.GetAncestor (Gtk.Window.GType) to
get the widget's parent Gtk.Window.
More information about the Gtk-sharp-list