direct.tkwidgets.WidgetPropertiesDialog

from direct.tkwidgets.WidgetPropertiesDialog import WidgetPropertiesDialog

Contains the WidgetPropertiesDialog class.

Inheritance diagram

Inheritance diagram of direct.tkwidgets.WidgetPropertiesDialog

class WidgetPropertiesDialog(propertyDict, propertyList=None, parent=None, title='Widget Properties')[source]

Bases: Toplevel

Class to open dialogs to adjust widget properties.

__init__(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()[source]

process the data

This method is called automatically to process the data, after the dialog is destroyed. By default, it does nothing.

body(master)[source]

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

buttonbox()[source]

add standard button box buttons.

cancel(event=None)[source]
destroy()[source]

Destroy the window

intOrNone(val)[source]
modified(widget, entry, property, type, fNone)[source]
ok(event=None)[source]
realOrNone(val)[source]
validateChanges()[source]