Tutorial 2: toga.Group for Gtk
See original GitHub issue(scrolling.py:20344): GLib-GIO-CRITICAL **: g_application_set_application_id: assertion 'application_id == NULL || g_application_id_is_valid (application_id)' failed
Traceback (most recent call last):
File "/home/ry/.virtualenvs/Contrib-Beware/lib/python3.5/site-packages/toga_gtk/app.py", line 139, in _startup
self.startup()
File "/home/ry/.virtualenvs/Contrib-Beware/lib/python3.5/site-packages/toga/interface/app.py", line 125, in startup
self.main_window.content = self._startup_method(self)
File "scrolling.py", line 61, in build
things = toga.Group('Things')
AttributeError: module 'toga' has no attribute 'Group'
This error is pulled from the tutorial 2. https://github.com/pybee/toga/blob/master/examples/tutorial2/tutorial/app.py The error is in regards to line 61.
This is found using the linux version of toga (toga-Gtk).
I have been able to work around the issue in the mean time.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Release 0.2.13 Russell Keith-Magee - Toga Documentation
Toga has some minimum requirements: • If you're on OS X, you need to be on 10.7 (Lion) or newer. • If you're...
Read more >Alternate GTK/Gnome mapping for Toga.Command/Group · Issue ...
Toga needs an alternate GTK/Gnome mapping for Toga. ... Command/Group #1159 ... If you want to do this in practical terms: What would...
Read more >Anagram Finding app with Python Part 2: Enter Toga - Medium
Welcome back! In the second part of our tutorial, we are going to create a GUI for our anagrama solver application. For newcomers...
Read more >Toga Documentation | Manualzz
3.4. Toga internals 25. Toga Documentation, Release 0.2.5. 0.1.2 ... Cocoa: NSTextView inside an NSScrollView - GTK+: Gtk.TextView?
Read more >toga-core: Documentation | Openbase
toga -core docs, getting started, code examples, API reference and more. ... When running under Linux, Toga uses the system native python GTK+3...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Correct. Toga-gtk is an wrapper around what GTK provides. The intention is that the same Toga API can then be used to talk to Cocoa (on macOS), iOS, Windows Forms, or whatever other system native layer is available.
To that end - yes - everything that Gtk+ provides is fair game.
This should be resolved as a result of recent refactoring and testing.