TABLE OF CONTENTS


TklibAda/Autoscroll [ Packages ]

[ Top ] [ TklibAda ] [ Packages ]

FUNCTION

 Provides code for manipulate Tklib autoscroll package

SOURCE

package Tcl.Tklib.Ada.Autoscroll with
   SPARK_Mode
is

Autoscroll/Autoscroll.Autoscroll [ Subprograms ]

[ Top ] [ Autoscroll ] [ Subprograms ]

FUNCTION

 Set autohide for the selected scroll

SOURCE

   procedure Autoscroll(Scroll: in Tk_Widget'Class);

PARAMETERS

 Scroll - Tk_Widget which will be arranged for autohiding

EXAMPLE

   -- Set autohide for scrollbar My_Scroll
   Autoscroll(My_Scroll);

COMMANDS

 :autoscroll::autoscroll scroll

HISTORY

 8.6.7 - Added

Autoscroll/Autoscroll.Autoscroll_Init [ Subprograms ]

[ Top ] [ Autoscroll ] [ Subprograms ]

FUNCTION

 Load package autoscroll. Raise Program_Error if package can't be loaded

SOURCE

   procedure Autoscroll_Init(Interp: in Tcl_Interp);

PARAMETERS

 Interp - Tcl interpreter to which autoscroll package will be added

EXAMPLE

   -- Init autoscroll package on My_Interp Tcl interpreter
   Autoscroll_Init(My_Interp);

COMMANDS

 package require autoscroll

HISTORY

 8.6.7 - Added

Autoscroll/Autoscroll.Unautoscroll [ Subprograms ]

[ Top ] [ Autoscroll ] [ Subprograms ]

FUNCTION

 Return the selected scroll to its original static state

SOURCE

   procedure Unautoscroll(Scroll: in Tk_Widget'Class);

PARAMETERS

 Scroll - Tk_Widget which state will be reseted

EXAMPLE

   -- Set static state for scrollbar My_Scroll
   Unautoscroll(My_Scroll);

COMMANDS

 :autoscroll::unautoscroll scroll

HISTORY

 8.6.7 - Added

Autoscroll/Autoscroll.Unwrap [ Subprograms ]

[ Top ] [ Autoscroll ] [ Subprograms ]

FUNCTION

 Turns off the automatic autoscrolling of all new scrollbars. Does not
 effect existing scrollbars

SOURCE

   procedure Unwrap(Interp: in Tcl_Interp);

PARAMETERS

 Interp - Tcl interpreter on which autoscrolling will be disabled

EXAMPLE

   -- Turn off autohide for all scrollbars on My_Interp Tcl interpreter
   Wrap(My_Interp);

COMMANDS

 ::autoscroll::unwrap

HISTORY

 8.6.7 - Added

Autoscroll/Autoscroll.Wrap [ Subprograms ]

[ Top ] [ Autoscroll ] [ Subprograms ]

FUNCTION

 Arranges for all scrollbars created after to be automatically mapped and
 unmapped as needed.

SOURCE

   procedure Wrap(Interp: in Tcl_Interp);

PARAMETERS

 Interp - Tcl interpreter on which scrollbars will be arranged

EXAMPLE

   -- Set autohide for all scrollbars on My_Interp Tcl interpreter
   Wrap(My_Interp);

COMMANDS

 ::autoscroll::wrap

HISTORY

 8.6.7 - Added