From 4b8ad5130f6f7c26cbd7aa5d1992d8358510c267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alperen=20=C4=B0sa?= <66299502+Afacanc38@users.noreply.github.com> Date: Mon, 30 Aug 2021 15:28:39 +0300 Subject: [PATCH] box => winbox --- handy/2-headerbar.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/handy/2-headerbar.py b/handy/2-headerbar.py index e3ed258..c825ef0 100644 --- a/handy/2-headerbar.py +++ b/handy/2-headerbar.py @@ -14,20 +14,20 @@ class MyWindow(Handy.Window): self.add(self.handle) # Box - self.box = Gtk.Box(spacing=6, orientation=Gtk.Orientation.VERTICAL) + self.winbox = Gtk.Box(spacing=6, orientation=Gtk.Orientation.VERTICAL) self.handle.add(self.box) # Headerbar self.hb = Handy.HeaderBar() self.hb.set_show_close_button(True) self.hb.props.title = "HeaderBar Example" - self.box.pack_start(self.hb, False, True, 0) + self.winbox.pack_start(self.hb, False, True, 0) # Label self.lbl = Gtk.Label() self.lbl.set_text("Hebele hübele") self.lbl.set_justify(Gtk.Justification.CENTER) - self.box.pack_start(self.lbl, True, True, 0) + self.winbox.pack_start(self.lbl, True, True, 0) win = MyWindow()