Web www.grok2.com
grok2.gif (391 bytes)



Tcl/Tk GUI Application Rules

These are some notes I made for myself as a checklist when writing Tcl/Tk apps for Windows that are distributed as executables either using freeWrap or Starpack.

  • The application should have an icon that is not the standard wish icon.

  • The Enter key should work as expected in all dialogs typically invoking the OK button actions.

  • The Escape key should work as expected in all dialogs to cancel all edited changes and exit the dialog..

  • The main window and all dialogs should have title bars that include the application name in the title.

  • Modal dialogs should be modal.

  • Using the Close Menu item from the System menu or the Close button provided by the Window Manager for every window should do the equivalent of the Cancel button in all dialogs. In the main application window, closing the application using these methods should do the equivalent of the Exit menu item.

  • The application should always have a "Help" item in the menu-bar as the last item. This should have atleast an "About" menu-item.

  • The application should check for unsupported Tcl/Tk versions and exit gracefully.

  • The application should exit gracefully on required packages not being found.

  • The application should exit gracefully on Tcl or Tk command errors.

  • Alt-Tabbing back to the application when some dialog is open should work correctly and bring the entire stack of windows into focus.


Site Links
  The Books I Own
  Main Page
  Vi in Emacs
  Linux on Vaio
  Study NZ
  Programming Fun?
  C Language
  Source Code Browsers
  C Struct Packing
  Walt Disney World
  Photographs of Flowers
  Random Photogaphs
  Put this on your site!
  The Sundial Bridge
  Repetitive Strain Injury (RSI)
  Selling Software Online (MicroISV)
  Tcl Tk Life-Savers
  The Experience Shows!
  Green Tips
  .htaccess tricks
  Web-Site Development Online Tools




Site copyright of domain owner. All rights reserved.