Re: How to make a Gtk::Window popup?





SaiKamesh Rathinasabapathy wrote:
Hi,

How to make a Gtk::Window as  popup.

----8<--------

Now I need to make this KeyBoardWindow as popup window. I tried this one: " keyBoardObject = Gtk::manage ( new KeyBoardWindow ( Gtk::Window ( Gtk::WINDOW_POPUP ) ) ); ". But this was not working.

I don't know how to make this window as popup. please give me some ideas!.

Thanks!


You can try, in KeyBoardWindow():

set_decorated(false);

Furthemore you can play with:

        set_skip_taskbar_hint();

        set_position(Gtk::WIN_POS_CENTER_ALWAYS);

s.

------------------------------------------------------------------------

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]