RE: [gtkmm] set_decorations
- From: Murray Cumming Comneon com
- To: sms 4-sms com, gtkmm-list gnome org
- Subject: RE: [gtkmm] set_decorations
- Date: Wed, 12 Nov 2003 08:44:37 +0100
> I want to use set_decorations but I allways got error :
> In file included from akemsalatk.cc:11:
> mainwindow.cc: In constructor `MainWindow::MainWindow()':
> mainwindow.cc:64: no matching function for call to
> `Glib::RefPtr<Gdk::Window>::
> set_decorations(GdkWMDecoration)'
> make[2]: *** [akemsalatk.o] Error 1
]snip]
> realize();
> get_window().set_decorations (GdkWMDecoration
> (GDK_DECOR_BORDER|GDK_DECOR_RESIZEH));
> show_all_children();
> }
[snip]
That method
http://www.gtkmm.org/gtkmm2/docs/reference/html/classGdk_1_1Window.html#a64
Does not take a GdkWMDecoration. It takes a Gdk::WMDecoration.
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]