icon size in toolbar
- From: Markus Lausser <sgop users sourceforge net>
- To: gtk devel <gtk-devel-list gnome org>
- Subject: icon size in toolbar
- Date: 12 Jun 2004 17:12:18 +0200
Hello.
I'd like to have a vertical toolbar, that does not scale the icons.
This should only apply to one tollbar, not to all.
The only way i've found to change the icon size is:
g_object_set
(G_OBJECT(gtk_settings_get_default()),
"gtk-toolbar-icon-size",
GTK_ICON_SIZE_DND
/* gtk_icon_size_register("MyToolbar", 40, 40) doesnt work */
);
The problems are:
- this applies to all toolbars.
- it doesnt allow me to set user defined sizes, the error is:
> GLib-GObject-WARNING **: value "((GtkIconSize) 7)" of type
> `GtkIconSize' is invalid or out of range for property
> `gtk-toolbar-icon-size' of type `GtkIconSize'
So, is there a way to set the icon size of one single toolbar object to
a user defined value?
Markus.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]