⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 terminal_interface-curses-menus__ads.htm

📁 ncurses-5.4 需要的就来下把 一定会有用的哦
💻 HTM
📖 第 1 页 / 共 4 页
字号:
   <b>pragma</b> Warnings (On);   <b>function</b> Default_Item_Options <b>return</b> Item_Option_Set;   <FONT COLOR=green><EM>--  Initial default options for an item.</EM></FONT>   <b>pragma</b> Inline (Default_Item_Options);   <FONT COLOR=green><EM>--</EM></FONT>   <FONT COLOR=green><EM>--  Item Array</EM></FONT>   <FONT COLOR=green><EM>--</EM></FONT>   <b>type</b> Item_Array <b>is</b> <b>array</b> (Positive <b>range</b> &lt;&gt;) <b>of</b> <b>aliased</b> Item;   <b>pragma</b> Convention (C, Item_Array);   <b>type</b> Item_Array_Access <b>is</b> <b>access</b> Item_Array;   <b>procedure</b> Free (<FONT COLOR=red><A NAME="182_20">IA</A></FONT>         : <b>in</b> <b>out</b> Item_Array_Access;                   Free_Items : Boolean := False);   <FONT COLOR=green><EM>--  Release the memory for an allocated item array</EM></FONT>   <FONT COLOR=green><EM>--  If Free_Items is True, call Delete() for all the items in</EM></FONT>   <FONT COLOR=green><EM>--  the array.</EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  | Man page <A HREF="../man/mitem_new.3x.html">mitem_new.3x</A></EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_1"#2|</EM></FONT>   <b>function</b> Create (<FONT COLOR=red><A NAME="193_21">Name</A></FONT>        : String;                    Description : String := "") <b>return</b> Item;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_new.3x.html">new_item()</A></EM></FONT>   <FONT COLOR=green><EM>--  Not inlined.</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_2"#2|</EM></FONT>   <b>function</b> New_Item (<FONT COLOR=red><A NAME="199_23">Name</A></FONT>        : String;             <A HREF="terminal_interface-curses-menus__ads.htm#192_13"> </A>        Description : String := "") <b>return</b> Item     <b>renames</b> Create;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_new.3x.html">new_item()</A></EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_3"#2|</EM></FONT>   <b>procedure</b> Delete (Itm : <b>in</b> <b>out</b> Item);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_new.3x.html">free_item()</A></EM></FONT>   <FONT COLOR=green><EM>--  Resets Itm to Null_Item</EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  | Man page <A HREF="../man/mitem_value.3x.html">mitem_value.3x</A></EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_4"#2|</EM></FONT>   <b>procedure</b> Set_Value (<FONT COLOR=red><A NAME="214_25">Itm</A></FONT>   : <b>in</b> Item;                        Value : <b>in</b> Boolean := True);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_value.3x.html">set_item_value()</A></EM></FONT>   <b>pragma</b> Inline (Set_Value);   <FONT COLOR=green><EM>--  #1A NAME="AFU_5"#2|</EM></FONT>   <b>function</b> Value (Itm : Item) <b>return</b> Boolean;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_value.3x.html">item_value()</A></EM></FONT>   <b>pragma</b> Inline (Value);   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  | Man page <A HREF="../man/mitem_visible.3x.html">mitem_visible.3x</A></EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_6"#2|</EM></FONT>   <b>function</b> Visible (Itm : Item) <b>return</b> Boolean;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_visible.3x.html">item_visible()</A></EM></FONT>   <b>pragma</b> Inline (Visible);   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  | Man page <A HREF="../man/mitem_opts.3x.html">mitem_opts.3x</A></EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_7"#2|</EM></FONT>   <b>procedure</b> Set_Options (<FONT COLOR=red><A NAME="238_27">Itm</A></FONT>     : <b>in</b> <A HREF="terminal_interface-curses-menus__ads.htm#153_9">Item</A>;                          Options : <b>in</b> Item_Option_Set);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_opts.3x.html">set_item_opts()</A></EM></FONT>   <FONT COLOR=green><EM>--  An overloaded Set_Options is defined later. Pragma Inline appears there</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_8"#2|</EM></FONT>   <b>procedure</b> Switch_Options (<FONT COLOR=red><A NAME="244_30">Itm</A></FONT>     : <b>in</b> <A HREF="terminal_interface-curses-menus__ads.htm#153_9">Item</A>;                             <FONT COLOR=red><A NAME="245_30">Options</A></FONT> : <b>in</b> Item_Option_Set;                             On      : Boolean := True);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_opts.3x.html">item_opts_on()</A></EM></FONT>   <FONT COLOR=green><EM>--  AKA: item_opts_off()</EM></FONT>   <FONT COLOR=green><EM>--  An overloaded Switch_Options is defined later.</EM></FONT>   <FONT COLOR=green><EM>--  Pragma Inline appears there</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_9"#2|</EM></FONT>   <b>procedure</b> Get_Options (<FONT COLOR=red><A NAME="253_27">Itm</A></FONT>     : <b>in</b>  <A HREF="terminal_interface-curses-menus__ads.htm#153_9">Item</A>;                          Options : <b>out</b> Item_Option_Set);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_opts.3x.html">item_opts()</A></EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_10"#2|</EM></FONT>   <b>function</b> Get_Options (Itm : Item := Null_Item) <b>return</b> Item_Option_Set;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_opts.3x.html">item_opts()</A></EM></FONT>   <FONT COLOR=green><EM>--  An overloaded Get_Options is defined later. Pragma Inline appears there</EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  | Man page <A HREF="../man/mitem_name.3x.html">mitem_name.3x</A></EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_11"#2|</EM></FONT>   <b>procedure</b> Name (<FONT COLOR=red><A NAME="267_20">Itm</A></FONT>  : <b>in</b> Item;                   Name : <b>out</b> String);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_name.3x.html">item_name()</A></EM></FONT>   <b>function</b>  Name (Itm : Item) <b>return</b> String;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_name.3x.html">item_name()</A></EM></FONT>   <FONT COLOR=green><EM>--  Implemented as function</EM></FONT>   <b>pragma</b> Inline (Name);   <FONT COLOR=green><EM>--  #1A NAME="AFU_12"#2|</EM></FONT>   <b>procedure</b> Description (<FONT COLOR=red><A NAME="276_27">Itm</A></FONT>         : <b>in</b> Item;                          Description : <b>out</b> String);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_name.3x.html">item_description();</A></EM></FONT>   <b>function</b>  Description (Itm : Item) <b>return</b> String;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_name.3x.html">item_description();</A></EM></FONT>   <FONT COLOR=green><EM>--  Implemented as function</EM></FONT>   <b>pragma</b> Inline (Description);   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  | Man page <A HREF="../man/mitem_current.3x.html">mitem_current.3x</A></EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_13"#2|</EM></FONT>   <b>procedure</b> Set_Current (<FONT COLOR=red><A NAME="290_27">Men</A></FONT> : <b>in</b> <A HREF="terminal_interface-curses-menus__ads.htm#55_9">Menu</A>;                          Itm : <b>in</b> Item);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_current.3x.html">set_current_item()</A></EM></FONT>   <b>pragma</b> Inline (Set_Current);   <FONT COLOR=green><EM>--  #1A NAME="AFU_14"#2|</EM></FONT>   <b>function</b> Current (Men : Menu) <b>return</b> Item;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_current.3x.html">current_item()</A></EM></FONT>   <b>pragma</b> Inline (Current);   <FONT COLOR=green><EM>--  #1A NAME="AFU_15"#2|</EM></FONT>   <b>procedure</b> Set_Top_Row (<FONT COLOR=red><A NAME="301_27">Men</A></FONT>  : <b>in</b> <A HREF="terminal_interface-curses__ads.htm#59_9">Menu</A>;                          Line : <b>in</b> Line_Position);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_current.3x.html">set_top_row()</A></EM></FONT>   <b>pragma</b> Inline (Set_Top_Row);   <FONT COLOR=green><EM>--  #1A NAME="AFU_16"#2|</EM></FONT>   <b>function</b> Top_Row (Men : Menu) <b>return</b> Line_Position;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_current.3x.html">top_row()</A></EM></FONT>   <b>pragma</b> Inline (Top_Row);   <FONT COLOR=green><EM>--  #1A NAME="AFU_17"#2|</EM></FONT>   <b>function</b> Get_Index (Itm : Item) <b>return</b> Positive;   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/mitem_current.3x.html">item_index()</A></EM></FONT>   <FONT COLOR=green><EM>--  Please note that in this binding we start the numbering of items</EM></FONT>   <FONT COLOR=green><EM>--  with 1. So this is number is one more than you get from the low</EM></FONT>   <FONT COLOR=green><EM>--  level call.</EM></FONT>   <b>pragma</b> Inline (Get_Index);   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  | Man page <A HREF="../man/menu_post.3x.html">menu_post.3x</A></EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_18"#2|</EM></FONT>   <b>procedure</b> Post (<FONT COLOR=red><A NAME="324_20">Men</A></FONT>  : <b>in</b> Menu;                   Post : <b>in</b> Boolean := True);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/menu_post.3x.html">post_menu()</A></EM></FONT>   <FONT COLOR=green><EM>--  AKA: unpost_menu()</EM></FONT>   <b>pragma</b> Inline (Post);   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  | Man page <A HREF="../man/menu_opts.3x.html">menu_opts.3x</A></EM></FONT>   <FONT COLOR=green><EM>--  |=====================================================================</EM></FONT>   <FONT COLOR=green><EM>--  #1A NAME="AFU_19"#2|</EM></FONT>   <b>procedure</b> Set_Options (<FONT COLOR=red><A NAME="335_27">Men</A></FONT>     : <b>in</b> <A HREF="terminal_interface-curses-menus__ads.htm#120_9">Menu</A>;                          Options : <b>in</b> Menu_Option_Set);   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/menu_opts.3x.html">set_menu_opts()</A></EM></FONT>   <b>pragma</b> Inline (Set_Options);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -