Hello. I feel like a deadbeat posting this but I had a quick question on
ways to justify buttons. My goal is to make a horizontal box with four
buttons left-justified, and two right-justified, and no spacers. The
goal is to have them stay as such when the window is resized (hence just
adding a number of spacers in the middle won't work. I have tried this
many ways.
gtk.Toolbar only allows all of the buttons to be crunched together, you
can't have some left-justified and some right-justified. Trying to add
one large space in the middle also doesn't work since gtk.Toolbar makes
all of the buttons in it the same width.
Starting with gtk.HBox or gtk.HButtonBox it is easy to perform the
justification, and that is what I have right now, but I cannot find any
way to get rid of the items' borders. Each button (or my current setup,
each gtk.Toolbar) is in releif, to separate them, I assume, but I want
the setup to be transparent to the user.
I can't think of any other simple way of doing this, save going far back
and constructing it form scratch. gtk.Container is abstract, so I would
have to go farther back than that.
If anyone knows any way to turn off borders on HBoxes or set
justification on gtk.Toolbars, or has any other ideas, I would be very
grateful.
Thanks.
James Fraumeni
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/