Re: ttk.Notebook Tabs Question

2017-09-17 Thread Wildman via Python-list
On Sun, 17 Sep 2017 08:45:27 +0400, Abdur-Rahmaan Janhangeer wrote: > by widget["width"] i meant replace widget with your widget Yes, that is what I did. It returned 0. -- GNU/Linux user #557453 The cow died so I don't need your bull! -- https://mail.python.org/mailman/listinfo/python-list

Re: ttk.Notebook Tabs Question

2017-09-16 Thread Abdur-Rahmaan Janhangeer
by widget["width"] i meant replace widget with your widget Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 12 Sep 2017 06:45, "Wildman via Python-list" wrote: > I am working on a program that has a ttk.Notebook with > 12 tabs. Is there a way to determine the total w

Re: ttk.Notebook Tabs Question

2017-09-15 Thread Wildman via Python-list
On Fri, 15 Sep 2017 20:45:20 +0100, MRAB wrote: > On 2017-09-15 16:24, Wildman via Python-list wrote: >> 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 b

Re: ttk.Notebook Tabs Question

2017-09-15 Thread MRAB
On 2017-09-15 16:24, Wildman via Python-list wrote: 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 Butt

Re: ttk.Notebook Tabs Question

2017-09-15 Thread Wildman via Python-list
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 proble

Re: ttk.Notebook Tabs Question

2017-09-14 Thread Abdur-Rahmaan Janhangeer
try widget["width"] it returns string then mult by no. of tabs Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 12 Sep 2017 06:45, "Wildman via Python-list" wrote: > I am working on a program that has a ttk.Notebook with > 12 tabs. Is there a way to determine the to

ttk.Notebook Tabs Question

2017-09-11 Thread Wildman via Python-list
I am working on a program that has a ttk.Notebook with 12 tabs. Is there a way to determine the total width of the tabs in pixels. Just to be clear I am not talking about width of the nb container. I am talking about tabs themselves that contain the text. I want the program to be resizable but