Re: Toolbar buttons and text





Den 2015-10-07 kl. 08:12, skrev Игорь Горбунов:
Hi All!
I've tried the main menu example from https://developer.gnome.org/gtkmm-tutorial/stable/sec-menus-examples.html.en. In my case those toolbar buttons appear without labels that are shown in the example. Neither of toolbar buttons in my whole Fedora 22 system have toolbar buttons labels, too. I've launched this example in windows XP - there buttons are also without text.
What should be done to show those button labels?

There is not much you can do, except using older code. The screenshot in the page you link to was saved when most programs used gtk+'s stock items. Stock items are deprecated now. Most programs now show toolbar items and buttons with either text or an icon, but not both. Confusingly, the screenshot and the code in your link are not in sync. The screenshot is older than the code. The corresponding unstable page shows what you can expect to see now:
https://developer.gnome.org/gtkmm-tutorial/unstable/sec-menus-examples.html.en

Kjell


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