3 * Handles all those many problems you get with panes
5 * v. 1.100 (25 July 1991)
7 * © 1991-1998 Straylight
10 /*----- Licensing note ----------------------------------------------------*
12 * This file is part of Straylight's Steel library.
14 * Steel is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2, or (at your option)
19 * Steel is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with Steel. If not, write to the Free Software Foundation,
26 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
36 typedef struct pane__panestr *pane;
43 * pane pane_create(wimp_w tool)
46 * Sets up a structure for a pane, and returns a handle.
49 * wimp_w tool == the window handle of the tool window (the one that isn't
53 * An abstract handle to the pane.
56 pane pane_create(wimp_w tool);
59 * void pane_addPane(pane p,wimp_w w)
62 * Registers a new pane as being associated with the tool window given in
66 * pane p == the pane handle for the tool window
67 * wimp_w w == the window handle of the new pane
70 void pane_addPane(pane p,wimp_w w);
73 * void pane_addListbox(pane p,list l)
76 * Adds a listbox to the tool window. Handles things properly, so that
77 * scroll bars and things appear at the right time.
80 * pane p == the pane to add to
81 * list l == the list to add
84 void pane_addListbox(pane p,list l);
87 * void pane_delete(pane p)
90 * Destroys and free()s the memory occupied by a pane structure.
93 * pane p == the pane's handle
96 void pane_delete(pane p);
99 * void pane_removePane(pane p,wimp_w w)
102 * Removes the specified pane from the structure.
105 * pane p == the pane in question
106 * wimp_w w == the window to remove
109 void pane_removePane(pane p,wimp_w w);
112 * void pane_updatePanes(pane p)
115 * Updates position of panes attached to the main window after it has been
119 * pane p == the pane handle
122 void pane_updatePanes(pane p);
125 * void pane_moved(pane p)
128 * Asks the pane segment to reopen a pane in response to an wimp_EOPEN
132 * pane p == the pane handle
135 void pane_moved(pane p);
138 * void pane_front(pane p)
141 * Moves a tool window and associated panes to the front of the screen.
144 * pane p == the pane handle
147 void pane_front(pane p);
150 * void pane_close(pane p)
153 * This routine will close all the windows attached to the pane structure.
156 * pane p == the pane handle
159 void pane_close(pane p);