Created
February 21, 2016 22:58
-
-
Save craigcabrey/faf955ff7bc278e557d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import gi | |
gi.require_version('Gtk', '3.0') | |
from gi.repository import Gtk | |
window = Gtk.Window() | |
window.connect('destroy', lambda q: Gtk.main_quit()) | |
appchooserwidget = Gtk.AppChooserWidget() | |
appchooserwidget.set_show_all(True) | |
window.add(appchooserwidget) | |
window.show_all() | |
Gtk.main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment