cefpython icon indicating copy to clipboard operation
cefpython copied to clipboard

Expose mouse context menu handler

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

Code available in idrisha fork: https://bitbucket.org/idrissha/cefpython/commits/adf861240e7b4b22660b9517bded3d1b21bbbbac

Starting with release 31.0 it is possible to customize menu by enabling/disabling items, see ApplicationSettings."context_menu". However it does not allow for adding new menu items.

GoogleCodeExporter avatar Aug 28 '15 10:08 GoogleCodeExporter

API for creating native menus is available only in CEF 3. See cef_context_menu_handler.h [1] and cef_menu_model.h [2].

[1] https://code.google.com/p/chromiumembedded/source/browse/trunk/cef3/include/cef_context_menu_handler.h?r=1255 [2] https://code.google.com/p/chromiumembedded/source/browse/trunk/cef3/include/cef_menu_model.h?r=1255

Original comment by [email protected] on 21 May 2013 at 7:26

  • Changed title: Implement native menu API
  • Added labels: CEF3

GoogleCodeExporter avatar Aug 28 '15 10:08 GoogleCodeExporter