Re: Gdk::DECOR_xxx



On Sun, 2005-09-25 at 23:34 +0200, Bart Verstraete wrote:
> Now when I do this;
> void SettingScreen::on_realize()
> {
>     Glib::RefPtr<Gdk::Window> fr = get_frame();
>     fr->set_decorations(Gdk::DECOR_ALL | Gdk::DECOR_MINIMIZE | 
> Gdk::DECOR_MAXIMIZE);
>     Gtk::Dialog::on_realize();

call this first. you're not allowing the normal "realize" path to take
place before you try to use the Gdk::Window





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