direct.tkwidgets.WidgetPropertiesDialog
from direct.tkwidgets.WidgetPropertiesDialog import WidgetPropertiesDialog
Contains the WidgetPropertiesDialog class.
Inheritance diagram
- class WidgetPropertiesDialog(propertyDict, propertyList=None, parent=None, title='Widget Properties')[source]
Bases:
Toplevel
Class to open dialogs to adjust widget properties.
- __init__(self, propertyDict, propertyList=None, parent=None, title='Widget Properties')[source]
Initialize a dialog. :param propertyDict – a dictionary of properties to be edited: :param parent – a parent window: :type parent – a parent window: the application window :param title – the dialog title:
- apply(self)[source]
process the data
This method is called automatically to process the data, after the dialog is destroyed. By default, it does nothing.