Gtk::Stock::CANCEL



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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]