Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How add button to certain TAB using TAB-index
Post: RE: How add button to certain TAB using TAB-index

Thanks Deanhystad and Menator01. It was just an example to put out 5 buttons on each tabs. In the end, I do not know how many buttons I will have on each TABS. I have a button array that I loop out t...
MacTommu GUI 3 3,751 Sep-23-2021, 05:53 AM
    Thread: How add button to certain TAB using TAB-index
Post: How add button to certain TAB using TAB-index

This is just a dummy-code, do not try it because it will probably not work. :) Is´t possible to add 5 buttons to "tab1", next five to "tab2" and so on using for c in range(0, 20): in my example? I do...
MacTommu GUI 3 3,751 Sep-22-2021, 06:36 PM
    Thread: Found buttonstate in tabs
Post: RE: Found buttonstate in tabs

As I wrote, i'am totaly newbee on Python. :) The code I am working on is an experiment and will be rewritten when I have found all the functions I need to put together my project. I have a lot to lea...
MacTommu GUI 4 2,004 Sep-22-2021, 05:39 PM
    Thread: Found buttonstate in tabs
Post: RE: Found buttonstate in tabs

Couple of hour later... **biggrin** This is what I'am looking for... button = buttons[int(i)] print(buttons[int(i)].cget('relief')) if buttons[int(i)].cget('relief') == 'raised'...
MacTommu GUI 4 2,004 Sep-22-2021, 01:47 PM
    Thread: Found buttonstate in tabs
Post: Found buttonstate in tabs

Is a total beginner when it comes to Python and Tkinter. I have programmed a lot of C # and VB over the years and thought of learning a litle Python for a project. It's progressing slowly and the code...
MacTommu GUI 4 2,004 Sep-22-2021, 11:10 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020