1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <TITLE>terminal_interface-curses-panels.adb
</TITLE>
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
6 <style type=
"text/css">
16 <HR><DIV style=
"text-align:center"><H1> File : terminal_interface-curses-panels.adb
</H1></DIV><HR>
18 <span class=
"comment"><EM>------------------------------------------------------------------------------
</EM></span>
19 <span class=
"comment"><EM>-- --
</EM></span>
20 <span class=
"comment"><EM>--
<A HREF=
"http://www.gnat.com">GNAT
</A> ncurses Binding --
</EM></span>
21 <span class=
"comment"><EM>-- --
</EM></span>
22 <span class=
"comment"><EM>-- Terminal_Interface.Curses.Panels --
</EM></span>
23 <span class=
"comment"><EM>-- --
</EM></span>
24 <span class=
"comment"><EM>-- B O D Y --
</EM></span>
25 <span class=
"comment"><EM>-- --
</EM></span>
26 <span class=
"comment"><EM>------------------------------------------------------------------------------
</EM></span>
27 <span class=
"comment"><EM>-- Copyright (c)
1998-
2004,
2009 Free Software Foundation, Inc. --
</EM></span>
28 <span class=
"comment"><EM>-- --
</EM></span>
29 <span class=
"comment"><EM>-- Permission is hereby granted, free of charge, to any person obtaining a --
</EM></span>
30 <span class=
"comment"><EM>-- copy of this software and associated documentation files (the --
</EM></span>
31 <span class=
"comment"><EM>--
"Software"), to deal in the Software without restriction, including --
</EM></span>
32 <span class=
"comment"><EM>-- without limitation the rights to use, copy, modify, merge, publish, --
</EM></span>
33 <span class=
"comment"><EM>-- distribute, distribute with modifications, sublicense, and/or sell --
</EM></span>
34 <span class=
"comment"><EM>-- copies of the Software, and to permit persons to whom the Software is --
</EM></span>
35 <span class=
"comment"><EM>-- furnished to do so, subject to the following conditions: --
</EM></span>
36 <span class=
"comment"><EM>-- --
</EM></span>
37 <span class=
"comment"><EM>-- The above copyright notice and this permission notice shall be included --
</EM></span>
38 <span class=
"comment"><EM>-- in all copies or substantial portions of the Software. --
</EM></span>
39 <span class=
"comment"><EM>-- --
</EM></span>
40 <span class=
"comment"><EM>-- THE SOFTWARE IS PROVIDED
"AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
</EM></span>
41 <span class=
"comment"><EM>-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
</EM></span>
42 <span class=
"comment"><EM>-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. --
</EM></span>
43 <span class=
"comment"><EM>-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
</EM></span>
44 <span class=
"comment"><EM>-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
</EM></span>
45 <span class=
"comment"><EM>-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR --
</EM></span>
46 <span class=
"comment"><EM>-- THE USE OR OTHER DEALINGS IN THE SOFTWARE. --
</EM></span>
47 <span class=
"comment"><EM>-- --
</EM></span>
48 <span class=
"comment"><EM>-- Except as contained in this notice, the name(s) of the above copyright --
</EM></span>
49 <span class=
"comment"><EM>-- holders shall not be used in advertising or otherwise to promote the --
</EM></span>
50 <span class=
"comment"><EM>-- sale, use or other dealings in this Software without prior written --
</EM></span>
51 <span class=
"comment"><EM>-- authorization. --
</EM></span>
52 <span class=
"comment"><EM>------------------------------------------------------------------------------
</EM></span>
53 <span class=
"comment"><EM>-- Author: Juergen Pfeifer,
1996</EM></span>
54 <span class=
"comment"><EM>-- Version Control:
</EM></span>
55 <span class=
"comment"><EM>-- @Revision:
1.14 @
</EM></span>
56 <span class=
"comment"><EM>-- @Date:
2009/
12/
26 17:
38:
58 @
</EM></span>
57 <span class=
"comment"><EM>-- Binding Version
01.00</EM></span>
58 <span class=
"comment"><EM>------------------------------------------------------------------------------
</EM></span>
59 <b>with
</b> <A HREF=
"terminal_interface__ads.htm#ref_42_9">Terminal_Interface
</A>.
<A HREF=
"terminal_interface-curses__ads.htm#ref_47_28">Curses
</A>.
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_45_35">Aux
</A>;
<b>use
</b> <A HREF=
"terminal_interface__ads.htm#ref_42_9">Terminal_Interface
</A>.
<A HREF=
"terminal_interface-curses__ads.htm#ref_47_28">Curses
</A>.
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_45_35">Aux
</A>;
60 <b>with
</b> <A HREF=
"interfac__ads.htm#ref_36_9">Interfaces
</A>.C;
62 <b>package
</b> <b>body
</b> <A HREF=
"terminal_interface__ads.htm#ref_42_9">Terminal_Interface
</A>.
<A HREF=
"terminal_interface-curses__ads.htm#ref_47_28">Curses
</A>.
<span class=
"symbol"><A NAME=
"ref_45_40" HREF=
"terminal_interface-curses-panels__ads.htm#ref_44_35">Panels
</A></span> <b>is
</b>
64 <b>use
</b> <b>type
</b> <A HREF=
"interfac__ads.htm#ref_36_9">Interfaces
</A>.C.int;
66 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_49_13" HREF=
"terminal_interface-curses-panels__ads.htm#ref_66_13">Create
</A></span> (
<span class=
"symbol"><A NAME=
"ref_49_21" HREF=
"terminal_interface-curses-panels__ads.htm#ref_66_21">Win
</A></span> :
<A HREF=
"terminal_interface-curses__ads.htm#ref_55_9">Window
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>
68 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_51_16">Newpanel
</A></span> (
<span class=
"symbol"><A NAME=
"ref_51_26" HREF=
"terminal_interface-curses-panels__adb.htm#ref_51_16">Win
</A></span> :
<A HREF=
"terminal_interface-curses__ads.htm#ref_55_9">Window
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>;
69 <b>pragma
</b> Import (C, Newpanel,
"new_panel");
71 <span class=
"symbol"><A NAME=
"ref_54_7">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>;
73 <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_54_7">Pan
</A> :=
<A HREF=
"terminal_interface-curses-panels__adb.htm#ref_51_16">Newpanel
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_66_21">Win
</A>);
74 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_54_7">Pan
</A> =
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_53_4">Null_Panel
</A> <b>then
</b>
75 <b>raise
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_59_4">Panel_Exception
</A>;
77 <b>return
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_54_7">Pan
</A>;
78 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_66_13">Create
</A>;
80 <b>procedure
</b> <span class=
"symbol"><A NAME=
"ref_63_14" HREF=
"terminal_interface-curses-panels__ads.htm#ref_76_14">Bottom
</A></span> (
<span class=
"symbol"><A NAME=
"ref_63_22" HREF=
"terminal_interface-curses-panels__ads.htm#ref_76_22">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
82 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_65_16">Bottompanel
</A></span> (
<span class=
"symbol"><A NAME=
"ref_65_29" HREF=
"terminal_interface-curses-panels__adb.htm#ref_65_16">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>;
83 <b>pragma
</b> Import (C, Bottompanel,
"bottom_panel");
85 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_65_16">Bottompanel
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_76_22">Pan
</A>) =
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_65_4">Curses_Err
</A> <b>then
</b>
86 <b>raise
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_59_4">Panel_Exception
</A>;
88 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_76_14">Bottom
</A>;
90 <b>procedure
</b> <span class=
"symbol"><A NAME=
"ref_73_14" HREF=
"terminal_interface-curses-panels__ads.htm#ref_81_14">Top
</A></span> (
<span class=
"symbol"><A NAME=
"ref_73_19" HREF=
"terminal_interface-curses-panels__ads.htm#ref_81_19">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
92 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_75_16">Toppanel
</A></span> (
<span class=
"symbol"><A NAME=
"ref_75_26" HREF=
"terminal_interface-curses-panels__adb.htm#ref_75_16">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>;
93 <b>pragma
</b> Import (C, Toppanel,
"top_panel");
95 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_75_16">Toppanel
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_81_19">Pan
</A>) =
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_65_4">Curses_Err
</A> <b>then
</b>
96 <b>raise
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_59_4">Panel_Exception
</A>;
98 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_81_14">Top
</A>;
100 <b>procedure
</b> <span class=
"symbol"><A NAME=
"ref_83_14" HREF=
"terminal_interface-curses-panels__ads.htm#ref_86_14">Show
</A></span> (
<span class=
"symbol"><A NAME=
"ref_83_20" HREF=
"terminal_interface-curses-panels__ads.htm#ref_86_20">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
102 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_85_16">Showpanel
</A></span> (
<span class=
"symbol"><A NAME=
"ref_85_27" HREF=
"terminal_interface-curses-panels__adb.htm#ref_85_16">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>;
103 <b>pragma
</b> Import (C, Showpanel,
"show_panel");
105 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_85_16">Showpanel
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_86_20">Pan
</A>) =
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_65_4">Curses_Err
</A> <b>then
</b>
106 <b>raise
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_59_4">Panel_Exception
</A>;
107 <b>end
</b> <b>if
</b>;
108 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_86_14">Show
</A>;
110 <b>procedure
</b> <span class=
"symbol"><A NAME=
"ref_93_14" HREF=
"terminal_interface-curses-panels__ads.htm#ref_96_14">Hide
</A></span> (
<span class=
"symbol"><A NAME=
"ref_93_20" HREF=
"terminal_interface-curses-panels__ads.htm#ref_96_20">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
112 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_95_16">Hidepanel
</A></span> (
<span class=
"symbol"><A NAME=
"ref_95_27" HREF=
"terminal_interface-curses-panels__adb.htm#ref_95_16">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>;
113 <b>pragma
</b> Import (C, Hidepanel,
"hide_panel");
115 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_95_16">Hidepanel
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_96_20">Pan
</A>) =
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_65_4">Curses_Err
</A> <b>then
</b>
116 <b>raise
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_59_4">Panel_Exception
</A>;
117 <b>end
</b> <b>if
</b>;
118 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_96_14">Hide
</A>;
120 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_103_13" HREF=
"terminal_interface-curses-panels__ads.htm#ref_101_13">Get_Window
</A></span> (
<span class=
"symbol"><A NAME=
"ref_103_25" HREF=
"terminal_interface-curses-panels__ads.htm#ref_101_25">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses__ads.htm#ref_55_9">Window
</A>
122 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_105_16">Panel_Win
</A></span> (
<span class=
"symbol"><A NAME=
"ref_105_27" HREF=
"terminal_interface-curses-panels__adb.htm#ref_105_16">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses__ads.htm#ref_55_9">Window
</A>;
123 <b>pragma
</b> Import (C, Panel_Win,
"panel_window");
125 <span class=
"symbol"><A NAME=
"ref_108_7">Win
</A></span> :
<b>constant
</b> <A HREF=
"terminal_interface-curses__ads.htm#ref_55_9">Window
</A> :=
<A HREF=
"terminal_interface-curses-panels__adb.htm#ref_105_16">Panel_Win
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_101_25">Pan
</A>);
127 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_108_7">Win
</A> =
<A HREF=
"terminal_interface-curses__ads.htm#ref_56_4">Null_Window
</A> <b>then
</b>
128 <b>raise
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_59_4">Panel_Exception
</A>;
129 <b>end
</b> <b>if
</b>;
130 <b>return
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_108_7">Win
</A>;
131 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_101_13">Get_Window
</A>;
133 <b>procedure
</b> <span class=
"symbol"><A NAME=
"ref_116_14" HREF=
"terminal_interface-curses-panels__ads.htm#ref_110_14">Replace
</A></span> (
<span class=
"symbol"><A NAME=
"ref_116_23" HREF=
"terminal_interface-curses-panels__ads.htm#ref_110_23">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>;
134 <span class=
"symbol"><A NAME=
"ref_117_23" HREF=
"terminal_interface-curses-panels__ads.htm#ref_111_23">Win
</A></span> :
<A HREF=
"terminal_interface-curses__ads.htm#ref_55_9">Window
</A>)
136 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_119_16">Replace_Pan
</A></span> (
<span class=
"symbol"><A NAME=
"ref_119_29" HREF=
"terminal_interface-curses-panels__adb.htm#ref_119_16">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>;
137 <span class=
"symbol"><A NAME=
"ref_120_29" HREF=
"terminal_interface-curses-panels__adb.htm#ref_119_16">Win
</A></span> :
<A HREF=
"terminal_interface-curses__ads.htm#ref_55_9">Window
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>;
138 <b>pragma
</b> Import (C, Replace_Pan,
"replace_panel");
140 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_119_16">Replace_Pan
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_110_23">Pan
</A>,
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_111_23">Win
</A>) =
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_65_4">Curses_Err
</A> <b>then
</b>
141 <b>raise
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_59_4">Panel_Exception
</A>;
142 <b>end
</b> <b>if
</b>;
143 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_110_14">Replace
</A>;
145 <b>procedure
</b> <span class=
"symbol"><A NAME=
"ref_128_14" HREF=
"terminal_interface-curses-panels__ads.htm#ref_116_14">Move
</A></span> (
<span class=
"symbol"><A NAME=
"ref_128_20" HREF=
"terminal_interface-curses-panels__ads.htm#ref_116_20">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>;
146 <span class=
"symbol"><A NAME=
"ref_129_20" HREF=
"terminal_interface-curses-panels__ads.htm#ref_117_20">Line
</A></span> :
<A HREF=
"terminal_interface-curses__ads.htm#ref_58_9">Line_Position
</A>;
147 <span class=
"symbol"><A NAME=
"ref_130_20" HREF=
"terminal_interface-curses-panels__ads.htm#ref_118_20">Column
</A></span> :
<A HREF=
"terminal_interface-curses__ads.htm#ref_59_9">Column_Position
</A>)
149 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_132_16">Move
</A></span> (
<span class=
"symbol"><A NAME=
"ref_132_22" HREF=
"terminal_interface-curses-panels__adb.htm#ref_132_16">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>;
150 <span class=
"symbol"><A NAME=
"ref_133_22" HREF=
"terminal_interface-curses-panels__adb.htm#ref_132_16">Line
</A></span> :
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>;
151 <span class=
"symbol"><A NAME=
"ref_134_22" HREF=
"terminal_interface-curses-panels__adb.htm#ref_132_16">Column
</A></span> :
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>;
152 <b>pragma
</b> Import (C, Move,
"move_panel");
154 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_132_16">Move
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_116_20">Pan
</A>,
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_117_20">Line
</A>),
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_118_20">Column
</A>)) =
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_65_4">Curses_Err
</A> <b>then
</b>
155 <b>raise
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_59_4">Panel_Exception
</A>;
156 <b>end
</b> <b>if
</b>;
157 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_116_14">Move
</A>;
159 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_142_13" HREF=
"terminal_interface-curses-panels__ads.htm#ref_123_13">Is_Hidden
</A></span> (
<span class=
"symbol"><A NAME=
"ref_142_24" HREF=
"terminal_interface-curses-panels__ads.htm#ref_123_24">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
<b>return
</b> Boolean
161 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_144_16">Panel_Hidden
</A></span> (
<span class=
"symbol"><A NAME=
"ref_144_30" HREF=
"terminal_interface-curses-panels__adb.htm#ref_144_16">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>;
162 <b>pragma
</b> Import (C, Panel_Hidden,
"panel_hidden");
164 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_144_16">Panel_Hidden
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_123_24">Pan
</A>) =
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_68_4">Curses_False
</A> <b>then
</b>
168 <b>end
</b> <b>if
</b>;
169 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_123_13">Is_Hidden
</A>;
171 <b>procedure
</b> <span class=
"symbol"><A NAME=
"ref_154_14" HREF=
"terminal_interface-curses-panels__ads.htm#ref_138_14">Delete
</A></span> (
<span class=
"symbol"><A NAME=
"ref_154_22" HREF=
"terminal_interface-curses-panels__ads.htm#ref_138_22">Pan
</A></span> :
<b>in
</b> <b>out
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
173 <b>function
</b> <span class=
"symbol"><A NAME=
"ref_156_16">Del_Panel
</A></span> (
<span class=
"symbol"><A NAME=
"ref_156_27" HREF=
"terminal_interface-curses-panels__adb.htm#ref_156_16">Pan
</A></span> :
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_48_9">Panel
</A>)
<b>return
</b> <A HREF=
"terminal_interface-curses-aux__ads.htm#ref_50_12">C_Int
</A>;
174 <b>pragma
</b> Import (C, Del_Panel,
"del_panel");
176 <b>if
</b> <A HREF=
"terminal_interface-curses-panels__adb.htm#ref_156_16">Del_Panel
</A> (
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_138_22">Pan
</A>) =
<A HREF=
"terminal_interface-curses-aux__ads.htm#ref_65_4">Curses_Err
</A> <b>then
</b>
177 <b>raise
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_59_4">Panel_Exception
</A>;
178 <b>end
</b> <b>if
</b>;
179 <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_138_22">Pan
</A> :=
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_53_4">Null_Panel
</A>;
180 <b>end
</b> <A HREF=
"terminal_interface-curses-panels__ads.htm#ref_138_14">Delete
</A>;
182 <b>end
</b> <A HREF=
"terminal_interface__ads.htm#ref_42_9">Terminal_Interface
</A>.
<A HREF=
"terminal_interface-curses__ads.htm#ref_47_28">Curses
</A>.
<A HREF=
"terminal_interface-curses-panels__ads.htm#ref_44_35">Panels
</A>;