]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Ada95/html/terminal_interface-curses-panels_s.html
ncurses 4.2
[ncurses.git] / Ada95 / html / terminal_interface-curses-panels_s.html
1 <HTML>
2 <HEAD>
3 <TITLE></TITLE>
4 </HEAD>
5 <BODY BGCOLOR="#99ccbb" TEXT="#000000" LINK="#4060b0" VLINK="#000080" ALINK="#ff4040">
6 <PRE>
7
8 <I>------------------------------------------------------------------------------</I>
9 <I>--                                                                          --</I>
10 <I>--                           <A HREF="http://www.gnat.com">GNAT</A> ncurses Binding                           --</I>
11 <I>--                                                                          --</I>
12 <I>--                      Terminal_Interface.Curses.Panels                    --</I>
13 <I>--                                                                          --</I>
14 <I>--                                 S P E C                                  --</I>
15 <I>--                                                                          --</I>
16 <I>------------------------------------------------------------------------------</I>
17 <I>-- Copyright (c) 1998 Free Software Foundation, Inc.                        --</I>
18 <I>--                                                                          --</I>
19 <I>-- Permission is hereby granted, free of charge, to any person obtaining a  --</I>
20 <I>-- copy of this software and associated documentation files (the            --</I>
21 <I>-- "Software"), to deal in the Software without restriction, including      --</I>
22 <I>-- without limitation the rights to use, copy, modify, merge, publish,      --</I>
23 <I>-- distribute, distribute with modifications, sublicense, and/or sell       --</I>
24 <I>-- copies of the Software, and to permit persons to whom the Software is    --</I>
25 <I>-- furnished to do so, subject to the following conditions:                 --</I>
26 <I>--                                                                          --</I>
27 <I>-- The above copyright notice and this permission notice shall be included  --</I>
28 <I>-- in all copies or substantial portions of the Software.                   --</I>
29 <I>--                                                                          --</I>
30 <I>-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  --</I>
31 <I>-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               --</I>
32 <I>-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   --</I>
33 <I>-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   --</I>
34 <I>-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    --</I>
35 <I>-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    --</I>
36 <I>-- THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               --</I>
37 <I>--                                                                          --</I>
38 <I>-- Except as contained in this notice, the name(s) of the above copyright   --</I>
39 <I>-- holders shall not be used in advertising or otherwise to promote the     --</I>
40 <I>-- sale, use or other dealings in this Software without prior written       --</I>
41 <I>-- authorization.                                                           --</I>
42 <I>------------------------------------------------------------------------------</I>
43 <I>--  <A HREF="http://home.t-online.de/home/Juergen.Pfeifer">J&uuml;rgen Pfeifer</A>, Email: <A HREF="mailto:Juergen.Pfeifer@T-Online.de">Juergen.Pfeifer@T-Online.de</A>                      --</I>
44 <I>--  Version Control:</I>
45 <I>--  @Revision: 1.3 @</I>
46 <I>------------------------------------------------------------------------------</I>
47 <B>with</B> System;
48
49 <B>package</B> Terminal_Interface.Curses.Panels <B>is</B>
50
51    <B>pragma</B> Linker_Options ("-lpanel");
52
53
54    type Panel <B>is</B> <B>private</B>;
55
56    <I>---------------------------</I>
57    <I>--  Interface constants  --</I>
58    <I>---------------------------</I>
59    Null_Panel : <B>constant</B> Panel;
60
61    <I>-------------------</I>
62    <I>--  Exceptions   --</I>
63    <I>-------------------</I>
64
65    Panel_Exception : <B>exception</B>;
66
67    <I>--  |=====================================================================</I>
68    <I>--  | Man page <A HREF="panel.3x.html">panel.3x</A></I>
69    <I>--  |=====================================================================</I>
70
71    <I>--  <A NAME="AFU_1">|</I>
72    <B>function</B> Create (Win : Window) <B>return</B> Panel;
73    <I>--  AKA: <A HREF="panel.3x.html">new_panel()</A></I>
74
75    <I>--  <A NAME="AFU_2">|</I>
76    <B>function</B> New_Panel (Win : Window) <B>return</B> Panel <B>renames</B> Create;
77    <I>--  AKA: <A HREF="panel.3x.html">new_panel()</A></I>
78
79    <I>--  <A NAME="AFU_3">|</I>
80    <B>procedure</B> Bottom (Pan : <B>in</B> Panel);
81    <I>--  AKA: <A HREF="panel.3x.html">bottom_panel()</A></I>
82
83    <I>--  <A NAME="AFU_4">|</I>
84    <B>procedure</B> Top (Pan : <B>in</B> Panel);
85    <I>--  AKA: <A HREF="panel.3x.html">top_panel()</A></I>
86
87    <I>--  <A NAME="AFU_5">|</I>
88    <B>procedure</B> Show (Pan : <B>in</B> Panel);
89    <I>--  AKA: <A HREF="panel.3x.html">show_panel()</A></I>
90
91    <I>--  <A NAME="AFU_6">|</I>
92    <B>procedure</B> Update_Panels;
93    <I>--  AKA: <A HREF="panel.3x.html">update_panels()</A></I>
94    <B>pragma</B> Import (C, Update_Panels, "update_panels");
95
96    <I>--  <A NAME="AFU_7">|</I>
97    <B>procedure</B> Hide (Pan : <B>in</B> Panel);
98    <I>--  AKA: <A HREF="panel.3x.html">hide_panel()</A></I>
99
100    <I>--  <A NAME="AFU_8">|</I>
101    <B>function</B> Get_Window (Pan : Panel) <B>return</B> Window;
102    <I>--  AKA: <A HREF="panel.3x.html">panel_window()</A></I>
103
104    <I>--  <A NAME="AFU_9">|</I>
105    <B>function</B> Panel_Window (Pan : Panel) <B>return</B> Window <B>renames</B> Get_Window;
106
107    <I>--  <A NAME="AFU_10">|</I>
108    <B>procedure</B> Replace (Pan : <B>in</B> Panel;
109                       Win : <B>in</B> Window);
110    <I>--  AKA: <A HREF="panel.3x.html">replace_panel()</A></I>
111
112    <I>--  <A NAME="AFU_11">|</I>
113    <B>procedure</B> Move (Pan    : <B>in</B> Panel;
114                    Line   : <B>in</B> Line_Position;
115                    Column : <B>in</B> Column_Position);
116    <I>--  AKA: <A HREF="panel.3x.html">move_panel()</A></I>
117
118    <I>--  <A NAME="AFU_12">|</I>
119    <B>function</B> Is_Hidden (Pan : Panel) <B>return</B> Boolean;
120    <I>--  AKA: <A HREF="panel.3x.html">panel_hidden()</A></I>
121
122    <I>--  <A NAME="AFU_13">|</I>
123    <B>function</B> Above (Pan : Panel) <B>return</B> Panel;
124    <I>--  AKA: <A HREF="panel.3x.html">panel_above()</A></I>
125    <B>pragma</B> Import (C, Above, "panel_above");
126
127    <I>--  <A NAME="AFU_14">|</I>
128    <B>function</B> Below (Pan : Panel) <B>return</B> Panel;
129    <I>--  AKA: <A HREF="panel.3x.html">panel_below()</A></I>
130    <B>pragma</B> Import (C, Below, "panel_below");
131
132    <I>--  <A NAME="AFU_15">|</I>
133    <B>procedure</B> Delete (Pan : <B>in</B> <B>out</B> Panel);
134    <I>--  AKA: <A HREF="panel.3x.html">del_panel()</A></I>
135
136    <B>private</B>
137       type Panel <B>is</B> <B>new</B> System.Address;
138       Null_Panel : <B>constant</B> Panel := Panel (System.Null_Address);
139
140 <B>end</B> Terminal_Interface.Curses.Panels;
141
142 </PRE>
143
144 <P><HR><P>
145 <P>
146 This is BETA software. The interface is subject to change without notice.<P>
147 <!-- Do NOT delete my name or the tool name from below; -->
148 <!-- giving me credit is a condition of use of ada2html -->
149 <P><I>This hypertext format was generated by <A HREF="http://www.adahome.com/Tutorials/Lovelace/dwheeler.htm">David A. Wheeler</A>'s <A HREF="http://www.adahome.com/Resources/Tools/ada2html/ada2html.htm">ada2html</A></I>
150 </BODY>
151 </HTML>
152