Re: Toolbar separators
- From: Havoc Pennington <hp redhat com>
- To: Ed Symanzik <zik msu edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Toolbar separators
- Date: 07 Feb 2001 11:13:20 -0500
Ed Symanzik <zik msu edu> writes:
I am using Glade to write a helloworld project.
gnome_app_new gives me a nice, dockable toolbar that
the user can orient vertically or horizontally. Cool.
The vseparator I added remains vertical. Not cool.
I can catch the orientation changes ok, but how do I
switch between a vseparator and a hseparator?
Oddly enough, you would normally use gtk_toolbar_append_space()
instead of a separator widget for a separator in a toolbar. Glade
probably exports this somehow.
At a lower level, why is there a single toolbar widget
with a selectable orientation, but two separate
separators with fixed orientations? Why not
gtk_separator_new(GTK_ORIENTATION_HORIZONTAL)?
Historical reasons; I think "Motif did it that way" is probably the
answer that reaches furthest back into history. (I don't know if Motif
had separators, but I think it has the H/V widgets instead of single
widgets that rotate.)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]