Re: Gdk::DECOR_xxx



Foster Gareth wrote:

At a guess, he means the method of the base class.

class wee : public something
{
	void
	woo			()
	{
		something::woo();	// like so

		// then other code ...
	}
};

Gaz


Hi,

if you ment this:

void SettingScreen::on_realize()
{
   Gtk::Dialog::on_realize();
   Glib::RefPtr<Gdk::Window> fr = get_frame();
fr->set_decorations(Gdk::DECOR_ALL | Gdk::DECOR_MINIMIZE | Gdk::DECOR_MAXIMIZE);
}

ofcours in my header file I override it with:
virtual void on_realize();

But still the stupid app craches. Its dev on win32 if that makes any diff.

Grts Bart



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