VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
NoMenuBuilder Class Reference

No menu builder adapter. More...

+ Inheritance diagram for NoMenuBuilder:

Public Member Functions

bool showCommandGroupInMenu (const Interface &context, const UTF8String &group) const override
 should the command group be visible in the menu
 
bool showCommandInMenu (const Interface &context, const Command &cmd) const override
 should the command be visible in the menu
 
- Public Member Functions inherited from MenuBuilderAdapter
SortFunction getCommandGroupSortFunction (const Interface &context, const UTF8String &group) const override
 return command group sort function
 
bool prependMenuSeparator (const Interface &context, const Command &cmd) const override
 should a menu separator prepend a command
 

Additional Inherited Members

- Public Types inherited from IMenuBuilder
using SortFunction = std::function< bool(const UTF8String &lhs, const UTF8String &rhs)>
 

Detailed Description

No menu builder adapter.

Use this to prevent a window to have a menu

Member Function Documentation

bool showCommandGroupInMenu ( const Interface context,
const UTF8String group 
) const
inlineoverridevirtual

should the command group be visible in the menu

Parameters
contexteither an IApplication or IWindow instance
groupgroup name
Returns
true for visible or false for invisible

Reimplemented from MenuBuilderAdapter.

bool showCommandInMenu ( const Interface context,
const Command cmd 
) const
inlineoverridevirtual

should the command be visible in the menu

Parameters
contexteither an IApplication or IWindow instance
cmdcommand
Returns
true for visible or false for invisible

Reimplemented from MenuBuilderAdapter.


The documentation for this class was generated from the following file: