osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ttk.Notebook Tabs Question


On Fri, 15 Sep 2017 06:09:21 +0400, Abdur-Rahmaan Janhangeer wrote:

> try
> widget["width"] it returns string
> then mult by no. of tabs

Since the tabs are displaying text, I believe the width
would be returned as characters or letters like a Button
or Text widget.  I need pixels.

Another problem is that the tabs are different widths.

I am going to experiment with the possibility of using
images in place of the text.  Then I believe the width
would be returned in pixels.

Thanks for the reply.

-- 
<Wildman> GNU/Linux user #557453
The cow died so I don't need your bull!