Re: Gdk::DECOR_xxx



On Sun, 2005-09-25 at 22:55 +0200, Bart Verstraete wrote:
> Why is it when I do this with a dirived class from Gtk::Dialoog my app 
> crash with no error or warning?
> cade:
>     Glib::RefPtr<Gdk::Window> fr = get_frame();
>     fr->set_decorations(Gdk::DECOR_ALL);

you are probably doing this before the Gdk::Window has been realized. do
this in a handler for the realize event.




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