Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 27ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login

All gists

All Recently liked Recently forked
Recently created Least recently created Recently updated Least recently updated
sklly

sklly / GTK + Adw Python Examples

Last active 51 minutes ago

Python examples of a GTK/Adw app. Can be run as is on a linux system

0 0 1
1 # i hate blueprint files!
2 import gi
3
4 gi.require_version("Gtk", "4.0")
5 gi.require_version("Adw", "1")
6 from gi.repository import GLib, Gtk, Adw
7
8
9 class MyApplication(Adw.Application):
10 def __init__(self):