Python Forum
Issue referencing new instance from other class
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue referencing new instance from other class
#2
Can the button callback be responsible for making the thread? If not it sounds like you need an intermediary, somebody who knows about the current thread and provides a function for doing whatever the button needs to do. This could be a class method of your thread creator class (Heating Control), or a completely separate class designed to manage the interaction between GUI and threads.
Reply


Messages In This Thread
RE: Issue referencing new instance from other class - by deanhystad - Jul-30-2020, 06:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  name 'lblstatus' is not defined when referencing a label KatManDEW 4 1,659 Apr-21-2022, 12:33 PM
Last Post: KatManDEW
  Child class inheritance issue eakanathan 3 1,460 Apr-21-2022, 12:03 PM
Last Post: deanhystad
  Dictionary Referencing nickdavis2017 1 1,664 Nov-20-2021, 06:24 PM
Last Post: deanhystad
  Access instance of a class Pavel_47 5 2,201 Nov-19-2021, 10:05 AM
Last Post: Gribouillis
  Referencing string names in df to outside variables illmattic 1 1,424 Nov-16-2021, 12:47 PM
Last Post: jefsummers
  Class Instance angus1964 4 2,551 Jun-22-2021, 08:50 AM
Last Post: angus1964
  Referencing a fixed cell Mark17 2 2,156 Dec-17-2020, 07:14 PM
Last Post: Mark17
  Can we access instance variable of parent class in child class using inheritance akdube 3 14,108 Nov-13-2020, 03:43 AM
Last Post: SalsaBeanDip
Sad need help in referencing a list n00bdev 2 1,904 Nov-01-2020, 12:06 PM
Last Post: buran
  Class variable / instance variable ifigazsi 9 4,506 Jul-28-2020, 11:40 AM
Last Post: buran

Forum Jump:

User Panel Messages

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