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
+34-26Lines changed: 34 additions & 26 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
@@ -40,8 +40,10 @@ GTk
40
40
PyGObject aka (PyGi)
41
41
********************
42
42
43
-
`PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_ provides Python bindings which gives access to the entire GNOME software platform.
44
-
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/>`_.
Pyjs Desktop is a application widget set for desktop and a cross-platform framework. It allows the exact same Python web
104
-
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.
105
108
106
109
107
110
The main website: `pyjs <http://pyjs.org/>`_.
@@ -111,35 +114,40 @@ The main website: `pyjs <http://pyjs.org/>`_.
111
114
Qt
112
115
**
113
116
114
-
`Qt <http://qt-project.org/>`_ is a cross-platform application framework that
115
-
is widely used for developing software with a GUI but can also be used for
116
-
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.
117
120
118
121
119
122
***********
120
123
PySimpleGUI
121
124
***********
122
125
123
-
`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.
124
131
125
132
.. code-block:: console
126
133
127
134
$ pip install pysimplegui
128
135
129
-
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.
130
139
131
140
132
141
****
133
142
Toga
134
143
****
135
144
136
-
`Toga <https://toga.readthedocs.io/en/latest/>`_ is a Python native, OS
137
-
native, cross platform GUI toolkit. Toga consists of a library of base
138
-
components with a shared interface to simplify platform-agnostic GUI
139
-
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.
140
148
141
-
Toga is available on mOS, Windows, Linux (GTK), and mobile platforms such
142
-
as Android and iOS.
149
+
Toga is available on mOS, Windows, Linux (GTK), and mobile platforms such as
150
+
Android and iOS.
143
151
144
152
145
153
**
@@ -154,20 +162,20 @@ Both Tk and Tkinter are available on most Unix platforms, as well as on Windows
154
162
and Macintosh systems. Starting with the 8.0 release, Tk offers native look and
155
163
feel on all platforms.
156
164
157
-
There's a good multi-language Tk tutorial with Python examples at
158
-
`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
159
167
available on the `Python Wiki <http://wiki.python.org/moin/TkInter>`_.
160
168
161
169
162
170
********
163
171
wxPython
164
172
********
165
173
166
-
wxPython is a GUI toolkit for the Python programming language. It allows
167
-
Python programmers to create programs with a robust, highly functional
168
-
graphical user interface, simply and easily. It is implemented as a Python
169
-
extension module (native code) that wraps the popular wxWidgets cross platform
170
-
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++.
171
179
172
180
**Install (Stable) wxPython**
173
181
*go to https://www.wxpython.org/pages/downloads/ and download the appropriate
0 commit comments