gtk add tag
so my lap runs kde neon in beta (ofcourse with kde, gtk works somehow cause ANY window popups)

making app looking like:
import gi

gi.require_version("Gtk", "3.0")
from gi.repository import Gtk

class GridWindow(Gtk.Window):
    def __init__(self):


        grid = Gtk.Grid()
        buttonaa = Gtk.Button(label="•")
        buttonab = Gtk.Button(label="•")
        buttonac = Gtk.Button(label="•")
        buttonad = Gtk.Button(label="•")
        buttonaa.connect("clicked", self.on_buttonaa_clicked)
        buttonab.connect("clicked", self.on_buttonac_clicked)
        buttonac.connect("clicked", self.on_buttonae_clicked)
        buttonad.connect("clicked", self.on_buttonag_clicked)
        grid.attach(buttonaa, 0, 0, 1, 1)
        grid.attach(buttonab, 0, 1, 1, 1)
        grid.attach(buttonac, 0, 2, 1, 1)
        grid.attach(buttonad, 0, 3, 1, 1)
    def on_buttonaa_clicked(self, widget):

    def on_buttonab_clicked(self, widget):

    def on_buttonac_clicked(self, widget):

    def on_buttonad_clicked(self, widget):
win = Gtk.Window()
win.connect("destroy", Gtk.main_quit)


making app like this (ofcourse buttons are ways more...) results with window - correct, non-titled window - incorrect, no ANY grid - incorrect.

which lines should be where? 

why the heck it doesnt display neither grid nor title?

tbh - im stuck in it for a few days and didnt got any idea about it, i think it looks same as from tutorials... or similar...
Top Answer
well... already solved - just needed to change variable of main window at bottom of file :'D stupid bug :'D

question closed :'D

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.