php-doc-en/reference/newt/constants.xml
2014-09-05 07:44:07 +00:00

674 lines
19 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
<appendix xml:id="newt.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<section xml:id="constants.newt.reasons">
<title>Newt form exit reasons</title>
<table>
<title>Newt form exit reasons</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-exit-hotkey">
<entry><constant>NEWT_EXIT_HOTKEY</constant></entry>
<entry>hotkey defined by <function>newt_form_add_hot_key</function> was pressed</entry>
</row>
<row xml:id="constant.newt-exit-component">
<entry><constant>NEWT_EXIT_COMPONENT</constant></entry>
<entry>some component has caused form to exit</entry>
</row>
<row xml:id="constant.newt-exit-fdready">
<entry><constant>NEWT_EXIT_FDREADY</constant></entry>
<entry>file descriptor specified in
<function>newt_form_watch_fd</function> is ready to be read or written
to</entry>
</row>
<row xml:id="constant.newt-exit-timer">
<entry><constant>NEWT_EXIT_TIMER</constant></entry>
<entry>time specified in <function>newt_form_set_timer</function> has
elapsed</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.colorsets">
<title>Newt colorsets</title>
<table>
<title>Newt colorsets</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-colorset-root">
<entry><constant>NEWT_COLORSET_ROOT</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-border">
<entry><constant>NEWT_COLORSET_BORDER</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-window">
<entry><constant>NEWT_COLORSET_WINDOW</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-shadow">
<entry><constant>NEWT_COLORSET_SHADOW</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-title">
<entry><constant>NEWT_COLORSET_TITLE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-button">
<entry><constant>NEWT_COLORSET_BUTTON</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-actbutton">
<entry><constant>NEWT_COLORSET_ACTBUTTON</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-checkbox">
<entry><constant>NEWT_COLORSET_CHECKBOX</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-actcheckbox">
<entry><constant>NEWT_COLORSET_ACTCHECKBOX</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-entry">
<entry><constant>NEWT_COLORSET_ENTRY</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-label">
<entry><constant>NEWT_COLORSET_LABEL</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-listbox">
<entry><constant>NEWT_COLORSET_LISTBOX</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-actlistbox">
<entry><constant>NEWT_COLORSET_ACTLISTBOX</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-textbox">
<entry><constant>NEWT_COLORSET_TEXTBOX</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-acttextbox">
<entry><constant>NEWT_COLORSET_ACTTEXTBOX</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-helpline">
<entry><constant>NEWT_COLORSET_HELPLINE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-roottext">
<entry><constant>NEWT_COLORSET_ROOTTEXT</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-emptyscale">
<entry><constant>NEWT_COLORSET_EMPTYSCALE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-fullscale">
<entry><constant>NEWT_COLORSET_FULLSCALE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-disentry">
<entry><constant>NEWT_COLORSET_DISENTRY</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-compactbutton">
<entry><constant>NEWT_COLORSET_COMPACTBUTTON</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-actsellistbox">
<entry><constant>NEWT_COLORSET_ACTSELLISTBOX</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-colorset-sellistbox">
<entry><constant>NEWT_COLORSET_SELLISTBOX</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.args-flags">
<title>Newt argument flags</title>
<table>
<title>Newt argument flags</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-arg-last">
<entry><constant>NEWT_ARG_LAST</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-arg-append">
<entry><constant>NEWT_ARG_APPEND</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.sense-flags">
<title>Newt Flags Sense</title>
<table>
<title>Newt Flags Sense</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-flags-set">
<entry><constant>NEWT_FLAGS_SET</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-flags-reset">
<entry><constant>NEWT_FLAGS_RESET</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-flags-toggle">
<entry><constant>NEWT_FLAGS_TOGGLE</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.components-flags">
<title>Newt Components Flags</title>
<table>
<title>Newt Components Flags</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-flag-returnexit">
<entry><constant>NEWT_FLAG_RETURNEXIT</constant></entry>
<entry>Exit form, when component is activated</entry>
</row>
<row xml:id="constant.newt-flag-hidden">
<entry><constant>NEWT_FLAG_HIDDEN</constant></entry>
<entry>Component is hidden</entry>
</row>
<row xml:id="constant.newt-flag-scroll">
<entry><constant>NEWT_FLAG_SCROLL</constant></entry>
<entry>Component is scrollable</entry>
</row>
<row xml:id="constant.newt-flag-disabled">
<entry><constant>NEWT_FLAG_DISABLED</constant></entry>
<entry>Component is disabled</entry>
</row>
<row xml:id="constant.newt-flag-border">
<entry><constant>NEWT_FLAG_BORDER</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-flag-wrap">
<entry><constant>NEWT_FLAG_WRAP</constant></entry>
<entry>Wrap text</entry>
</row>
<row xml:id="constant.newt-flag-nof12">
<entry><constant>NEWT_FLAG_NOF12</constant></entry>
<entry>Don't exit form on pressing F12</entry>
</row>
<row xml:id="constant.newt-flag-multiple">
<entry><constant>NEWT_FLAG_MULTIPLE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-flag-selected">
<entry><constant>NEWT_FLAG_SELECTED</constant></entry>
<entry>Component is selected</entry>
</row>
<row xml:id="constant.newt-flag-checkbox">
<entry><constant>NEWT_FLAG_CHECKBOX</constant></entry>
<entry>Component is checkbox</entry>
</row>
<row xml:id="constant.newt-flag-password">
<entry><constant>NEWT_FLAG_PASSWORD</constant></entry>
<entry>Entry component is password entry</entry>
</row>
<row xml:id="constant.newt-flag-showcursor">
<entry><constant>NEWT_FLAG_SHOWCURSOR</constant></entry>
<entry>Show cursor</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.fd-flags">
<title>File Descriptor Flags</title>
<table>
<title>File Descriptor Flags</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-fd-read">
<entry><constant>NEWT_FD_READ</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-fd-write">
<entry><constant>NEWT_FD_WRITE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-fd-except">
<entry><constant>NEWT_FD_EXCEPT</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.cbtree-flags">
<title>Checkbox Tree Flags</title>
<table>
<title>Checkbox Tree Flags</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-checkboxtree-unselectable">
<entry><constant>NEWT_CHECKBOXTREE_UNSELECTABLE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-checkboxtree-hide-box">
<entry><constant>NEWT_CHECKBOXTREE_HIDE_BOX</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-checkboxtree-collapsed">
<entry><constant>NEWT_CHECKBOXTREE_COLLAPSED</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-checkboxtree-expanded">
<entry><constant>NEWT_CHECKBOXTREE_EXPANDED</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-checkboxtree-unselected">
<entry><constant>NEWT_CHECKBOXTREE_UNSELECTED</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-checkboxtree-selected">
<entry><constant>NEWT_CHECKBOXTREE_SELECTED</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.entry-flags">
<title>Entry Flags</title>
<table>
<title>Entry Flags</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-entry-scroll">
<entry><constant>NEWT_ENTRY_SCROLL</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-entry-hidden">
<entry><constant>NEWT_ENTRY_HIDDEN</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-entry-returnexit">
<entry><constant>NEWT_ENTRY_RETURNEXIT</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-entry-disabled">
<entry><constant>NEWT_ENTRY_DISABLED</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.listbox-flags">
<title>Listbox Flags</title>
<table>
<title>Listbox Flags</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-listbox-returnexit">
<entry><constant>NEWT_LISTBOX_RETURNEXIT</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.textbox-flags">
<title>Textbox Flags</title>
<table>
<title>Textbox Flags</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-textbox-wrap">
<entry><constant>NEWT_TEXTBOX_WRAP</constant></entry>
<entry>Wrap text in the textbox</entry>
</row>
<row xml:id="constant.newt-textbox-scroll">
<entry><constant>NEWT_TEXTBOX_SCROLL</constant></entry>
<entry>Scroll text in the textbox</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.form-flags">
<title>Form Flags</title>
<table>
<title>Form Flags</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-form-nof12">
<entry><constant>NEWT_FORM_NOF12</constant></entry>
<entry>Don't exit form on F12 press</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.keys">
<title>Newt Keys</title>
<table>
<title>Newt Keys</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-key-tab">
<entry><constant>NEWT_KEY_TAB</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-enter">
<entry><constant>NEWT_KEY_ENTER</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-suspend">
<entry><constant>NEWT_KEY_SUSPEND</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-escape">
<entry><constant>NEWT_KEY_ESCAPE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-return">
<entry><constant>NEWT_KEY_RETURN</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-extra-base">
<entry><constant>NEWT_KEY_EXTRA_BASE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-up">
<entry><constant>NEWT_KEY_UP</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-down">
<entry><constant>NEWT_KEY_DOWN</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-left">
<entry><constant>NEWT_KEY_LEFT</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-right">
<entry><constant>NEWT_KEY_RIGHT</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-bkspc">
<entry><constant>NEWT_KEY_BKSPC</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-delete">
<entry><constant>NEWT_KEY_DELETE</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-home">
<entry><constant>NEWT_KEY_HOME</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-end">
<entry><constant>NEWT_KEY_END</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-untab">
<entry><constant>NEWT_KEY_UNTAB</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-pgup">
<entry><constant>NEWT_KEY_PGUP</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-pgdn">
<entry><constant>NEWT_KEY_PGDN</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-insert">
<entry><constant>NEWT_KEY_INSERT</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f1">
<entry><constant>NEWT_KEY_F1</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f2">
<entry><constant>NEWT_KEY_F2</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f3">
<entry><constant>NEWT_KEY_F3</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f4">
<entry><constant>NEWT_KEY_F4</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f5">
<entry><constant>NEWT_KEY_F5</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f6">
<entry><constant>NEWT_KEY_F6</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f7">
<entry><constant>NEWT_KEY_F7</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f8">
<entry><constant>NEWT_KEY_F8</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f9">
<entry><constant>NEWT_KEY_F9</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f10">
<entry><constant>NEWT_KEY_F10</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f11">
<entry><constant>NEWT_KEY_F11</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-f12">
<entry><constant>NEWT_KEY_F12</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-key-resize">
<entry><constant>NEWT_KEY_RESIZE</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.anchor">
<title>Newt Anchors</title>
<table>
<title>Newt Anchors</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-anchor-left">
<entry><constant>NEWT_ANCHOR_LEFT</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-anchor-right">
<entry><constant>NEWT_ANCHOR_RIGHT</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-anchor-top">
<entry><constant>NEWT_ANCHOR_TOP</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-anchor-bottom">
<entry><constant>NEWT_ANCHOR_BOTTOM</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section xml:id="constants.newt.grid-flags">
<title>Grid Flags</title>
<table>
<title>Grid Flags</title>
<tgroup cols="2">
<thead>
<row>
<entry>constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.newt-grid-flag-growx">
<entry><constant>NEWT_GRID_FLAG_GROWX</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-grid-flag-growy">
<entry><constant>NEWT_GRID_FLAG_GROWY</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-grid-empty">
<entry><constant>NEWT_GRID_EMPTY</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-grid-component">
<entry><constant>NEWT_GRID_COMPONENT</constant></entry>
<entry></entry>
</row>
<row xml:id="constant.newt-grid-subgrid">
<entry><constant>NEWT_GRID_SUBGRID</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->