22
22
pygui_works (gui:: Symbol ) = gui == :default ||
23
23
((gui == :wx && pyexists (" wx" )) ||
24
24
(gui == :gtk && pyexists (" gtk" )) ||
25
- (gui == :gtk3 && pyexists (" gi.repository.Gtk " )) ||
25
+ (gui == :gtk3 && pyexists (" gi" )) ||
26
26
(gui == :tk && pyexists (tkinter_name ())) ||
27
27
(gui == :qt_pyqt4 && pyexists (" PyQt4" )) ||
28
28
(gui == :qt_pyside && pyexists (" PySide" )) ||
@@ -32,7 +32,7 @@ pygui_works(gui::Symbol) = gui == :default ||
32
32
"""
33
33
pygui()
34
34
35
- Return the current GUI toolkit as a symbol.
35
+ Return the current GUI toolkit as a symbol.
36
36
"""
37
37
function pygui ()
38
38
global gui
@@ -158,9 +158,9 @@ const eventloops = Dict{Symbol,Timer}()
158
158
"""
159
159
pygui_start(gui::Symbol = pygui())
160
160
161
- Start the event loop of a certain toolkit.
161
+ Start the event loop of a certain toolkit.
162
162
163
- The argument `gui` defaults to the current default GUI, but it could be `:wx`, `:gtk`, `:gtk3`, `:tk`, or `:qt`.
163
+ The argument `gui` defaults to the current default GUI, but it could be `:wx`, `:gtk`, `:gtk3`, `:tk`, or `:qt`.
164
164
165
165
"""
166
166
function pygui_start (gui:: Symbol = pygui (), sec:: Real = 50e-3 )
194
194
"""
195
195
pygui_stop(gui::Symbol = pygui())
196
196
197
- Stop any running event loop for gui. The `gui` argument defaults to current default GUI.
197
+ Stop any running event loop for gui. The `gui` argument defaults to current default GUI.
198
198
199
199
"""
200
200
function pygui_stop (gui:: Symbol = pygui ())
0 commit comments