Changes between Initial Version and Version 1 of EasyGuiSubviews


Ignore:
Timestamp:
08/30/08 06:47:29 (6 years ago)
Author:
zzkt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EasyGuiSubviews

    v1 v1  
     1= Subviews = 
     2 
     3== Subview == 
     4 
     5{{{subview (view) [class]}}} 
     6 
     7Class of views that appear inside other views. Additional initargs: 
     8 
     9'':view-container'' -- initializes the view container, see set-view-container 
     10 
     11'':view-position'' -- initializes the view position, see set-view-position 
     12 
     13{{{(set-view-container subview new-container-view) [method]}}} 
     14 
     15Remove view ''subview'' from its current container and add it to 
     16''new-container-view''. The new container can also be ''nil'', to just remove a 
     17view from its container view. 
     18 
     19{{{(view-container subview) [method]}}} 
     20 
     21Returns the view containing ''subview'', or ''nil'' if none. 
     22 
     23{{{(view-window subview) [method]}}} 
     24 
     25Returns the window containing ''subview'', or ''nil'' if view is not 
     26contained in any window. 
     27 
     28{{{(set-view-position subview new-position) [method]}}} 
     29 
     30Sets the position of a subview in its container to new-position, which 
     31must be a point in the container's coordinate system. 
     32 
     33{{{(view-position subview) [method]}}} 
     34 
     35Returns the position of view in its container, as a point. 
     36