Re: Gtk::Stock::CANCEL
- From: "B.Hakvoort" <bart hakvoort be>
- To: gtkmm-list gnome org
- Subject: Re: Gtk::Stock::CANCEL
- Date: Wed, 22 Dec 2004 13:54:39 +0100
Did you add:
#include <gtkmm/stock.h>
to your sourcefile ?
grtz,
Bart
On Wed, 2004-12-22 at 11:52 +0100, Andreas Hauber wrote:
> Hi all,
>
> i tryed this code as supposed in the example for FileChooserDialogs
> but I got the following error:
>
>
>
> 28 C:\Dokumente und Einstellungen\ah\Eigene Dateien\Development
> \Projekte\SeeCards for WinXP\src\wMain.cc `CANCEL' is not a member of
> `Gtk::Stock'
>
>
>
> Code:
>
>
>
> Gtk::FileChooserDialog dialog("Neue Karteikarten Datei:",
> Gtk::FILE_CHOOSER_ACTION_SAVE);
>
> dialog.set_transient_for(*this);
>
>
>
> //Add response buttons the the dialog:
>
> dialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
www.titanium-it.nl --- Open Minded Open Source
www.heavenisopen.com <-----Another Source
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]