Resource Types
Newt colorsets
Newt
PHP Manual

# Predefined Constants

## Table of Contents

- Newt colorsets
- Newt argument flags
- Newt Flags Sense
- Newt Components Flags
- File Descriptor Flags
- Checkbox Tree Flags
- Entry Flags
- Listbox Flags
- Textbox Flags
- Form Flags
- Newt Keys
- Newt Anchors
- Grid Flags

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

## Newt form exit reasons

Newt form exit reasons
constant | meaning
--- | ---
`NEWT_EXIT_HOTKEY` | hotkey defined by newt_form_add_hot_key() was pressed
`NEWT_EXIT_COMPONENT` | some component has caused form to exit
`NEWT_EXIT_FDREADY` | file descriptor specified in newt_form_watch_fd() is ready to be read or written to
`NEWT_EXIT_TIMER` | time specified in newt_form_set_timer() has elapsed

Resource Types
Newt colorsets
Newt
PHP Manual