Problem with Gtk::FileChooserButton

I have got a major Problem with the Filechooserbutton widget, I have
added it in a MessageDialog and it is running with no problems, but
the new filechoose widget witch is generated after i clicked the
Filechoserbutton is beneath the MessageDialog (in witch the button
is), is there any possibility to set that this new filechooser widget
will be shown on top of the MessageDialog?

greetings jens


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Hi.

Have you tried the following methods:

dialog.has_focus=true
dialog.set_transient_for(@window)

where @window would be your message dialog?

Alexis

On 3/19/07, pinkeyde21 [email protected] wrote:


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

I have got a major Problem with the Filechooserbutton widget, I have
added it in a MessageDialog and it is running with no problems, but
the new filechoose widget witch is generated after i clicked the
Filechoserbutton is beneath the MessageDialog (in witch the button
is), is there any possibility to set that this new filechooser widget
will be shown on top of the MessageDialog?

greetings jens


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

or just tell your second dialog window who’s it’s parent in the 2nd
parameter of it’s initialize, like:
filechooser_dialog=Gtk::Dialog.new(“any_title”,my_first_dialog_window)

I have got a major Problem with the Filechooserbutton widget, I have
added it in a MessageDialog and it is running with no problems, but the
new filechoose widget witch is generated after i clicked the
Filechoserbutton is beneath the MessageDialog (in witch the button is),
is there any possibility to set that this new filechooser widget will be
shown on top of the MessageDialog?

greetings jens


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV