type TCefButtonRef = class(TCefViewRef, ICefButton)
A View representing a button. Depending on the specific type, the button could be implemented by a native control or custom rendered. Methods must be called on the browser process UI thread unless otherwise indicated.
<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_button_capi.h">CEF source file: /include/capi/views/cef_button_capi.h (cef_button_t))
![]() |
function AsLabelButton: ICefLabelButton; |
![]() |
procedure SetState(state_: TCefButtonState); |
![]() |
function GetState: TCefButtonState; |
![]() |
procedure SetInkDropEnabled(enabled_: boolean); |
![]() |
procedure SetTooltipText(const tooltip_text: ustring); |
![]() |
procedure SetAccessibleName(const name: ustring); |
![]() |
class function UnWrap(data: Pointer): ICefButton; |
![]() |
function AsLabelButton: ICefLabelButton; |
Returns this Button as a LabelButton or NULL if this is not a LabelButton. |
![]() |
procedure SetState(state_: TCefButtonState); |
Sets the current display state of the Button. |
![]() |
function GetState: TCefButtonState; |
Returns the current display state of the Button. |
![]() |
procedure SetInkDropEnabled(enabled_: boolean); |
Sets the Button will use an ink drop effect for displaying state changes. |
![]() |
procedure SetTooltipText(const tooltip_text: ustring); |
Sets the tooltip text that will be displayed when the user hovers the mouse cursor over the Button. |
![]() |
procedure SetAccessibleName(const name: ustring); |
Sets the accessible name that will be exposed to assistive technology (AT). |
![]() |
class function UnWrap(data: Pointer): ICefButton; |
Returns a ICefButton instance using a PCefButton data pointer. |