Re: Gtk::Stock::CANCEL



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]