Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter guide?
#4
Sure, but all the books of this kind I have consulted just give you examples for learning this and that.
I wonder if there is an official guide or reference with all the options.

As I said, say I want to make the main window fullscreen.
Reading the Tkinter official Python page I couldn´t find this option or how to do it, but I came to realize this module is based on Tk, then at some point I understand that a Tk instance inherits (or whatever it is called) from "wm", and finally I have found that "wm" on the TK commands documentation, which says.

wm attributes window ?option value option value...?
This subcommand returns or sets platform specific attributes associated with a window. The first form returns a list of the platform specific flags and their values. The second form returns the value for the specific option. The third form sets one or more of the values. The values are as follows:
All platforms support the following attributes (though X11 users should see the notes below):
-fullscreen Places the window in a mode that takes up the entire screen, has no borders, and covers the general use area (i.e. Start menu and taskbar on Windows, dock and menubar on OSX, general window decorations on X11).


Now, I don´t know a word about Tk/Tcl (I´m trying to learn Python, not other programming language!), but kind of comparing visually
with wm.resizable(False, False)
I guess it has to be something along the lines of
wm.fullsize()
wm.attributes.fullsize()
or something close to that (I´ve have "brute force" tried these and other options, just in case, with no luck).

Anyway, my point is that Python is said to be an easy language... In my opinion, this seems very very complicated!! And only to create a simple GUI!!! I only know a bit about other programming language, AutoHotkey, and gosh, it is so much much easier, intuitive and quick to make a GUI. Also the online reference is simple, direct and clear. I am trying to find something similar explaining how to create a GUI using the tkinter module.

Many thanks anyway.
Reply


Messages In This Thread
Tkinter guide? - by Mondata - Mar-12-2021, 02:07 PM
RE: Tkinter guide? - by Serafim - Mar-12-2021, 02:17 PM
RE: Tkinter guide? - by Mondata - Mar-12-2021, 02:21 PM
RE: Tkinter guide? - by Mondata - Mar-12-2021, 02:38 PM
RE: Tkinter guide? - by pythonprogrammer1101935 - Mar-26-2021, 09:10 PM
RE: Tkinter guide? - by Serafim - Mar-12-2021, 02:58 PM
RE: Tkinter guide? - by Serafim - Mar-12-2021, 03:22 PM
RE: Tkinter guide? - by Mondata - Mar-12-2021, 04:02 PM
RE: Tkinter guide? - by buran - Mar-12-2021, 07:35 PM
RE: Tkinter guide? - by deanhystad - Mar-12-2021, 07:54 PM
RE: Tkinter guide? - by Oshadha - Mar-13-2021, 09:07 AM
RE: Tkinter guide? - by deanhystad - Mar-26-2021, 09:32 PM
RE: Tkinter guide? - by pythonprogrammer1101935 - Mar-27-2021, 04:22 PM
RE: Tkinter guide? - by Larz60+ - Mar-26-2021, 09:41 PM
RE: Tkinter guide? - by deanhystad - Mar-27-2021, 04:31 PM
RE: Tkinter guide? - by Larz60+ - Mar-27-2021, 06:29 PM
RE: Tkinter guide? - by steve_shambles - May-05-2021, 07:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Guide Tinker tranduc 1 2,093 May-06-2020, 08:51 AM
Last Post: pyzyx3qwerty
  a GUI beginner guide Skaperen 8 4,927 Aug-12-2018, 08:31 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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