"contextMenuPolicy"
Defines how the respective widgets shows the context menu.
Synopsis
shape.contextMenuPolicy(string menu);
Parameters
| Parameter | Description |
|---|---|
| shape | Name of the object |
| menu |
|
Description
Defines how the respective widgets shows the context menu.
Assignment
TextEdit, Thumb Wheel, Progress Bar, Slider, ...