Commit graph

7 commits

Author SHA1 Message Date
mlncn
9a8be46f8a Bring triggers to actually show window into main function
Well, init function.  Point is our calling program shouldn't have to think
about windows showing all or GTK main anything!

The main trick mentioned last commit wasn't this call to Gtk.main() but rather
the if __name__ == '__main__' bit.
2021-05-02 12:11:53 -04:00
mlncn
596bf7e6a0 Prepare for being a helper script and stop messing with it
The 'main' trick is cool, all that stuff within it only happens if it's called
directly.
2021-05-02 12:04:02 -04:00
mlncn
d4edd49862 Provide a reset button where, if there was text to start out with, in case it was accidentally overwritten 2021-05-02 11:32:18 -04:00
mlncn
67ff99afe1 Demonstration of how to get the value as we don't want actual saving done in this script 2021-05-02 11:19:36 -04:00
mlncn
5792d1e6a5 Add an OK button! 2021-05-01 14:44:20 -04:00
mlncn
0def577866 Here we can actually retrieve what is written on enter 2021-05-01 13:13:12 -04:00
mlncn
d1bc9d62fa Start a file for refactoring prompts to bypass zenipy, use Gtk 2021-05-01 12:48:32 -04:00