Panda3D
Classes | Functions | Variables
direct.tkwidgets.EntryScale Namespace Reference

Classes

class  EntryScale
 
class  EntryScaleGroup
 

Functions

def printVal (val)
 
def rgbPanel (nodePath, callback=None)
 

Variables

 expand
 
 fill
 
 group1
 
 mega1 = EntryScale(root, command = printVal)
 
 root = Toplevel()
 SAMPLE CODE. More...
 
 side
 

Detailed Description

EntryScale Class: Scale with a label, and a linked and validated entry

Function Documentation

◆ printVal()

def direct.tkwidgets.EntryScale.printVal (   val)

◆ rgbPanel()

def direct.tkwidgets.EntryScale.rgbPanel (   nodePath,
  callback = None 
)

Variable Documentation

◆ expand

expand

◆ fill

fill

◆ group1

group1
Initial value:
1 = EntryScaleGroup(root, dim = 4,
2  title = 'Simple RGBA Panel',
3  labels = ('R', 'G', 'B', 'A'),
4  Valuator_min = 0.0,
5  Valuator_max = 255.0,
6  Valuator_resolution = 1.0,
7  command = printVal)

◆ mega1

mega1 = EntryScale(root, command = printVal)

◆ root

root = Toplevel()

SAMPLE CODE.

◆ side

side