NAME

tom - Create and manipulate OpenGL widgets

SYNOPSIS

tom pathname ?options?

STANDARD OPTIONS

WIDGET-SPECIFIC OPTIONS

Command-Line Name: -alpha
Database Name: alpha
Database Class: Alpha
false

Command-Line Name: -current
Database Name: current
Database Class: Current
true

Command-Line Name: -depth
Database Name: depth
Database Class: Depth
false

Command-Line Name: -direct
Database Name: direct
Database Class: Direct
true

Command-Line Name: -doublebuffer
Database Name: doublebuffer
Database Class: Doublebuffer
false

Command-Line Name: -height
Database Name: height
Database Class: Height
Specifies the desired height for the window in any of the forms acceptable to Tk_GetPixels. If this option is less than or equal to zero then the window will not request any size at all (default).

Command-Line Name: -share
Database Name: share
Database Class: Share
Specifies the desired OpenGL widget to share context with. If this option is not specified, a new context is created.

Command-Line Name: -width
Database Name: width
Database Class: Width
Specifies the width for the window in any of the forms acceptable to Tk_GetPixels. If this option is less than or equal to zero then the window will not request any size at all (default).

DESCRIPTION

The tom command creates a new window (given by the pathName argument) and makes it into a tom widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the widget.The tom command returns the path name of the new window.

WIDGET COMMANDS

pathname swapbuffers
Swaps buffers if pathname is double buffered.

pathname makecurrent
Makes pathname current widget.

pathname expose?x y width height?
Calls pathname's <Expose> handlers with region x y width height. With no arguments, the region is the entire window.
This proc is provided to force screen update under Windows.