Page 1 of 1

GadgetTooltip

Posted: Sat Jun 22, 2019 6:06 am
by wombats
On the TextGadget page, it says GadgetTooltip only works on Linux. However, it also works on macOS (I have only tested on Mojave):

Image

Code: Select all

If OpenWindow(0, 0, 0, 270, 160, "TextGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  TextGadget(0, 10,  10, 250, 20, "TextGadget Standard (Left)")
  TextGadget(1, 10,  70, 250, 20, "TextGadget Center", #PB_Text_Center)
  GadgetToolTip(0, "The help says I won't work, but I do!")
  GadgetToolTip(1, "So do I!")
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Also, TextGadget is not listed on the GadgetToolTip page.

Re: GadgetTooltip

Posted: Sat Mar 02, 2024 8:05 pm
by Andre
If GadgetToolTip() officially works for TextGadgets in PB, then it should be added in the docs. But that's something Fred should know...