Jump to content
  • 0

How can i create a tooltip?


Noa

Question

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
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.