openshot-audio  0.1.4
Public Member Functions | Friends | List of all members
juce::PopupMenu::Options Class Reference

#include <juce_gui_basics.h>

Public Member Functions

 Options ()
 
Options withTargetComponent (Component *targetComponent) const noexcept
 
Options withTargetScreenArea (const Rectangle< int > &targetArea) const noexcept
 
Options withMinimumWidth (int minWidth) const noexcept
 
Options withMaximumNumColumns (int maxNumColumns) const noexcept
 
Options withStandardItemHeight (int standardHeight) const noexcept
 
Options withItemThatMustBeVisible (int idOfItemToBeVisible) const noexcept
 

Friends

class PopupMenu
 
class PopupMenu::Window
 

Detailed Description

Class used to create a set of options to pass to the show() method. You can chain together a series of calls to this class's methods to create a set of whatever options you want to specify. E.g.

Constructor & Destructor Documentation

◆ Options()

PopupMenu::Options::Options ( )

Member Function Documentation

◆ withItemThatMustBeVisible()

PopupMenu::Options PopupMenu::Options::withItemThatMustBeVisible ( int  idOfItemToBeVisible) const
noexcept

◆ withMaximumNumColumns()

PopupMenu::Options PopupMenu::Options::withMaximumNumColumns ( int  maxNumColumns) const
noexcept

◆ withMinimumWidth()

PopupMenu::Options PopupMenu::Options::withMinimumWidth ( int  minWidth) const
noexcept

◆ withStandardItemHeight()

PopupMenu::Options PopupMenu::Options::withStandardItemHeight ( int  standardHeight) const
noexcept

◆ withTargetComponent()

PopupMenu::Options PopupMenu::Options::withTargetComponent ( Component targetComponent) const
noexcept

◆ withTargetScreenArea()

PopupMenu::Options PopupMenu::Options::withTargetScreenArea ( const Rectangle< int > &  targetArea) const
noexcept

Friends And Related Function Documentation

◆ PopupMenu

friend class PopupMenu
friend

◆ PopupMenu::Window

friend class PopupMenu::Window
friend

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