Obj: Toolbar: not able to display icons without text!
- From: Patrice St-Gelais <patrice st-gelais oricom ca>
- To: gtk-app-devel-list gnome org
- Subject: Obj: Toolbar: not able to display icons without text!
- Date: Wed, 26 Dec 2001 01:37:01 -0500
I've finally solved the problem: the GtkToolbarStyle GTK_TOOLBAR_ICONS or
..._TEXT are ignored when one of the parent widgets of the toolbar is shown
with gtk_widget_show_all(). The label and the icon are both shown. Since
labeld and icons are children widgets of toolbar buttons, this is
understandable, though a bit counter-intuitive.
Thanks.
Patrice St-Gelais a écrit :
Hi,
I am not able to display icons without text in some of my toolbars. The
result is GTK_TOOLBAR_BOTH whatever GtkToolbarStyle I use
(GTK_TOOLBAR_TEXT, GTK_TOOLBAR_ICONS).
In a first window, there is one toolbar which works as intended. In a
second window, there are three toolbars. Only the first one reacts to a
style change.
It doesn't seem to be related to the fact that I use radio buttons,
toggle buttons or simple buttons. It doesn't matter if I set the style
when I create the toolbar or after, with gtk_toolbar_set_style. I cannot
say I have done extensive tests, though.
I am using Gtk+ 1.2.10.
I have found a message on the list about a similar problem in June 2000,
with no answer. I also looked at the gtktoolbar.c code, but this is not
evident.
Does somebody have a hint?
Thanks!
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]