[Gtk-sharp-list] Setting the parent Gtk.Window of a FileChooserDialog inserted in a Gtk.Bin

Andoni Morales Alastruey ylatuya at gmail.com
Fri Aug 22 09:30:39 EDT 2008


Hi!

I'm facing the following problem:
I have a class TestDialog wich extends Gtk.Dialog. This class contains
another class ReusableWidget wich extends Gtk:bin. The TestBin a button
that shows a FileChooserDialog:
FileChooserDialog fChooser = new FileChooserDialog ( "", null,
FileChooserAction.Open ,"gtk-cancel", ResponseType.Cancel,
"gtk-open",ResponseType.Accept);

As this is called from the Gtk:bin I cannot set the the parent window
doing:
FileChooserDialog fChooser = new FileChooserDialog ( "", this,...




More information about the Gtk-sharp-list mailing list