Deprecated Gtk::Stock replacement?!



Hi,

what should be used instead of the Gtk::Stock labels on buttons?

The documentation is not really helpful:
"Stock items have been recommended for use in buttons. From gtkmm-3.10 they are deprecated. They should not be used in newly-written code. However, the documentation of namespace Gtk::Stock shows recommended labels and named icons to show in buttons."

e.g.
extern GTKMM_API const Gtk::BuiltinStockID CANCEL; /*!< @image html gtk-cancel.png * @deprecated Do not use an icon. Use label "_Cancel". */

The Gtk::Stock:: stuff had translation "built-in". So do we have to translate the default system buttons on ourself again. Or what should be used?

Thx
Markus


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