Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
- Python Professional Course Series: GUI Programming
- 1.2 Let TkInter speak!
- 1.3 Settling widgets in the window's interior
- 1.4 Coloring your widgets
- 1.5 A simple GUI application
- 1.6 Events and how to handle them
- 1.7 Visiting widgets’ properties
- 1.8 Interacting with widget methods
- 1.9 Looking at variables
- 2.1 A small lexicon of widgets - Part 1
- 2.2 A small lexicon of widgets - Part 2
- 2.3 A small lexicon of widgets - Part 3
- 2.4 Shaping the main window and conversing with the user
- 2.5 Working with the Canvas
Resultats de text complet:
- 2.3 A small lexicon of widgets - Part 3
- all lexicon of widgets - Part 3 There are two remaining widgets we want to tell you about – the first one is just a widget, while the second is, in fact, a **set of cooperating widgets**. The ''Entry'' widget not only presents a line of text, but i
- Python Professional Course Series: GUI Programming
- = Python Professional Course Series: GUI Programming == What is GUI? GUI is an acronym. Moreover, it’s... ass of acronyms which plays a very important role in the IT industry. Okay, that’s enough jokes about TLA’s for one course, all the more that GUI is prese... tablet, computer, TV set, fridge, oven, even washing machine or heating controller – all these things
- 2.4 Shaping the main window and conversing with the user
- = 2.4 Shaping the main window and conversing with the user The main window is a very specific construct, as its fate is shared a
- 1.6 Events and how to handle them
- = 1.6 Events and how to handle them == Event handling As you already know, events are the fuel which p... event manager**, which is responsible for dispatching them to all the application components. This als... callbacks, which makes you responsible for preparing the proper reactions to the user’s actions. Now... y. We’ll also show you how the events are able to influence a widget’s state, and how you control the
- 1.2 Let TkInter speak!
- = 1.2 Let TkInter speak! == Importing TkInter As you already know, from Python's point of view TkInter is a package named **tkinter**. The packa
- 1.3 Settling widgets in the window's interior
- = 1.3 Settling widgets in the window's interior == Settling widgets A familiarity with the ''Button'' widget allows us to show you some
- 2.5 Working with the Canvas
- = 2.5 Working with the Canvas == Canvas Our last meeting is devoted to the ''Canvas'' – a widget that behaves like... , rectangular surface that you can cover with drawings, text, frames, and other widgets. Please treat this story as a basic introduction to the ''Canvas'' facilities. It can do
- 1.5 A simple GUI application
- = 1.5 A simple GUI application == Building a GUI application from scratch Now we're going to build a very simple and rather useless GUI applica... ready, will make you more accustomed to some ''tkinter'' **habits** and **conventions**. Our fabulou... al will look like the vision presented below: {{ :info:cursos:pue:python-pcpp1:m3:pasted:20231223-1106
- 1.7 Visiting widgets’ properties
- = 1.7 Visiting widgets’ properties == Widget properties As you already know, every widget has a set of... widget’s user is able to **change** them by modifying the widget’s **appearance** and **behavior**. We... lly an object, you can access its properties by using the dot notation. You have to use one of two possible ways of reading and setting widget properties’ values. The firs
- 1.8 Interacting with widget methods
- = 1.8 Interacting with widget methods == Widget methods Widgets have **methods** – you’ve met some of them already. Now we’re going to show you a few more of them, and we’ll start ... y bound to the unique features of **event programming**. The methods are named (assuming that ''Widge
- 1.9 Looking at variables
- = 1.9 Looking at variables == Variables To implement some of its functions, Tkinter uses a very special kind of variable called an **observable variable**. This variable works like a... cessible to the outside world) but there is something more – any change of the variable’s state can be
- 2.2 A small lexicon of widgets - Part 2
- Non-clickable widgets The next four widgets fall into the **non-clickable** category. They’re designed to present **textual** information and don’t have a ''command'' property, although you can use ''bind()'' to simulate similar behavior. The ''Label'' widget displays some lines of text inside the window: <code python> label
- 2.1 A small lexicon of widgets - Part 1
- to present a systematized set of some of the ''tkinter'' widgets. We aren’t able to describe all of t... oat our course to an unmanageable size. We’re convinced that our collection is large enough to make you familiar with ''tkinter'' standards and habits, and at the same time w... and tests. You already know some of the widgets. In these cases, we’ll limit our descriptions to the
- 1.4 Coloring your widgets
- = 1.4 Coloring your widgets == Adding colors Nearly everything you put inside your windows may be **colored**. Most widgets have dedicated properties to handle the