Re: Gdk::DECOR_xxx



Paul Davis wrote:

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.


Oh So I have todo it in the overided on_realize()

thx for the quiick reply
Grts Bart



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