LinkLabel
LinkLabel
小部件是Button
小部件的扩展,其行为类似于超链接标签。它利用了Button
小部件的功能,提供了额外的方法来处理特定于链接标签的事件和操作。
The LinkLabel
widget is an extension of the Button
widget, designed to behave like a hyperlink label. It leverages the functionality of the Button
widget, providing additional methods to handle events and actions specific to link labels.
Props
decorate | name | type | description |
---|---|---|---|
deref | button | Button | The underlying button widget that provides the core functionality for the LinkLabel . |
See Button
Event
name | description |
---|---|
clicked | Checks if the LinkLabel has been clicked. |
pressed | Checks if the LinkLabel is currently being pressed. |
released | Checks if the LinkLabel has been released. |