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/python3 | |
# Needs Wayland! | |
import gi, math | |
gi.require_version('Gtk', '3.0') | |
from gi.repository import Gtk | |
import cairo | |
dialog = Gtk.MessageDialog(None, 0, Gtk.MessageType.WARNING, | |
Gtk.ButtonsType.OK_CANCEL, "Press OK to test rotate") |