Jump to content

How can i create a tooltip?


Recommended Posts

Hello everybody, iam still trying to create a tooltip on my board, its not apear when my mouse is over a button.

 

code:

	def OnUpdate(self):
		global ToolTipShowIn
		self.KrSkill = uiToolTip.SkillToolTip()
		if self.fatk.IsIn():
			if ToolTipShowIn==0:
				ToolTipShowIn = 1
				self.fatk.SetSkillToolTip(self.KrSkill)
		else:
			if ToolTipShowIn==1:
				ToolTipShowIn = 0
				self.KrSkill.Hide()

syserr:

1128 23:35:23364 :: self.fatk.SetSkillToolTip(self.KrSkill)
1128 23:35:23364 :: AttributeError
1128 23:35:23364 :: 'Button' object has no attribute 'SetSkillToolTip'
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.