Re: [glade--]Opening another window from menu
- From: Christof Petig <christof petig-baender de>
- To: dingo <mandingo analstyle org>
- Cc: glademm-list gnome org
- Subject: Re: [glade--]Opening another window from menu
- Date: Fri, 26 Mar 2004 21:59:06 +0100
dingo schrieb:
Hi guys, just trying to open another window via a menu File --> Open
type thing. Here is my code, following is my error message:
#include <gtk--/main.h>
gtk-- is the gtkmm1 prefix, use gtkmm/main.h
Gtk::Main::run(window);
mainWindow.cc: In member function `virtual void
mainWindow::on_new_card_set1_activate()':
mainWindow.cc:23: error: no matching function for call to
`Gtk::Main::run(inputWindow&)'
this is the gtkmm2 API.
/usr/include/gtk--/main.h:168: error: candidates are: static void
Gtk::Main::run()
this is the gtkmm1 API.
I think you should concentrate on gtkmm2 and forget (and deinstall
gtkmm1-dev (unless you _really_ need it (unlikely)))
Christof
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]