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 CefMenuButtonDelegate

CefBaseRefCounted
   |
   +--CefViewDelegate
         |
         +--CefButtonDelegate
               |
               +--CefMenuButtonDelegate

   in cef_menu_button_delegate.h

class CefMenuButtonDelegate
extends CefButtonDelegate

Implement this interface to handle MenuButton events. The methods of this class will be called on the browser process UI thread unless otherwise indicated.


Method Summary
 virtual void OnMenuButtonPressed( CefRefPtr< CefMenuButton > menu_button, const CefPoint& screen_point, CefRefPtr< CefMenuButtonPressedLock > button_pressed_lock )= 0
          Called when |button| is pressed.
   
Methods inherited from class CefButtonDelegate
OnButtonPressed, OnButtonStateChanged
   
Methods inherited from class CefViewDelegate
GetPreferredSize, GetMinimumSize, GetMaximumSize, GetHeightForWidth, OnParentViewChanged, OnChildViewChanged, OnFocus, OnBlur
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

OnMenuButtonPressed

public virtual void OnMenuButtonPressed( CefRefPtr< CefMenuButton > menu_button, const CefPoint& screen_point, CefRefPtr< CefMenuButtonPressedLock > button_pressed_lock )= 0;
Called when |button| is pressed. Call CefMenuButton::ShowMenu() to show a popup menu at |screen_point|. When showing a custom popup such as a window keep a reference to |button_pressed_lock| until the popup is hidden to maintain the pressed button state.

 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