(pos image.Point)
| 326 | } |
| 327 | |
| 328 | func (bt *Button) WidgetTooltip(pos image.Point) (string, image.Point) { |
| 329 | res := bt.Tooltip |
| 330 | if bt.Shortcut != "" && (!TheApp.SystemPlatform().IsMobile() || TheApp.Platform() == system.Offscreen) { |
| 331 | res = "[" + bt.Shortcut.Label() + "]" |
| 332 | if bt.Tooltip != "" { |
| 333 | res += " " + bt.Tooltip |
| 334 | } |
| 335 | } |
| 336 | return res, bt.DefaultTooltipPos() |
| 337 | } |
nothing calls this directly
no test coverage detected