SetToolTipText sets the tool tip text of the WidgetBase.
(s string)
| 403 | |
| 404 | // SetToolTipText sets the tool tip text of the WidgetBase. |
| 405 | func (wb *WidgetBase) SetToolTipText(s string) error { |
| 406 | if tt := wb.group.ToolTip(); tt != nil { |
| 407 | if err := tt.SetText(wb.window.(Widget), s); err != nil { |
| 408 | return err |
| 409 | } |
| 410 | } |
| 411 | |
| 412 | wb.toolTipTextChangedPublisher.Publish() |
| 413 | |
| 414 | return nil |
| 415 | } |
| 416 | |
| 417 | // GraphicsEffects returns a list of WidgetGraphicsEffects that are applied to the WidgetBase. |
| 418 | func (wb *WidgetBase) GraphicsEffects() *WidgetGraphicsEffectList { |