Hi,

I have a question with regard to Gtk::MessageDialog:

whenever I spawn a MessageDialog without handing over a parent window in the 
constructor the window opens but it is not focused (window borders grey).

I have to click the window with the mouse to focus it.

Is there a way to open a MesageDialog *without* specifying a parent window and 
have the window focussed right away?

Here is my current code:

        Gtk::MessageDialog dialog (head, false, Gtk::MESSAGE_ERROR, 
Gtk::BUTTONS_OK, 
true);
        dialog.set_title (APPLICATION_NAME);
        dialog.set_secondary_text ("some error message");
        dialog.set_position (Gtk::WIN_POS_CENTER);
        dialog.run ();

many thanks
Chris


http://www.acurana.de/

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to