A Resizeable Notebook Widget for Tcl
This implements a notebook widget with buttons and frames with full
resizeable capability !
This is pure Tcl code - not a C extension.
Current version is 1.1 (Sep 5 1999) You can download the Tcl/Tk source text :
I you have Tcl plugin installed , use shift<Button> to download
the files to avoid the plugin to be launched !
The rnotebook widget text is about 10 Kbytes of pure Tcl/Tk code.
The widget will run on Tk8.0 or later.
this is a short manual for this widget :
Rnotebook:create new_widget_name [option value ...]
where options are :
[-borderwidth i] set the borderwidth of the tabs and the frame
[-height i] set the height of the tabs in pixel
[-tabs tablist] set the tabs according to each element of the list
[-nbtab i] set the tabs number, by default the tabs are named
according to their position number
[-padx i] set the space between each tabs in pixel
[-background col] set the background color for the tabs and the frame
[-foreground col] set the background color for the tabs
Rnotebook:config widget_name [option value ...]
where options are :
[-borderwidth i] set the borderwidth of the tabs and the frame
[-height i] set the height of the tabs in pixel
[-padx i] set the space between each tabs in pixel
[-background col] set the background color for the tabs and the frame
[-foreground col] set the background color for the tabs
[-tabs tablist] set the tabs according to each element of the list
[-nbtab i] set the tabs number, by default the tabs are named
according to their position number
Rnotebook:raise widget_name page_number
raise the specified page number of the specified notebook
Rnotebook:frame widget_name page_number
return the frame widget associated with the specified page number
it is a real tcl 'frame' widget and thus can be configured as any other frame.
Rnotebook:button widget_name page_number
return the button widget associated with the specified page number
it is a real tcl 'button' widget and thus can be configured as any other button.
for any question or remarks : mail me