Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GridSizeUI Class Reference
Inheritance diagram for GridSizeUI:

## Public Member Functions
| __init__ (self, parent, id, title, gridSize, gridSpacing)
| onApply (self, evt)

## Public Attributes
| gridSizeSlider
| gridSpacingSlider
| onApply = wx.Button(self, -1, 'Apply', size=(70, 20))
| parent = parent

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | parent,
|  |  | id,
|  |  | title,
|  |  | gridSize,
|  |  | gridSpacing )

## Member Function Documentation

## ◆ onApply()

onApply | ( |  | self,
|  |  | evt )

## Member Data Documentation

## ◆ gridSizeSlider

gridSizeSlider

Initial value:
= WxSlider(panel, -1, float(gridSize), 10.0, 100000.0,
pos = (10, 25), size=(220, -1),
style=wx.SL_HORIZONTAL | wx.SL_LABELS, textSize=(80,20))

## ◆ gridSpacingSlider

gridSpacingSlider

Initial value:
= WxSlider(panel, -1, float(gridSpacing), 0.01, 2000.0,
pos = (10, 115), size=(220, -1),
style=wx.SL_HORIZONTAL | wx.SL_LABELS)

## ◆ onApply

onApply = wx.Button(self, -1, 'Apply', size=(70, 20))

## ◆ parent

parent = parent