Model Railroad System  2.2.2
Functions
LabelSpinBox Namespace Reference

This is a specialized form of the LabelFrame widget containing a SpinBox Widget. More...

Functions

 create (path,...)
 Procedure to create a LabelSpinBox. More...
 
 configure (path,...)
 Procedure to configure a LabelSpinBox. More...
 
 cget (path, option)
 Procedure to get a configuation option. More...
 
 setvalue (path,...)
 Procedure to set the value of the SpinBox. More...
 
 getvalue (path,...)
 Procedure to get the value of the SpinBox. More...
 
 bind (path,...)
 Procedure to set a binding on the SpinBox entry. More...
 
 _path_command (path, cmd, larg)
 Path command for this megawidget. More...
 
 _destroy (path)
 Destructor function. More...
 

Detailed Description

This is a specialized form of the LabelFrame widget containing a SpinBox Widget.

Most of the resources from the LabelFrame and SpinBox widgets are included in this widget.

Parameters
pathThe widget path
...Options:
  • -labeljustify From LabelFrame (-justify).
  • -labelwidth From LabelFrame (-width).
  • -labelanchor From LabelFrame (-anchor).
  • -labelheight From LabelFrame (-height).
  • -labelfont From LabelFrame (-font).
  • -labeltextvariable From LabelFrame (-textvariable).
  • -label From LabelFrame (-text).
  • -spinboxfg From SpinBox (-foreground).
  • -spinboxbg From SpinBox (-background).
  • -range From SpinBox.
  • -values From SpinBox.
Author
Robert Heller <heller@deepsoft.com>

Package provided

BWLabelSpinBox 1.0

Function Documentation

◆ _destroy()

LabelSpinBox::_destroy ( path  )
private

Destructor function.

Parameters
pathThe path of the megawidget.

◆ _path_command()

LabelSpinBox::_path_command ( path  ,
cmd  ,
larg   
)
private

Path command for this megawidget.

Implements all of the megawidget commands.

Parameters
pathThe path of the megawidget.
cmdThe command name.
largThe command argument.

◆ bind()

LabelSpinBox::bind ( path  ,
  ... 
)

Procedure to set a binding on the SpinBox entry.

Parameters
pathPath to the new widget.
...Arguments to pass to the SpinBox bind procedure.

◆ cget()

LabelSpinBox::cget ( path  ,
option   
)

Procedure to get a configuation option.

Parameters
pathPath to the new widget.
optionConfiguration option to get.

◆ configure()

LabelSpinBox::configure ( path  ,
  ... 
)

Procedure to configure a LabelSpinBox.

Parameters
pathPath to the new widget.
...Configuration options.

◆ create()

LabelSpinBox::create ( path  ,
  ... 
)

Procedure to create a LabelSpinBox.

Parameters
pathPath to the new widget.
...Configuration options.

◆ getvalue()

LabelSpinBox::getvalue ( path  ,
  ... 
)

Procedure to get the value of the SpinBox.

Parameters
pathPath to the new widget.
...Arguments to pass to the SpinBox getvalue procedure.

◆ setvalue()

LabelSpinBox::setvalue ( path  ,
  ... 
)

Procedure to set the value of the SpinBox.

Parameters
pathPath to the new widget.
...Arguments to pass to the SpinBox setvalue procedure.