[pygtk] Notebook Tabs
Stephen George
steve_geo at optusnet.com.au
Mon Mar 8 15:16:14 WST 2010
Hi Peyman,
Don't know if I understand your question correctly.
The label can be rotated with set label, this will give you vertical text.
http://www.pygtk.org/docs/pygtk/class-gtklabel.html#method-gtklabel--set-angle
The notebook tab is just accommodating it's children (label), and not
controlling them.
Is that what you want?
Steve
PEYMAN ASKARI wrote:
> Hello
>
> There are four positions for tabs
> (gtk.POS_BOTTOM,gtk.POS_TOP,gtk.POS_LEFT.gtk.POS_RIGHT)
>
> TOP and BOTTOM work as expected, however, on LEFT and RIGHT, the label
> is still horizontal. Therefore, if the label is particularly long, it
> will push the notebook to the right/left. Intuitively it should be
> vertical, such that it would clip to the left or right side, and the
> length of the label would have no affect on the placement of the
> notebook. Is there any way to achieve this?
>
> Cheers
>
>
> Peyman Askari
>
More information about the pygtk
mailing list