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
import gi, sys | |
gi.require_version('Gtk', '4.0') | |
gi.require_version('Adw', '1') | |
from gi.repository import Gtk, Adw, GLib | |
class MainWindow(Adw.ApplicationWindow): | |
def __init__(self, *args, **kwargs): | |
super().__init__(*args, **kwargs) | |
GLib.set_application_name("Gtk Overlay") | |
GLib.set_prgname("Gtk Examples by Afacanc38") |
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
# Thanks to @keremgokcek for helping to make the search action. | |
import gi, sys | |
gi.require_version ( | |
'Gtk', | |
'4.0' | |
) | |
gi.require_version ( | |
'Adw', | |
'1' | |
) |