if I use:
Gtk::Button* button = Gtk::manage( new Gtk::Button(Gtk::Stock::DELETE));
it works perfect, but the documentation and the header says: Deprecated, use label _Delete
But if I simply write
Gtk::Button* button = Gtk::manage( new Gtk::Button("_Delete"));
the button shows simply the text _Delete
.
How can I create a standard button in the "new" fashion?
Update: There is simply no plan to make anything automated anymore in gtk. There was a long discussion on the developers mailing list. They decided that there will no replacement for the stock items anymore. This simply means: Do all the things yourself! :-(