# Record TCefLabelButton

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefLabelButton = record`

## Description

LabelButton is a button with optional text and/or icon. Methods must be called on the browser process UI thread unless otherwise indicated.

NOTE: This struct is allocated DLL-side.

Implemented by ICefLabelButton.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_label_button_capi.h">CEF source file: /include/capi/views/cef_label_button_capi.h (cef_label_button_t))

## Overview

### Fields

Public | `base: TCefButton;`
Public | `as_menu_button: function(self: PCefLabelButton): PCefMenuButton; stdcall;`
Public | `set_text: procedure(self: PCefLabelButton; const text: PCefString); stdcall;`
Public | `get_text: function(self: PCefLabelButton): PCefStringUserFree; stdcall;`
Public | `set_image: procedure(self: PCefLabelButton; button_state: TCefButtonState; image: PCefImage); stdcall;`
Public | `get_image: function(self: PCefLabelButton; button_state: TCefButtonState): PCefImage; stdcall;`
Public | `set_text_color: procedure(self: PCefLabelButton; for_state: TCefButtonState; color: TCefColor); stdcall;`
Public | `set_enabled_text_colors: procedure(self: PCefLabelButton; color: TCefColor); stdcall;`
Public | `set_font_list: procedure(self: PCefLabelButton; const font_list: PCefString); stdcall;`
Public | `set_horizontal_alignment: procedure(self: PCefLabelButton; alignment: TCefHorizontalAlignment); stdcall;`
Public | `set_minimum_size: procedure(self: PCefLabelButton; const size: PCefSize); stdcall;`
Public | `set_maximum_size: procedure(self: PCefLabelButton; const size: PCefSize); stdcall;`

## Description

### Fields

Public | `base: TCefButton;`
This item has no description.

Public | `as_menu_button: function(self: PCefLabelButton): PCefMenuButton; stdcall;`
This item has no description.

Public | `set_text: procedure(self: PCefLabelButton; const text: PCefString); stdcall;`
This item has no description.

Public | `get_text: function(self: PCefLabelButton): PCefStringUserFree; stdcall;`
This item has no description.

Public | `set_image: procedure(self: PCefLabelButton; button_state: TCefButtonState; image: PCefImage); stdcall;`
This item has no description.

Public | `get_image: function(self: PCefLabelButton; button_state: TCefButtonState): PCefImage; stdcall;`
This item has no description.

Public | `set_text_color: procedure(self: PCefLabelButton; for_state: TCefButtonState; color: TCefColor); stdcall;`
This item has no description.

Public | `set_enabled_text_colors: procedure(self: PCefLabelButton; color: TCefColor); stdcall;`
This item has no description.

Public | `set_font_list: procedure(self: PCefLabelButton; const font_list: PCefString); stdcall;`
This item has no description.

Public | `set_horizontal_alignment: procedure(self: PCefLabelButton; alignment: TCefHorizontalAlignment); stdcall;`
This item has no description.

Public | `set_minimum_size: procedure(self: PCefLabelButton; const size: PCefSize); stdcall;`
This item has no description.

Public | `set_maximum_size: procedure(self: PCefLabelButton; const size: PCefSize); stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.