Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Change label for multiple frames
Post: RE: Change label for multiple frames

Thanks, Larz60+! I've never seen the labelframe. It looks like what I want.
Dandy_Don GUI 3 2,933 Apr-30-2020, 02:22 PM
    Thread: Change label for multiple frames
Post: Change label for multiple frames

I'm using Python 3 & Pycharm IDE. I have a GUI that I created using tk. It is a notebook with multiple tabs. class MainWindow(tk.Frame): def __init__(self, parent, *args, **kwargs): ...
Dandy_Don GUI 3 2,933 Apr-30-2020, 02:01 AM
    Thread: How to add multiple frames to main window
Post: RE: How to add multiple frames to main window

Ok. I got it working.... I used notebook & added the frames to a tab of the notebook: class MainWindow(tk.Frame): def __init__(self, parent, *args, **kwargs): # create different ...
Dandy_Don GUI 13 7,794 Apr-29-2020, 09:21 PM
    Thread: How to add multiple frames to main window
Post: RE: How to add multiple frames to main window

Nope. Nothing. I can run other tkinter python code that works, but this GUI does not show up.... even after adding your label code to the WinchApp class.
Dandy_Don GUI 13 7,794 Apr-12-2020, 02:22 PM
    Thread: How to add multiple frames to main window
Post: RE: How to add multiple frames to main window

Ok. I'm using Python 3.6 with PyCharm IDE on a MacBook. I tried using the terminal to run the code & it still does nothing....
Dandy_Don GUI 13 7,794 Apr-10-2020, 05:51 PM
    Thread: How to add multiple frames to main window
Post: RE: How to add multiple frames to main window

Thanks, Riddle. When I make the changes you suggest & run the code, it does nothing.... The output says "Process finished with exit cod 0" Do I need to "show" the window somehow?
Dandy_Don GUI 13 7,794 Apr-10-2020, 03:40 PM
    Thread: How to add multiple frames to main window
Post: RE: How to add multiple frames to main window

I can get the labels & buttons & text entry widgets grouped together in a window.... class WinchFrame(Frame): def __init__(self): super().__init__() # CREATE WIDGETS: ...
Dandy_Don GUI 13 7,794 Apr-07-2020, 07:39 PM
    Thread: How to add multiple frames to main window
Post: RE: How to add multiple frames to main window

Oops! That was where I was trying to add it to a container..... I got it from this post: https://stackoverflow.com/questions/7546...in-tkinter That didn't work either. Maybe I didn't use the con...
Dandy_Don GUI 13 7,794 Apr-07-2020, 01:07 AM
    Thread: How to add multiple frames to main window
Post: RE: How to add multiple frames to main window

I thought that was what I did in the WinchApp class: self.Top_Right = WinchFrame() self.Bot_Right = WinchFrame() self.Top_Right.grid(row=0, column=0, sticky='nsew') s...
Dandy_Don GUI 13 7,794 Apr-03-2020, 10:24 PM
    Thread: How to add multiple frames to main window
Post: How to add multiple frames to main window

I am stumped. I can't figure out how to add multiple frames to the main window in a GUI.... I have a system that uses multiple winches to raise/lower things. I want to create a GUI that shows each ...
Dandy_Don GUI 13 7,794 Apr-03-2020, 05:43 PM

User Panel Messages

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