# Interface ICefButton

Description
Hierarchy
Methods
Properties

## Unit

uCEFInterfaces

## Declaration

`type ICefButton = interface(ICefView)`

## Description

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.

UNKNOWN

<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))

## Hierarchy

- IInterface
- ICefBaseRefCounted
- ICefView
- ICefButton

## Overview

### Methods

Public | `function AsLabelButton: ICefLabelButton;`
Public | `procedure SetState(state_: TCefButtonState);`
Public | `function GetState: TCefButtonState;`
Public | `procedure SetInkDropEnabled(enabled_: boolean);`
Public | `procedure SetTooltipText(const tooltip_text: ustring);`
Public | `procedure SetAccessibleName(const name: ustring);`

### Properties

Public | `property State : TCefButtonState read GetState write SetState;`

## Description

### Methods

Public | `function AsLabelButton: ICefLabelButton;`
Returns this Button as a LabelButton or NULL if this is not a LabelButton. ###### Attributes GUID['{D3D2E8A0-9F9C-4BD8-B495-655976534281}']

Public | `procedure SetState(state_: TCefButtonState);`
Sets the current display state of the Button.

Public | `function GetState: TCefButtonState;`
Returns the current display state of the Button.

Public | `procedure SetInkDropEnabled(enabled_: boolean);`
Sets the Button will use an ink drop effect for displaying state changes.

Public | `procedure SetTooltipText(const tooltip_text: ustring);`
Sets the tooltip text that will be displayed when the user hovers the mouse cursor over the Button.

Public | `procedure SetAccessibleName(const name: ustring);`
Sets the accessible name that will be exposed to assistive technology (AT).

### Properties

Public | `property State : TCefButtonState read GetState write SetState;`
This item has no description.

Generated by PasDoc 1.0.4.