Basic techniques
Simple toplevel window with an OK button
Message boxes
File open/save dialogs
Pull-down menus and popup menus
A modal dialog box
Simple non-modal dialog with OK and Cancel buttons and a title
Basic widgets
Making a button to trigger a function call
Adding and changing text labels
Checkboxes
Radio buttons
Edit boxes
List boxes
Additional widgets
Text windows (editable or non-editable)
Scrollbars
Drop-down combo boxes
Frames
Sliders
The color-selection widget
Displaying images in tk windows
Using the tk table widget
Using the tree (drill-down) widget
The date entry and calendar widgets
The tabbed notebook widget
The scrollable frame
Advanced tcltk coding
Specifying the layout
Specifying which window is active (focused)
Fonts
Binding events (e.g. a key-press) to functions and generating events
The wait cursor and other cursors
Exception handling
Evaluating R code from a text window (a scripting widget)
Plotting graphs with tkrplot
Interactive graphics with tkrplot
Useful links
Other sources of R tcltk help/examples
Partager