tabnotebook - create and manipulate tabnotebook widgets

SYNOPSIS

tabnotebook pathName? options?

INHERITANCE

itk::Widget <- tabnotebook

STANDARD OPTIONS

background
cursor
disabledForeground
font
foreground
height
scrollCommand
width

See the "options" manual entry for details on the standard options.

WIDGET-SPECIFIC OPTIONS

Name:                   angle
Class:                  Angle
Command-Line Switch:	-angle

Name:                   auto
Class:                  Auto
Command-Line Switch:	-auto

Name:                   backdrop
Class:                  Backdrop
Command-Line Switch:	-backdrop

Name:                   background
Class:                  Background
Command-Line Switch:	-background

Name:                   bevelAmount
Class:                  BevelAmount
Command-Line Switch:	-bevelamount

Name:                   borderWidth
Class:                  BorderWidth
Command-Line Switch:	-borderwidth

Name:                   disabledForeground
Class:                  DisabledForeground
Command-Line Switch:	-disabledforeground

Name:                   equalTabs
Class:                  EqualTabs
Command-Line Switch:	-equaltabs

Name:                   foreground
Class:                  Foreground
Command-Line Switch:	-foreground

Name:                   gap
Class:                  Gap
Command-Line Switch:	-gap

Name:                   margin
Class:                  Margin
Command-Line Switch:	-Bmargin

Name:                   padX
Class:                  PadX
Command-Line Switch:	-padx

Name:                   padY
Class:                  PadY
Command-Line Switch:	-pady

Name:                   raiseSelect
Class:                  RaiseSelect
Command-Line Switch:	-raiseselect

Name:                   start
Class:                  Start
Command-Line Switch:	-start

Name:                   state
Class:                  State
Command-Line Switch:	-state

Name:                   tabBackground
Class:                  TabBackground
Command-Line Switch:	-tabbackground

Name:                   tabBorders
Class:                  TabBorders
Command-Line Switch:	-tabborders

Name:                   tabForeground
Class:                  TabForeground
Command-Line Switch:	-tabforeground

Name:                   tabPos
Class:                  TabPos
Command-Line Switch:	-tabpos

DESCRIPTION

The tabnotebook command creates a new window (given by the pathName argument) and makes it into a tabnotebook widget. Additional options, described above may be specified on the command line or in the option database to configure aspects of the tabnotebook such as its colors, font, and text. The tabnotebook command returns its pathName argument. At the time this command is invoked, there must not exist a window named pathName, but pathName's parent must exist.

A tabnotebook is a widget that contains a set of tabbed pages. It displays one page from the set as the selected page. A Tab displays the label for the page to which it is attached and serves as a page selector. When a page's tab is selected, the page's contents are displayed in the page area. The selected tab has a three-dimensional effect to make it app this method to specialize functionality.

pathName up
Derived classes may overload this method to specialize functionality.

COMPONENTS

Name:                   downarrow
Class:                  Canvas

Name:                   uparrow
Class:                  Canvas

EXAMPLE

 set months {January February March April May June July \\
                 August September October November December}

 proc blockInput {char} {
     return 0
 }

 proc spinMonth {step} {
     global months

     set index [expr [lsearch $months [.sm get]] + $step]

     if {$index < 0} {set index 11}
     if {$index > 11} {set index 0}

     .sm delete 0 end
     .sm insert 0 [lindex $months $index]
 }

 spinner .sm -labeltext "Month : " -width 10 -fixed 10 -validate blockInput \\
             -decrement {spinMonth -1} -increment {spinMonth 1}
 .sm insert 0 January

 pack .sm -padx 10 -pady 10

ACKNOWLEDGEMENTS:

Ken Copeland <ken@hilco.com>

AUTHOR

Sue Yockey

KEYWORDS

spinner, widget ./usr/lib/iwidgets4.0.1/demos/html/spintime.n.html0100644000000000000000000002331107347201764020530 0ustar rootrootspintime - Create and manipulate time spinner widgets

spintime - Create and manipulate time spinner widgets

SYNOPSIS

spintime pathName ?options?

INHERITANCE

itk::Widget <- Spintime

STANDARD OPTIONS

background
cursor
foreground
relief

See the "options" manual entry for details on the standard options.

ASSOCIATED OPTIONS

textBackground
textFont

See the "entryfield" manual entry for details on the above associated options.

labelFont
labelMargin

See the "labeledwidget" manual entry for details on the above associated options.

arrowOrient
repeatDelay
repeatInterval

See the "spinner" manual entry for details on the above associated options.

WIDGET-SPECIFIC OPTIONS

Name:                   labelPos
Class:                  Position
Command-Line Switch:	-labelpos

Name:                   hourLabel
Class:                  Text
Command-Line Switch:	-hourlabel

Name:                   hourOn
Class:                  hourOn
Command-Line Switch:	-houron

Name:                   hourWidth
Class:                  Width
Command-Line Switch:	-hourwidth

Name:                   militaryOn
Class:                  militaryOn
Command-Line Switch:	-militaryon

