HasMenu returns true if the button has a menu that pops up when it is clicked (not that it is in a menu itself; see [ButtonMenu])
()
| 297 | // HasMenu returns true if the button has a menu that pops up when it is clicked |
| 298 | // (not that it is in a menu itself; see [ButtonMenu]) |
| 299 | func (bt *Button) HasMenu() bool { |
| 300 | return bt.Menu != nil |
| 301 | } |
| 302 | |
| 303 | // openMenu opens any menu associated with this element. |
| 304 | // It returns whether any menu was opened. |
no outgoing calls
no test coverage detected