Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefButton

CefBaseRefCounted
   |
   +--CefView
         |
         +--CefButton

   in cef_button.h
Direct Known Subclasses:
CefLabelButton

class CefButton
extends CefView

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.


Method Summary
 virtual CefRefPtr< CefLabelButton > AsLabelButton()= 0
          Returns this Button as a LabelButton or NULL if this is not a LabelButton.
 virtual cef_button_state_t GetState()= 0
          Returns the current display state of the Button.
 virtual void SetAccessibleName( const CefString& name )= 0
          Sets the accessible name that will be exposed to assistive technology (AT).
 virtual void SetInkDropEnabled( bool enabled )= 0
          Sets the Button will use an ink drop effect for displaying state changes.
 virtual void SetState( cef_button_state_t state )= 0
          Sets the current display state of the Button.
 virtual void SetTooltipText( const CefString& tooltip_text )= 0
          Sets the tooltip text that will be displayed when the user hovers the mouse cursor over the Button.
   
Methods inherited from class CefView
AsBrowserView, AsButton, AsPanel, AsScrollView, AsTextfield, GetTypeString, ToString, IsValid, IsAttached, IsSame, GetDelegate, GetWindow, GetID, SetID, GetGroupID, SetGroupID, GetParentView, GetViewForID, SetBounds, GetBounds, GetBoundsInScreen, SetSize, GetSize, SetPosition, GetPosition, GetPreferredSize, SizeToPreferredSize, GetMinimumSize, GetMaximumSize, GetHeightForWidth, InvalidateLayout, SetVisible, IsVisible, IsDrawn, SetEnabled, IsEnabled, SetFocusable, IsFocusable, IsAccessibilityFocusable, RequestFocus, SetBackgroundColor, GetBackgroundColor, ConvertPointToScreen, ConvertPointFromScreen, ConvertPointToWindow, ConvertPointFromWindow, ConvertPointToView, ConvertPointFromView
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

AsLabelButton

public virtual CefRefPtr< CefLabelButton > AsLabelButton()= 0;
Returns this Button as a LabelButton or NULL if this is not a LabelButton.

GetState

public virtual cef_button_state_t GetState()= 0;
Returns the current display state of the Button.

SetAccessibleName

public virtual void SetAccessibleName( const CefString& name )= 0;
Sets the accessible name that will be exposed to assistive technology (AT).

SetInkDropEnabled

public virtual void SetInkDropEnabled( bool enabled )= 0;
Sets the Button will use an ink drop effect for displaying state changes.

SetState

public virtual void SetState( cef_button_state_t state )= 0;
Sets the current display state of the Button.

SetTooltipText

public virtual void SetTooltipText( const CefString& tooltip_text )= 0;
Sets the tooltip text that will be displayed when the user hovers the mouse cursor over the Button.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt