I have the following sample:
import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk import time page_number = 0 window = Gtk.Window() window.set_title("Page "+ str(page_number+1)) window.show_all() Gtk.main()
In my project, the value of
page_number will increase.
Sorry for the very basic question, but how can I make that the window title gets the updated value?
Many thanks for your help.