From de046f45b5dc775d33f37ff740feb1c587565b02 Mon Sep 17 00:00:00 2001 From: afacanc38 Date: Sat, 16 Oct 2021 15:33:03 +0300 Subject: [PATCH] updated 4-stack.py --- handy/4-stack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/handy/4-stack.py b/handy/4-stack.py index da1e000..81f5672 100644 --- a/handy/4-stack.py +++ b/handy/4-stack.py @@ -59,6 +59,7 @@ class MyWindow(Handy.Window): self.hb.pack_start(self.button2) self.button2.connect("clicked", self.on_button2_clicked) + # https://stackoverflow.com/questions/69595073/pygobject-page-switching-with-buttons def on_button1_clicked(self, widget): pages = self.stack.get_children() cur_page = self.stack.get_visible_child()