Python Forum
[Kivy] AttributeError setting the label text
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Kivy] AttributeError setting the label text
#4
you need to add self. in front of every b widget, e.g. self.b5, everywhere you use it if you want to be class properties. without self it's just a name that exists in __init__() only
Reply


Messages In This Thread
AttributeError setting the label text - by gio123 - Mar-14-2018, 09:24 AM
RE: AttributeError setting the label text - by buran - Mar-15-2018, 09:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to update label text using a grid button. Edward_ 7 2,059 Dec-18-2024, 03:05 AM
Last Post: Edward_
  update text variable on label with keypress knoxvilles_joker 5 8,056 May-31-2024, 02:09 PM
Last Post: menator01
  [Tkinter] The Text in the Label widget Tkinter cuts off the Long text in the view malmustafa 4 10,995 Jun-26-2022, 06:26 PM
Last Post: menator01
  [PyQt] AttributeError: 'NoneType' object has no attribute 'text' speedev 9 15,732 Sep-25-2021, 06:14 PM
Last Post: Axel_Erfurt
  How to read text in kivy textinput or Label jadel440 1 6,727 Dec-29-2020, 10:47 AM
Last Post: joe_momma
  [Kivy] Kivy text label won't shows up! AVD_01 1 3,982 Jun-21-2020, 04:01 PM
Last Post: AVD_01
  [Tkinter] Python 3 change label text gw1500se 6 6,861 May-08-2020, 05:47 PM
Last Post: deanhystad
  [Tkinter] how to update label text from list Roshan 8 7,697 Apr-25-2020, 08:04 AM
Last Post: Roshan
  [PyQt] Python PyQt5 - Change label text dynamically based on user Input ppel123 1 16,377 Mar-20-2020, 07:21 AM
Last Post: deanhystad
  [Tkinter] Help setting text/title in dock/panel in tkinter gui FluxApex 2 6,439 Mar-18-2020, 07:15 PM
Last Post: FluxApex

Forum Jump:

User Panel Messages

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