Panda3D
Public Member Functions | Public Attributes | List of all members
WidgetPropertiesDialog Class Reference
Inheritance diagram for WidgetPropertiesDialog:

Public Member Functions

def __init__ (self, propertyDict, propertyList=None, parent=None, title='Widget Properties')
 
def apply (self)
 
def body (self, master)
 
def buttonbox (self)
 
def cancel (self, event=None)
 
def destroy (self)
 
def intOrNone (self, val)
 
def modified (self, widget, entry, property, type, fNone)
 
def ok (self, event=None)
 
def realOrNone (self, val)
 
def validateChanges (self)
 

Public Attributes

 balloonList
 
 initial_focus
 
 modifiedDict
 
 parent
 
 propertyDict
 
 propertyList
 

Detailed Description

Class to open dialogs to adjust widget properties.

Constructor & Destructor Documentation

◆ __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

Member Function Documentation

◆ 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 
)

◆ destroy()

def destroy (   self)
Destroy the window

◆ intOrNone()

def intOrNone (   self,
  val 
)

◆ modified()

def modified (   self,
  widget,
  entry,
  property,
  type,
  fNone 
)

◆ ok()

def ok (   self,
  event = None 
)

◆ realOrNone()

def realOrNone (   self,
  val 
)

◆ validateChanges()

def validateChanges (   self)

Member Data Documentation

◆ balloonList

balloonList

◆ initial_focus

initial_focus

◆ modifiedDict

modifiedDict

◆ parent

parent

◆ propertyDict

propertyDict

◆ propertyList

propertyList