Context menus created with the context attribute work by adding a menu child to a widget. This causes problems that need to be worked around elsewhere; for example stepper looks for context menu children and gives them special treatment. Context menus should be handled without modifying the widget's children.
Context menus created with the
context
attribute work by adding amenu
child to a widget. This causes problems that need to be worked around elsewhere; for examplestepper
looks for context menu children and gives them special treatment. Context menus should be handled without modifying the widget's children.