12345678910111213141516171819202122232425262728293031323334353637383940 |
- #!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- #
- # hello-world.py
- # MIT License
- # Copyright (c) <2021> <stephen.stengel@cwu.edu>
- # This is a test program using glade and gtk through pygobject
- #TODO: Figure out why it goes transparent every two color flashes.
- # I've found that both gnome-terminal and byobu terminal have the transparency while guake does not.
- # Maybe guake is the odd one.
- import gi
- gi.require_version("Gtk", "3.0")
- from gi.repository import Gtk
- from MyWindow import MyWindow
- from MyWindow import FileChooser
- def main(args):
- testChooser = FileChooser()
-
- print("contents of testChooser: " + str(testChooser))
- print("contents of testChooser.path: " + str(testChooser.path))
- theWindow = MyWindow()
-
-
- Gtk.main()
-
- return 0
- if __name__ == '__main__':
- import sys
- sys.exit(main(sys.argv))
-
|