Python Forum
PyGtk3, How to Create “title-changed” signal for Gtk.Window Widget?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyGtk3, How to Create “title-changed” signal for Gtk.Window Widget?
#1
i want create signal that runs when title of window changed.

example

    def printTitleChanged(windowName):
        print("title of",windowName, "changed")

    myWindow = gtk.Window("example")
    myWindow.connect("title-changed", printTitleChanged, "myWindow")
i asked this in stackoverflow but it not answered please help me.
thanks.
Reply
#2
Does that not work? Do you get errors, or does it just do nothing?
Reply
#3
@nilamo,

what are you saying ? i didn't understand.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 342 Mar-17-2024, 09:37 AM
Last Post: deanhystad
  kivy: how to create a widget that represents a circled letter? Coricoco_fr 1 946 Feb-10-2023, 03:45 PM
Last Post: Coricoco_fr
  [Tkinter] Tkinter Window Has no Title Bar gw1500se 4 2,795 Nov-07-2021, 05:14 PM
Last Post: gw1500se
  [Tkinter] Is it the right way to create a second window? aquerci 3 4,023 May-19-2020, 07:22 AM
Last Post: aquerci
  tkinter window and turtle window error 1885 3 6,624 Nov-02-2019, 12:18 PM
Last Post: 1885
  [Kivy] GUI properties defined (and changed) by variables in .py file j.crater 2 3,296 Aug-07-2018, 09:33 AM
Last Post: j.crater
  Menus and icons changed after upgrade blackclover 0 1,904 May-11-2018, 08:14 PM
Last Post: blackclover
  PyGtk3, No Module Named gi, on python3.5 on Windows harun2525 8 34,325 May-19-2017, 01:30 PM
Last Post: snippsat
  pygtk3, how to change application theme ? harun2525 7 7,236 May-10-2017, 08:42 PM
Last Post: harun2525
  PyGTK3, I can't Change Button and Table Backgorund Color using modify_bg method. harun2525 3 9,082 Apr-24-2017, 04:05 PM
Last Post: changos

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020