GtkToolbar::set_style

GtkToolbar::set_style

Sets the text/icon style of the toolbar. This setting is applied to all buttons on the toolbar, except for the widgets added via the insert_widget() function.

You could write your own method which changes the styles of all the widgets by connecting the toolbar to the "style-changed" signal.

Every application should let the user decide if he wants to have icons, text or both displayed in the toolbar.

Note that the toolbar can grow quite large if you use text+icons the same time. Pay attention to this when creating your application.

The "style-changed" signal is emitted when this function is called.

You can read the current style with the style property.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.