Re: [glade--]Opening another window from menu
- From: Vladislav Grinchenko <vgrinche integ com>
- To: Patrick Lane <patrick m lane csun edu>
- Cc: glademm-list gnome org
- Subject: Re: [glade--]Opening another window from menu
- Date: Mon, 3 May 2004 11:16:12 -0400
Patric,
try
inputWindow window;
window.run();
instead.
-Vlad
On Fri, Mar 26, 2004 at 10:19:47AM -0800, Patrick Lane wrote:
> 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 "config.h"
> #include "mainWindow.hh"
> #include <gtk--/main.h>
> #include "inputWindow.hh"
>
>
> void mainWindow::on_new_card_set1_activate()
> {
> inputWindow window;
> Gtk::Main::run(window);
> }
>
> void mainWindow::on_open_card_set1_activate()
> {
> }
>
> void mainWindow::on_exit1_activate()
> {
> Gtk::Main::quit();
> }
>
>
>
>
> 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&)'
> /usr/include/gtk--/main.h:168: error: candidates are: static void
> Gtk::Main::run()
>
>
> Any ideas?
>
>
> _______________________________________________
> glademm-list mailing list
> glademm-list gnome org
> http://mail.gnome.org/mailman/listinfo/glademm-list
--
______________________________________________________
Vladislav Grinchenko e-mail (w): vgrinche integ com
Software Engineer (h): 3rdshift comcast net
Integral Systems, Inc.
Focus on quality, and productivity will follow.
______________________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]