realizing the gdk::window solved the core dump but the window_manager still ignored the requested decoration. is there a way to force the window_manager to honor decoration request? again, any advice will be appreciated. ofer
Emil Nowak <[EMAIL PROTECTED]> wrote: On 05-10-2007, at 03:56:34 Ofer Oshri wrote: > well i have tried it before and got core dump... > here is the code: > > Gtk::Window win; > Gdk::WMDecoration decor; > win.get_window()->get_decorations(decor); // core dump... > btw: > cerr << bool(win.get_window()) << endl; // prints 0 Probably window needs to be realized before you do get_window() on it. You can connect to on_realize signal and change decorators in callback. But the quickest way to test it would be: Window win; win.show_all(); Glib::RefPtr gdk_win = win.get_window(); gdk_win->set_decorations(Gdk::DECOR_TITLE | Gdk::DECOR_BORDER ); _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
