# WidgetPropertiesDialog

from direct.tkwidgets.WidgetPropertiesDialog import WidgetPropertiesDialog

Class to open dialogs to adjust widget properties.

## Inheritance:

WidgetPropertiesDialog: Toplevel
Toplevel:

## Methods of WidgetPropertiesDialog:

__init__
apply
body
buttonbox
cancel
destroy
intOrNone
modified
ok
realOrNone
validateChanges

__init__ def __init__(self, propertyDict, propertyList=None, parent=None, title='Widget Properties') Initialize a dialog. Arguments: propertyDict -- a dictionary of properties to be edited parent -- a parent window (the application window) title -- the dialog title

apply def apply(self) process the data This method is called automatically to process the data, *after* the dialog is destroyed. By default, it does nothing.

body def body(self, master) create dialog body. return entry that should have initial focus. This method should be overridden, and is called by the __init__ method.

buttonbox def buttonbox(self) add standard button box buttons.

cancel def cancel(self, event=None) Undocumented function.

destroy def destroy(self) Destroy the window

intOrNone def intOrNone(self, val) Undocumented function.

modified def modified(self, widget, entry, property, type, fNone) Undocumented function.

ok def ok(self, event=None) Undocumented function.

realOrNone def realOrNone(self, val) Undocumented function.

validateChanges def validateChanges(self) Undocumented function.