Name:                   minuteLabel
Class:                  Text
Command-Line Switch:	-minutelabel

Name:                   minuteOn
Class:                  minuteOn
Command-Line Switch:	-minuteon

Name:                   minuteWidth
Class:                  Width
Command-Line Switch:	-minutewidth

Name:                   orient
Class:                  Orient
Command-Line Switch:	-orient

Name:                   secondLabel
Class:                  Text
Command-Line Switch:	-secondlabel

Name:                   secondOn
Class:                  secondOn
Command-Line Switch:	-secondon

Name:                   secondWidth
Class:                  Width
Command-Line Switch:	-secondwidth

Name:                   timeMargin
Class:                  Margin
Command-Line Switch:	-timemargin



spintime
set
use
entry.
an
second


creates
command
pathName.
be
various
widget.
following
pathName
...
?
the
exact
command.
are
widgets:



current
configuration
option.
any
accepted
command.
pathName
option

the
the
option
a
of
for
for
format
If
with
the
list
named
will
the
the
no
If
option-value
then
the
to
value(s);
the
empty
have
values
spintime


current
spintime
format
as
value
and
respectively.
by
clock
information
and

time
the
to
the
time
either
an
or
Reference
for
obtaining
format.

Spinint

DESCRIPTION


command
of
in
The
hour,
spinner
The
a
whose
This
used
operations
It
general
option

args
behavior
The
possible

WIDGET-SPECIFIC
pathName

value
option
Option
of
by

configure
value
Query
configuration
widget.
is
list
the
pathName
information
of
option
no
command
describing
option
be
corresponding
value
option
one
pairs
the
given
have
in
command
string.
any
accepted
command.
pathName

contents
widget
of
an
using
-clicks
The
string.
command
on
its


currently
be
time
may
as
integer
the
the
more
times

Name:


creates
spinners
time
set
minute,
widget.
spintime
new
name
command
to
on
has
form:
?arg
Option
determine
of
following
for
METHODS
cget
Returns
of
given
may
the
the


?option?
...
?
or
options
If
specified,
describing
available
(see
on
this
is
value,
returns
the
(this
identical
sublist
returned
is
or
are
command
widget
the
this
returns
Option
of
by

get
Returns
of
in
string
integer
the
format
default
Reference
for
obtaining
formats.
pathName

displayed
that
argument.
be
a
clock
keyword
clock
information
and

COMPONENTS


hour
The
a
for
value
includes
and

METHODS


command
Tcl
is
may
invoke
the
the

arg
and
the
the
commands
spintime

option
the
the
by
have
values
spintime

?value

modify
of
no
returns
all
options
Tk_ConfigureInfo
the
list).
specified
then
a
one
list
to
of
if
specified).
more
specified,
modifies
option(s)
given
case
an
may
the
the

?format?
the
the
a
or
clock
-string
options
is
the
more
time

show
Changes
time
of
The
specified
string,
value
"now".
command
on
its


Class:

    The hour component is the hour spinner of the time spinner. See the SpinInt widget manual entry for details on the hour component item.

Name:                   minute
Class:                  Spinint
    The minute component is the minute spinner of the time spinner. See the SpinInt widget manual entry for details on the minute component item.

Name:                   second
Class:                  Spinint
    The second component is the second spinner of the time spinner. See the SpinInt widget manual entry for details on the second component item.

EXAMPLE

spintime .st
pack .st -padx 10 -pady 10

AUTHORS

Sue Yockey

Mark L. Ulferts

KEYWORDS

spintime, spinint, spinner, entryfield, entry, widget ./usr/lib/iwidgets4.0.1/demos/html/tabnotebook.n.html0100644000000000000000000007334706570255576021234 0ustar rootroottabnotebook - create and manipulate tabnotebook widgets

tabnotebook - create and manipulate tabnotebook widgets

SYNOPSIS

tabnotebook pathName? options?

INHERITANCE

itk::Widget <- tabnotebook

STANDARD OPTIONS

background
cursor
disabledForeground
font
foreground
height
scrollCommand
width

See the "options" manual entry for details on the standard options.

WIDGET-SPECIFIC OPTIONS

Name:                   angle
Class:                  Angle
Command-Line Switch:	-angle

Name:                   auto
Class:                  Auto
Command-Line Switch:	-auto

Name:                   backdrop
Class:                  Backdrop
Command-Line Switch:	-backdrop

Name:                   background
Class:                  Background
Command-Line Switch:	-background

Name:                   bevelAmount
Class:                  BevelAmount
Command-Line Switch:	-bevelamount

Name:                   borderWidth
Class:                  BorderWidth
Command-Line Switch:	-borderwidth

Name:                   disabledForeground
Class:                  DisabledForeground
Command-Line Switch:	-disabledforeground

Name:                   equalTabs
Class:                  EqualTabs
Command-Line Switch:	-equaltabs

Name:                   foreground
Class:                  Foreground
Command-Line Switch:	-foreground

Name:                   gap
Class:                  Gap
Command-Line Switch:	-gap

Name:                   margin
Class:                  Margin
Command-Line Switch:	-Bmargin