You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/scenarios/gui.rst
+38-37Lines changed: 38 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ Camelot
14
14
*******
15
15
16
16
`Camelot <http://www.python-camelot.com>`_ provides components for building
17
-
applications on top of Python, SQLAlchemy, and Qt. It is inspired by
18
-
the Django admin interface.
17
+
applications on top of Python, SQLAlchemy, and Qt. It is inspired by the Django
18
+
admin interface.
19
19
20
20
The main resource for information is the website:
21
21
http://www.python-camelot.com
@@ -33,19 +33,17 @@ Cocoa
33
33
GTk
34
34
***
35
35
36
-
PyGTK provides Python bindings for the GTK+ toolkit. Like the GTK+ library
37
-
itself, it is currently licensed under the GNU LGPL. It is worth noting that
38
-
PyGTK only currently supports the Gtk-2.X API (NOT Gtk-3.0). It is currently
39
-
recommended that PyGTK not be used for new projects and that existing
40
-
applications be ported from PyGTK to PyGObject.
36
+
.. note:: PyGTK provides Python bindings for the GTK+ toolkit. However, it has been superseded by PyGObject. PyGTK should not be used for new projects and existing projects should be ported to PyGObject.
41
37
42
38
43
39
********************
44
40
PyGObject aka (PyGi)
45
41
********************
46
42
47
-
`PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_ provides Python bindings which gives access to the entire GNOME software platform.
48
-
It is fully compatible with GTK+ 3. Here is a tutorial to get started with `Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.io/en/latest/>`_.
PyjamasDesktop is a port of Pyjamas. PyjamasDesktop is application widget set
108
-
for desktop and a cross-platform framework. (After release v0.6 PyjamasDesktop
109
-
is a part of Pyjamas (Pyjs)). Briefly, it allows the exact same Python web
110
-
application source code to be executed as a standalone desktop application.
105
+
Pyjs Desktop is a application widget set for desktop and a cross-platform
106
+
framework. It allows the exact same Python web application source code to be
107
+
executed as a standalone desktop application.
111
108
112
-
`Python Wiki for PyjamasDesktop <http://wiki.python.org/moin/PyjamasDesktop>`_.
113
109
114
-
The main website: `pyjs Desktop <http://pyjs.org/>`_.
110
+
The main website: `pyjs <http://pyjs.org/>`_.
115
111
116
112
117
113
**
118
114
Qt
119
115
**
120
116
121
-
`Qt <http://qt-project.org/>`_ is a cross-platform application framework that
122
-
is widely used for developing software with a GUI but can also be used for
123
-
non-GUI applications.
117
+
`Qt <http://qt-project.org/>`_ is a cross-platform application framework that is
118
+
widely used for developing software with a GUI but can also be used for non-GUI
119
+
applications.
124
120
125
121
126
122
***********
127
123
PySimpleGUI
128
124
***********
129
125
130
-
`PySimpleGUI <https://pysimplegui.readthedocs.io/>`_ is a wrapper for Tkinter and Qt (others on the way). The amount of code required to implement custom GUIs is much shorter using PySimpleGUI than if the same GUI were written directly using Tkinter or Qt. PySimpleGUI code can be "ported" between GUI frameworks by changing import statements.
126
+
`PySimpleGUI <https://pysimplegui.readthedocs.io/>`_ is a wrapper for Tkinter
127
+
and Qt (others on the way). The amount of code required to implement custom
128
+
GUIs is much shorter using PySimpleGUI than if the same GUI were written
129
+
directly using Tkinter or Qt. PySimpleGUI code can be "ported" between GUI
130
+
frameworks by changing import statements.
131
131
132
132
.. code-block:: console
133
133
134
134
$ pip install pysimplegui
135
135
136
-
PySimpleGUI is contained in a single PySimpleGUI.py file. Should pip installation be impossible, copying the PySimpleGUI.py file into a project's folder is all that's required to import and begin using.
136
+
PySimpleGUI is contained in a single PySimpleGUI.py file. Should pip
137
+
installation be impossible, copying the PySimpleGUI.py file into a project's
138
+
folder is all that's required to import and begin using.
137
139
138
140
139
141
****
140
142
Toga
141
143
****
142
144
143
-
`Toga <https://toga.readthedocs.io/en/latest/>`_ is a Python native, OS
144
-
native, cross platform GUI toolkit. Toga consists of a library of base
145
-
components with a shared interface to simplify platform-agnostic GUI
146
-
development.
145
+
`Toga <https://toga.readthedocs.io/en/latest/>`_ is a Python native, OS native,
146
+
cross platform GUI toolkit. Toga consists of a library of base components with a
147
+
shared interface to simplify platform-agnostic GUI development.
147
148
148
-
Toga is available on mOS, Windows, Linux (GTK), and mobile platforms such
149
-
as Android and iOS.
149
+
Toga is available on mOS, Windows, Linux (GTK), and mobile platforms such as
150
+
Android and iOS.
150
151
151
152
152
153
**
@@ -161,21 +162,21 @@ Both Tk and Tkinter are available on most Unix platforms, as well as on Windows
161
162
and Macintosh systems. Starting with the 8.0 release, Tk offers native look and
162
163
feel on all platforms.
163
164
164
-
There's a good multi-language Tk tutorial with Python examples at
165
-
`TkDocs <http://www.tkdocs.com/tutorial/index.html>`_. There's more information
165
+
There's a good multi-language Tk tutorial with Python examples at `TkDocs
166
+
<http://www.tkdocs.com/tutorial/index.html>`_. There's more information
166
167
available on the `Python Wiki <http://wiki.python.org/moin/TkInter>`_.
167
168
168
169
169
170
********
170
171
wxPython
171
172
********
172
173
173
-
wxPython is a GUI toolkit for the Python programming language. It allows
174
-
Python programmers to create programs with a robust, highly functional
175
-
graphical user interface, simply and easily. It is implemented as a Python
176
-
extension module (native code) that wraps the popular wxWidgets cross platform
177
-
GUI library, which is written in C++.
174
+
wxPython is a GUI toolkit for the Python programming language. It allows Python
175
+
programmers to create programs with a robust, highly functional graphical user
176
+
interface, simply and easily. It is implemented as a Python extension module
177
+
(native code) that wraps the popular wxWidgets cross platform GUI library, which
178
+
is written in C++.
178
179
179
180
**Install (Stable) wxPython**
180
-
*go to http://www.wxpython.org/download.php#stable and download the appropriate
181
+
*go to https://www.wxpython.org/pages/downloads/ and download the appropriate
0 commit comments