www.delorie.com/gnu/docs/gcl/gcl-tk_8.html   search  
 
Buy GNU books!


Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.3 Control Function Return Values

The control funcions (see section 3. Control) do not return a value or wait unless requested to do so, using the :return keyword. The types and method of specification are the same as for the Widget Functions in the previous section.

 
(winfo :width '.hello :return 'number)
==> 120
indicates that the .hello button is actually 120 pixels wide.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003