Widget Reference
About This Reference
What's new in Photon 1.14 (as of June 01, 2000)
Global Data Structures
PtBalloonCallback_t
Synopsis:
Description:
Classification:
See also:
PtCallback_t
Synopsis:
Description:
Callback functions
Classification:
See also:
PtCallbackInfo_t
Synopsis:
Description:
Classification:
See also:
PtHotkeyCallback_t
Synopsis:
Description:
Classification:
See also:
PtRawCallback_t
Synopsis:
Description:
Classification:
See also:
Widgets
Widget hierarchy
Common widget flags
Alphabetical list of flags
What's in a widget description?
Class hierarchy
PhAB icon
Public header
Description
New resources
Inherited resources
Convenience functions
AwFileSelect
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Aw_ARG_ACTION_TEXT
Aw_ARG_CANCEL_TEXT
Aw_ARG_DIRECTORY_PATH
Aw_ARG_FILE_NAME
Aw_ARG_FILE_SPEC
Aw_CB_FS_ACTION
Aw_CB_FS_CANCEL
Inherited resources:
AwMessage
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Aw_ARG_MSG_BUTTON1, Aw_ARG_MSG_BUTTON2, Aw_ARG_MSG_BUTTON3
Aw_ARG_MSG_DEFAULT
Aw_ARG_MSG_FONT
Aw_ARG_MSG_TEXT
Aw_ARG_MSG_TITLE
Aw_CB_MSG_BUTTON1, Aw_CB_MSG_BUTTON2, Aw_CB_MSG_BUTTON3
Inherited resources:
PtArc
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_ARC_END
Pt_ARG_ARC_START
Pt_ARG_ARC_TYPE
Inherited resources:
PtBasic
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_BANDWIDTH_THRESHOLD
Pt_ARG_BOT_BORDER_COLOR
Pt_ARG_COLOR
Pt_ARG_FILL_COLOR
Pt_ARG_FILL_PATTERN
Pt_ARG_HIGHLIGHT_ROUNDNESS
Pt_ARG_MARGIN_HEIGHT
Pt_ARG_MARGIN_WIDTH
Pt_ARG_TOP_BORDER_COLOR
Pt_ARG_TRANS_PATTERN
Pt_CB_ACTIVATE
Pt_CB_ARM
Pt_CB_DISARM
Pt_CB_GOT_FOCUS
Pt_CB_LOST_FOCUS
Pt_CB_MENU
Pt_CB_REPEAT
Inherited resources:
PtBezier
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_BEZIER_FLAGS
Inherited resources:
PtBitmap
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_BITMAP_BALLOON
Pt_ARG_BITMAP_BALLOON_COLOR
Pt_ARG_BITMAP_BALLOON_FILL_COLOR
Pt_ARG_BITMAP_BALLOON_POSITION
Pt_ARG_BITMAP_COLORS
Pt_ARG_BITMAP_DATA
Pt_ARG_BITMAP_FLAGS
Pt_ARG_BITMAP_TEXT
Pt_ARG_BMP_SET_BG_COLOR
Pt_ARG_BMP_SET_BG_FILL
Pt_ARG_SET_BITMAP_COLORS
Pt_ARG_SET_BITMAP_DATA
Inherited resources:
PtBkgd
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_BKGD_BRT_FROM, Pt_ARG_BKGD_BRT_TO
Pt_ARG_BKGD_HUE_FROM, Pt_ARG_BKGD_HUE_TO
Pt_ARG_BKGD_IMAGE
Pt_ARG_BKGD_MIX
Pt_ARG_BKGD_ORIENTATION
Pt_ARG_BKGD_PIXCOLORS
Pt_ARG_BKGD_PIXMAP
Pt_ARG_BKGD_PIX_HEIGHT, Pt_ARG_BKGD_PIX_WIDTH
Pt_ARG_BKGD_SAT_FROM, Pt_ARG_BKGD_SAT_TO
Pt_ARG_BKGD_SPACING
Pt_ARG_BKGD_STEPS
Pt_ARG_BKGD_TILE
Pt_ARG_BKGD_TYPE
Inherited resources:
PtButton
Class hierarchy:
PhAB icon:
Public header:
Description:
Creating pushbuttons
Pushbutton behavior
Visual feedback
New resources:
Pt_ARG_ARM_COLOR
Pt_ARG_ARM_DATA
Pt_ARG_ARM_FILL
Inherited resources:
PtCalendar
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_CALENDAR_COLOR1
Pt_ARG_CALENDAR_COLOR2
Pt_ARG_CALENDAR_COLOR3
Pt_ARG_CALENDAR_COLOR4
Pt_ARG_CALENDAR_COLOR5
Pt_ARG_CALENDAR_DATE
Pt_ARG_CALENDAR_FLAGS
Pt_ARG_CALENDAR_FONT1
Pt_ARG_CALENDAR_FONT2
Pt_ARG_CALENDAR_FONT3
Pt_ARG_CALENDAR_FONT4
Pt_ARG_CALENDAR_FONT5
Pt_ARG_CALENDAR_HIGHLIGHT
Pt_ARG_CALENDAR_MONTH_BTN_COLOR
Pt_ARG_CALENDAR_MONTH_NAMES
Pt_ARG_CALENDAR_SEL_COLOR
Pt_ARG_CALENDAR_TIME_T
Pt_ARG_CALENDAR_WDAY_NAMES
Pt_ARG_CALENDAR_YEAR_BTN_COLOR
Pt_CB_CALENDAR_SELECT
Inherited resources:
PtClock
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_CLOCK_FACE_COLOR
Pt_ARG_CLOCK_FACE_OUTLINE_COLOR
Pt_ARG_CLOCK_FLAGS
Pt_ARG_CLOCK_FONT
Pt_ARG_CLOCK_HOUR
Pt_ARG_CLOCK_HOUR_COLOR
Pt_ARG_CLOCK_HOUR_OFFSET
Pt_ARG_CLOCK_MINUTE
Pt_ARG_CLOCK_MINUTE_COLOR
Pt_ARG_CLOCK_MINUTE_OFFSET
Pt_ARG_CLOCK_SECOND
Pt_ARG_CLOCK_SECOND_COLOR
Pt_ARG_CLOCK_SECOND_OFFSET
Pt_ARG_CLOCK_SEP1
Pt_ARG_CLOCK_SEP1_COLOR
Pt_ARG_CLOCK_SEP2
Pt_ARG_CLOCK_SEP2_COLOR
Pt_ARG_CLOCK_TYPE
Pt_CB_CLOCK_TIME_CHANGED
Inherited resources:
PtComboBox
Class hierarchy:
PhAB icon:
Public header:
Description:
Callbacks
New resources:
Pt_ARG_CBOX_BUTTON_BORDER_WIDTH
Pt_ARG_CBOX_BUTTON_BOT_BORDER_COLOR
Pt_ARG_CBOX_BUTTON_COLOR
Pt_ARG_CBOX_BUTTON_TOP_BORDER_COLOR
Pt_ARG_CBOX_BUTTON_WIDTH
Pt_ARG_CBOX_FLAGS
Pt_ARG_CBOX_MAX_VISIBLE_COUNT
Pt_ARG_CBOX_SEL_ITEM
Pt_CB_CBOX_ACTIVATE
Pt_CB_CBOX_CLOSE
Exported subordinate children:
Inherited resources:
Convenience functions:
PtComboBoxListClose
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtComboBoxListOpen
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtCompound
Class hierarchy:
PhAB icon:
Public header:
Description:
Inherited resources:
PtContainer
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_ANCHOR_FLAGS
Pt_ARG_ANCHOR_OFFSETS
Pt_ARG_CONTAINER_FLAGS
Pt_CB_BALLOONS
Pt_CB_FILTER
Pt_CB_RESIZE
Inherited resources:
PtDBContainer
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_DB_IMAGE_TYPE
Pt_ARG_DB_MEMORY_CONTEXT_TYPE
Inherited resources:
PtDivider
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_DIVIDER_FLAGS
Pt_ARG_DIVIDER_OFFSET
Pt_ARG_DIVIDER_SIZES (read-only)
Pt_CB_DIVIDER_DRAG
Exported subordinate children:
Inherited resources:
PtEllipse
Class hierarchy:
PhAB icon:
Public header:
Description:
Inherited resources:
PtFileSel
Class hierarchy:
PhAB icon:
Public header:
Description:
Examples
New resources:
Pt_ARG_FS_FILE_SPEC
Pt_ARG_FS_FLAGS
Pt_ARG_FS_FORMAT
Pt_ARG_FS_IMAGES (write-only)
Pt_ARG_FS_REFRESH
Pt_ARG_FS_ROOT_DIR
Pt_CB_FS_BKGD_HANDLER
Pt_CB_FS_SELECTION
Pt_CB_FS_STATE
Inherited resources:
Convenience functions:
PtFSAddAfter
Synopsis:
Description:
Classification:
Safety:
See also:
PtFSAddFirst
Synopsis:
Description:
Classification:
Safety:
See also:
PtFSAllItems
Synopsis:
Description:
Returns:
Classification:
Safety:
PtFSAllocItem
Synopsis:
Description:
Returns:
Examples:
Classification:
Safety:
PtFSClearSelection
Synopsis:
Description:
Classification:
Safety:
PtFSDamageItem
Synopsis:
Description:
Classification:
Safety:
PtFSExpandParents
Synopsis:
Description:
Classification:
Safety:
PtFSFolderCollapse
Synopsis:
Description:
Classification:
Safety:
PtFSFolderExpand
Synopsis:
Description:
Returns:
Classification:
Safety:
PtFSFreeAllItems
Synopsis:
Description:
Classification:
Safety:
PtFSFreeItems
Synopsis:
Description:
Classification:
Safety:
PtFSGetCurrent
Synopsis:
Description:
Classification:
Safety:
PtFSGetSelIndexes
Synopsis:
Description:
Returns:
Classification:
Safety:
PtFSGoto
Synopsis:
Description:
Classification:
Safety:
PtFSItemIndex
Synopsis:
Description:
Returns:
Classification:
Safety:
PtFSRemoveChildren
Synopsis:
Description:
Returns:
Classification:
Safety:
PtFSRemoveItem
Synopsis:
Description:
Classification:
Safety:
PtFSRemoveList
Synopsis:
Description:
Classification:
Safety:
PtFSRootItem
Synopsis:
Description:
Returns:
Classification:
Safety:
PtFSSelect
Synopsis:
Description:
Classification:
Safety:
PtFSSelectedItems
Synopsis:
Description:
Returns:
Classification:
Safety:
PtFSSetSelIndexes
Synopsis:
Description:
Returns:
Classification:
Safety:
PtFSShow
Synopsis:
Description:
Classification:
Safety:
PtFSUnselect
Synopsis:
Description:
Classification:
Safety:
PtFSUnselectNonBrothers
Synopsis:
Description:
Classification:
Safety:
PtFontSel
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_FONT_DISPLAY
Pt_ARG_FONT_FLAGS
Pt_ARG_FONT_NAME
Pt_ARG_FONT_SAMPLE
Pt_ARG_FONT_SYMBOL
Pt_CB_FONT_MODIFY
Inherited resources:
Convenience functions:
PtGauge
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_GAUGE_FLAGS
Pt_ARG_GAUGE_FONT
Pt_ARG_GAUGE_H_ALIGN
Pt_ARG_GAUGE_MAXIMUM
Pt_ARG_GAUGE_MINIMUM
Pt_ARG_GAUGE_ORIENTATION
Pt_ARG_GAUGE_V_ALIGN
Pt_ARG_GAUGE_VALUE
Pt_ARG_GAUGE_VALUE_PREFIX
Pt_ARG_GAUGE_VALUE_SUFFIX
Inherited resources:
PtGenList
Class hierarchy:
PhAB icon:
Public header:
Description:
Using scrollbars
Mouse actions
Keyboard actions
New resources:
Pt_ARG_BALLOON_COLOR
Pt_ARG_BALLOON_FILL_COLOR
Pt_ARG_LIST_COLUMN_ATTR
Pt_ARG_LIST_COLUMN_POS
Pt_ARG_LIST_FLAGS
Pt_ARG_LIST_FONT
Pt_ARG_LIST_ITEM_COUNT (read-only)
Pt_ARG_LIST_SB_RES
Pt_ARG_LIST_SCROLL_RATE
Pt_ARG_LIST_SEL_COUNT (read-only)
Pt_ARG_LIST_TOTAL_HEIGHT (read-only)
Pt_ARG_SCROLLBAR_WIDTH
Pt_ARG_SELECTION_FILL_COLOR
Pt_ARG_SELECTION_MODE
Pt_ARG_SELECTION_TEXT_COLOR
Pt_ARG_TOP_ITEM_POS
Pt_ARG_VISIBLE_COUNT (read-only)
Pt_CB_SCROLL_MOVE
Inherited resources:
Convenience functions:
PtGenListCreateTextBalloon
Synopsis:
Description:
Returns:
Classification:
Safety:
PtGenListItem_t
Synopsis:
Description:
Classification:
See also:
PtGenListSetColumnBalloon
Synopsis:
Description:
Returns:
Classification:
Safety:
PtGenTree
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_TREE_FLAGS
Pt_CB_GEN_TREE_INPUT
Inherited resources:
Convenience functions:
PtGenTreeItem_t
Synopsis:
Description:
Classification:
See also:
PtGraphic
Class hierarchy:
PhAB icon:
Public header:
Description:
Creating vector graphics
Creating a drawing
Sizing the primitives
Grouping elements of the drawing
Rescaling graphics widgets
Attaching resize and rescale functions
Calculating the scale factor
Scaling based on original coordinates
Effects of positional parameters on scaling
New resources:
Pt_ARG_DASH_LIST
Pt_ARG_DASH_SCALE
Pt_ARG_GRAPHIC_FLAGS
Pt_ARG_LINE_CAP
Pt_ARG_LINE_JOIN
Pt_ARG_LINE_WIDTH
Pt_ARG_ORIGIN
Pt_ARG_POINTS
Pt_CB_RESCALE
Inherited resources:
PtGrid
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_DASH_LIST
Pt_ARG_DASH_SCALE
Pt_ARG_GRID_HORIZONTAL
Pt_ARG_GRID_VERTICAL
Pt_ARG_LINE_CAP
Pt_ARG_LINE_JOIN
Pt_ARG_LINE_WIDTH
Inherited resources:
PtGroup
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_GROUP_FLAGS
Pt_ARG_GROUP_HORZ_ALIGN
Pt_ARG_GROUP_ORIENTATION
Pt_ARG_GROUP_ROWS_COLS
Pt_ARG_GROUP_SPACING
Pt_ARG_GROUP_SPACING_X
Pt_ARG_GROUP_SPACING_Y
Pt_ARG_GROUP_VERT_ALIGN
Inherited resources:
PtHtml
Class hierarchy:
PhAB icon:
Public header:
Description:
Elements
Entities
Supporting images
Printing
New resources:
Pt_ARG_HTML_BORDER_WIDTH
Pt_ARG_HTML_CURSOR_BUSY
Pt_ARG_HTML_CURSOR_DEFAULT
Pt_ARG_HTML_CURSOR_LINK
Pt_ARG_HTML_FILL_COLOR
Pt_ARG_HTML_FLAGS
Pt_ARG_HTML_H1_FONT
Pt_ARG_HTML_H2_FONT
Pt_ARG_HTML_H3_FONT
Pt_ARG_HTML_H4_FONT
Pt_ARG_HTML_H5_FONT
Pt_ARG_HTML_H6_FONT
Pt_ARG_HTML_LINK_COLOR
Pt_ARG_HTML_PAGE_BM
Pt_ARG_HTML_PAGE_H (read-only)
Pt_ARG_HTML_PAGE_LM
Pt_ARG_HTML_PAGE_N
Pt_ARG_HTML_PAGE_RM
Pt_ARG_HTML_PAGE_TM
Pt_ARG_HTML_PAGE_W (read-only)
Pt_ARG_HTML_PAGE_X
Pt_ARG_HTML_PAGE_Y
Pt_ARG_HTML_PAGES (read-only)
Pt_ARG_HTML_SCROLL_COLOR
Pt_ARG_HTML_SCROLL_FILL_COLOR
Pt_ARG_HTML_SCROLL_HORIZONTAL
Pt_ARG_HTML_SCROLL_VERTICAL
Pt_ARG_HTML_SCROLL_WIDTH
Pt_ARG_HTML_TEXT_FONT
Pt_ARG_HTML_URL
Pt_CB_HTML_ERROR
Pt_CB_HTML_FILE_POST
Pt_CB_HTML_FILE_PRE
Pt_CB_HTML_IMAGE
Inherited resources:
Convenience functions:
PtHtmlLink
Synopsis:
Description:
Returns:
Classification:
Safety:
PtHtmlTitle
Synopsis:
Description:
Classification:
Safety:
PtIcon
Class hierarchy:
PhAB icon:
Public header:
Description:
Inherited resources:
PtLabel
Class hierarchy:
PhAB icon:
Public header:
Description:
Creating labels
Text labels
Image and bitmap labels
Balloons
New resources:
Pt_ARG_ACCEL_KEY
Pt_ARG_BALLOON_COLOR
Pt_ARG_BALLOON_FILL_COLOR
Pt_ARG_BALLOON_POSITION
Pt_ARG_HORIZONTAL_ALIGNMENT
Pt_ARG_LABEL_BALLOON
Pt_ARG_LABEL_DATA
Pt_ARG_LABEL_FLAGS
Pt_ARG_LABEL_TYPE
Pt_ARG_LINE_SPACING
Pt_ARG_MARGIN_BOTTOM
Pt_ARG_MARGIN_LEFT
Pt_ARG_MARGIN_RIGHT
Pt_ARG_MARGIN_TOP
Pt_ARG_TEXT_FONT
Pt_ARG_TEXT_STRING
Pt_ARG_UNDERLINE1
Pt_ARG_UNDERLINE2
Pt_ARG_UNDERLINE_TYPE
Pt_ARG_VERTICAL_ALIGNMENT
Inherited resources:
PtLine
Class hierarchy:
PhAB icon:
Public header:
Description:
Inherited resources:
PtList
Class hierarchy:
PhAB icon:
Public header:
Description:
Limitations
Displaying items in columns
Creating lists
Controlling the number of items displayed
Selection notification
Handling single selections
Handling multiple selections
New resources:
Pt_ARG_ITEMS
Pt_ARG_LIST_BALLOON
Pt_ARG_LIST_SPACING
Pt_ARG_MODIFY_ITEMS
Pt_ARG_SELECTION_INDEXES
Pt_CB_LIST_INPUT
Pt_CB_SELECTION
Inherited resources:
Convenience functions:
PtListAddItems
Synopsis:
Description:
Returns:
Classification:
Safety:
PtListDeleteAllItems
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtListDeleteItemPos
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtListDeleteItems
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtListGotoPos
Synopsis:
Description:
Classification:
Safety:
See also:
PtListItemExists
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtListItemPos
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtListRemovePositions
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtListReplaceItemPos
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtListReplaceItems
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtListSelectPos
Synopsis:
Description:
Classification:
Safety:
See also:
PtListShowPos
Synopsis:
Description:
Classification:
Safety:
See also:
PtListUnselectPos
Synopsis:
Description:
Classification:
Safety:
See also:
PtMenu
Class hierarchy:
PhAB icon:
Public header:
Description:
Creating menus
Populating the menu
Sizing
Lifetime
Pulldown menus
Popup menus
Cascaded menus
Complete menu example
New resources:
Pt_ARG_MENU_FLAGS
Pt_ARG_MENU_SPACING
Pt_ARG_MENU_TEXT_FONT
Pt_ARG_MENU_TITLE
Pt_ARG_MENU_TITLE_FONT
Inherited resources:
PtMenuBar
Class hierarchy:
PhAB icon:
Public header:
Description:
Inherited resources:
PtMenuButton
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_ACCEL_FONT
Pt_ARG_ACCEL_TEXT
Pt_ARG_BUTTON_TYPE
Pt_ARG_OFFSET
Inherited resources:
PtMessage
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_MSG_BUTTON1, Pt_ARG_MSG_BUTTON2, Pt_ARG_MSG_BUTTON3
Pt_ARG_MSG_DEFAULT
Pt_ARG_MSG_ESCAPE
Pt_ARG_MSG_FLAGS
Pt_ARG_MSG_FONT
Pt_ARG_MSG_TEXT
Pt_ARG_MSG_TITLE
Pt_CB_MSG_BUTTON1, Pt_CB_MSG_BUTTON2, Pt_CB_MSG_BUTTON3
Inherited resources:
Convenience functions:
PtMessageGetWindow
Synopsis:
Description:
Returns:
Classification:
Safety:
PtMultiText
Class hierarchy:
PhAB icon:
Public header:
Description:
Features
Setting text
Text attributes
Setting text using ranges
Inserting text with assigned attributes
Changing the attributes of a range of text
Hyperlinks using cursor-motion callbacks
Widget dimensions
New resources:
Pt_ARG_MULTITEXT_BOTTOM_LINE (write-only)
Pt_ARG_MULTITEXT_FLAGS
Pt_ARG_MULTITEXT_NUM_LINES (read-only)
Pt_ARG_MULTITEXT_NUM_LINES_VISIBLE (read-only)
Pt_ARG_MULTITEXT_QUERY_CHARACTER (read-only)
Pt_ARG_MULTITEXT_QUERY_LINE (read-only)
Pt_ARG_MULTITEXT_RANGE_ATTRIBUTES
Pt_ARG_MULTITEXT_ROWS (write-only)
Pt_ARG_MULTITEXT_SEGMENTS (write-only)
Pt_ARG_MULTITEXT_TABS
Pt_ARG_MULTITEXT_TOP_LINE
Pt_ARG_MULTITEXT_WRAP_FLAGS
Pt_ARG_MULTITEXT_X_SCROLL_POS
Pt_ARG_MULTITEXT_Y_SCROLL_POS
Pt_ARG_SCROLLBAR_X_DISPLAY
Pt_ARG_SCROLLBAR_X_HEIGHT
Pt_ARG_SCROLLBAR_Y_DISPLAY
Pt_ARG_SCROLLBAR_Y_WIDTH
Inherited resources:
Pt_CB_ACTIVATE
Pt_CB_GOT_FOCUS, Pt_CB_LOST_FOCUS
Pt_CB_TEXT_CHANGED, Pt_CB_MODIFY_NOTIFY, Pt_CB_MOTION_NOTIFY
Pt_CB_MODIFY_VERIFY
Pt_CB_MOTION_VERIFY
Convenience functions:
PtMultiLines_t
Synopsis:
Description:
Classification:
See also:
PtMultiTextAttributes_t
Synopsis:
Description:
Classification:
See also:
PtMultiTextCallback_t, PtMultiTextControl_t, PtMultiTextInfo_t
Synopsis:
Description:
Classification:
See also:
PtMultiTextCreateAttributes
Synopsis:
Description:
Returns:
Examples:
Classification:
Safety:
See also:
PtMultiTextGetAttributes
Synopsis:
Description:
Returns:
Examples:
Classification:
Safety:
See also:
PtMultiTextInfo
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtMultiTextLine_t
Synopsis:
Description:
Classification:
See also:
PtMultiTextModifyAttributes
Synopsis:
Description:
Examples:
Classification:
Safety:
See also:
PtMultiTextModifyText
Synopsis:
Description:
Classification:
Safety:
See also:
PtMultiTextQuery_t
Synopsis:
Description:
Classification:
See also:
PtMultiSegment_t
Synopsis:
Description:
Classification:
See also:
PtNumeric
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_NUMERIC_FLAGS
Pt_ARG_NUMERIC_PREFIX
Pt_ARG_NUMERIC_SPACING
Pt_ARG_NUMERIC_SUFFIX
Pt_ARG_NUMERIC_TEXT_BORDER
Pt_ARG_NUMERIC_TEXT_BOT_BORDER_COLOR
Pt_ARG_NUMERIC_TEXT_COLOR
Pt_ARG_NUMERIC_TEXT_FILL_COLOR
Pt_ARG_NUMERIC_TEXT_FONT
Pt_ARG_NUMERIC_TEXT_TOP_BORDER_COLOR
Pt_ARG_NUMERIC_UPDOWN_BORDER_WIDTH
Pt_ARG_NUMERIC_UPDOWN_WIDTH
Exported subordinate children:
Inherited resources:
PtNumericFloat
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_NUMERIC_INCREMENT
Pt_ARG_NUMERIC_MAX
Pt_ARG_NUMERIC_MIN
Pt_ARG_NUMERIC_PRECISION
Pt_ARG_NUMERIC_VALUE
Pt_CB_NUMERIC_CHANGED
Exported subordinate children:
Inherited resources:
PtNumericInteger
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_NUMERIC_INCREMENT
Pt_ARG_NUMERIC_MAX
Pt_ARG_NUMERIC_MIN
Pt_ARG_NUMERIC_VALUE
Pt_CB_NUMERIC_CHANGED
Exported subordinate children:
Inherited resources:
PtOnOffButton
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_ONOFF_STATE
Pt_CB_ONOFF_NEW_VALUE
Inherited resources:
PtPane
Class hierarchy:
PhAB icon:
Public header:
Description:
Inherited resources:
PtPixel
Class hierarchy:
PhAB icon:
Public header:
Description:
Inherited resources:
PtPolygon
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_POLYGON_FLAGS
Inherited resources:
PtPrintSel
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_PRINT_CONTEXT
Pt_ARG_PRINT_FLAGS
Pt_CB_PRINT_PROPS
Inherited resources:
Convenience functions:
PtRaw
Class hierarchy:
PhAB icon:
Public header:
Description:
Draw function
New resources:
Pt_ARG_RAW_CONNECT_F
Pt_ARG_RAW_DRAW_F
Pt_ARG_RAW_EXTENT_F
Pt_ARG_RAW_INIT_F
Inherited resources:
PtRect
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_RECT_ROUNDNESS
Inherited resources:
PtRegion
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_REGION_DATA
Pt_ARG_REGION_FIELDS
Pt_ARG_REGION_FLAGS
Pt_ARG_REGION_HANDLE
Pt_ARG_REGION_INFRONT
Pt_ARG_REGION_INPUT_GROUP
Pt_ARG_REGION_OPAQUE
Pt_ARG_REGION_OWNER
Pt_ARG_REGION_PARENT
Pt_ARG_REGION_SENSE
Inherited resources:
PtScrollArea
Class hierarchy:
PhAB icon:
Public header:
Description:
Scrolling notification
Scrolling control
Layout
Anchors and resize policy
New resources:
Pt_ARG_SCROLL_AREA_FLAGS
Pt_ARG_SCROLL_AREA_INCREMENT_X
Pt_ARG_SCROLL_AREA_INCREMENT_Y
Pt_ARG_SCROLL_AREA_MAX_X
Pt_ARG_SCROLL_AREA_MAX_Y
Pt_ARG_SCROLL_AREA_POS_X
Pt_ARG_SCROLL_AREA_POS_Y
Pt_ARG_SCROLLBAR_X_DISPLAY
Pt_ARG_SCROLLBAR_X_HEIGHT
Pt_ARG_SCROLLBAR_Y_DISPLAY
Pt_ARG_SCROLLBAR_Y_WIDTH
Pt_CB_SCROLLED_X, Pt_CB_SCROLLED_Y
Inherited resources:
PtScrollbar
Class hierarchy:
PhAB icon:
Public header:
Description:
Mouse actions
Keyboard actions
New resources:
Pt_ARG_DIRECTION
Pt_ARG_INCREMENT
Pt_ARG_MAXIMUM
Pt_ARG_MINIMUM
Pt_ARG_MIN_SLIDER_SIZE
Pt_ARG_ORIENTATION
Pt_ARG_PAGE_INCREMENT
Pt_ARG_SCROLLBAR_FLAGS
Pt_ARG_SCROLL_POSITION
Pt_ARG_SHOW_ARROWS
Pt_ARG_SLIDER_SIZE
Pt_CB_SCROLL_MOVE
Inherited resources:
PtSeparator
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_SEP_FLAGS
Pt_ARG_SEP_TYPE
Inherited resources:
PtSlider
Class hierarchy:
PhAB icon:
Public header:
Description:
Mouse actions
Keyboard actions
New resources:
Pt_ARG_SLIDER_FLAGS
Pt_ARG_SLIDER_HANDLE_HEIGHT
Pt_ARG_SLIDER_HANDLE_WIDTH
Pt_ARG_SLIDER_IMAGE
Pt_ARG_SLIDER_INCREMENT
Pt_ARG_SLIDER_LABEL_BR
Pt_ARG_SLIDER_LABEL_BR_COL
Pt_ARG_SLIDER_LABEL_TL
Pt_ARG_SLIDER_LABEL_TL_COL
Pt_ARG_SLIDER_MULTIPLE
Pt_ARG_SLIDER_ORIENTATION
Pt_ARG_SLIDER_TICK_MAJOR_COL
Pt_ARG_SLIDER_TICK_MAJOR_DIV
Pt_ARG_SLIDER_TICK_MAJOR_LEN
Pt_ARG_SLIDER_TICK_MINOR_COL
Pt_ARG_SLIDER_TICK_MINOR_DIV
Pt_ARG_SLIDER_TICK_MINOR_LEN
Pt_ARG_SLIDER_TROUGH_COL
Pt_ARG_SLIDER_TROUGH_SIZE
Pt_CB_SLIDER_MOVE
Inherited resources:
PtTab
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_TAB_FLAGS
Inherited resources:
PtTerminal
Class hierarchy:
PhAB icon:
Public header:
Description:
PtTerminal and PtTty
Fonts
Character sets
Resource changes and function reentrancy
Geometry
Resizing
Adjusting after a resize
The default resize function
Size limits
Console emulation
Color coding
Drawing and scrolling
Scrolling optimization
New resources:
Pt_ARG_TERM_APP
Pt_ARG_TERM_CHARSETS
Pt_ARG_TERM_COLOR_MODE
Pt_ARG_TERM_COLOR_TABLE
Pt_ARG_TERM_COLS
Pt_ARG_TERM_CONSOLE
Pt_ARG_TERM_CUR_COL
Pt_ARG_TERM_CUR_POS
Pt_ARG_TERM_CUR_ROW
Pt_ARG_TERM_CURSOR_FLAGS
Pt_ARG_TERM_DRAW_MODES
Pt_ARG_TERM_FONT
Pt_ARG_TERM_FONT_INDEX
Pt_ARG_TERM_FONT_LIST
Pt_ARG_TERM_FONT_SIZE (read-only)
Pt_ARG_TERM_MARGINS (read-only)
Pt_ARG_TERM_MAXCOLS
Pt_ARG_TERM_MAXROWS
Pt_ARG_TERM_MAXSIZE
Pt_ARG_TERM_MINCOLS
Pt_ARG_TERM_MINROWS
Pt_ARG_TERM_MINSIZE
Pt_ARG_TERM_OPTIONS
Pt_ARG_TERM_OPTMASK
Pt_ARG_TERM_PROTOCOL
Pt_ARG_TERM_RESIZE_FL
Pt_ARG_TERM_RESIZE_FUN
Pt_ARG_TERM_RESIZE_STR
Pt_ARG_TERM_ROWS
Pt_ARG_TERM_SCRLBK_COUNT
Pt_ARG_TERM_SCRLBK_LIMIT
Pt_ARG_TERM_SCRLBK_POS
Pt_ARG_TERM_SCROLL
Pt_ARG_TERM_SELECTION
Pt_ARG_TERM_SIZE
Pt_ARG_TERM_VISUAL_BELL
Pt_CB_TERM_APP
Pt_CB_TERM_FONT
Pt_CB_TERM_INPUT
Pt_CB_TERM_OPTIONS
Pt_CB_TERM_RESIZE
Pt_CB_TERM_RESIZED
Pt_CB_TERM_SCRLBK
Inherited resources:
Pt_ARG_BANDWIDTH_THRESHOLD
Pt_ARG_FILL_COLOR
Convenience functions:
PtTerminalCharset_t, PtTerminalCharsets_t
Synopsis:
Description:
Classification:
See also:
PtTerminalCopy
Synopsis:
Description:
Classification:
Safety:
PtTerminalCreateCsXlat
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTerminalDefaultCharsets
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTerminalFont
Synopsis:
Description:
Returns:
Classification:
Safety:
PtTerminalGetKeys
Synopsis:
Description:
Classification:
Safety:
PtTerminalGetSelection
Synopsis:
Description:
Classification:
Safety:
PtTerminalName
Synopsis:
Description:
Classification:
Safety:
PtTerminalPasteClipboard
Synopsis:
Description:
Classification:
Safety:
PtTerminalPasteSelection
Synopsis:
Description:
Classification:
Safety:
PtTerminalPut, PtTerminalPutc, PtTerminalPuts
Synopsis:
Description:
Returns:
Errors:
Classification:
Safety:
PtTerminalSelectWord
Synopsis:
Description:
Returns:
Classification:
Safety:
PtText
Class hierarchy:
PhAB icon:
Public header:
Description:
Interaction model
Selecting text
The widget's text
Setting text
Getting text
Getting the current selection
Replacing text
Text modification callbacks
Validation
Preventing the modification
Handling deletions
String changes
Focus callbacks
Text cursor movement callbacks
Activate callback
Edit masks
Mouse actions
Keyboard actions
New resources:
Pt_ARG_COLUMNS
Pt_ARG_CURSOR_POSITION
Pt_ARG_EDIT_MASK
Pt_ARG_MAX_LENGTH
Pt_ARG_SELECTION_RANGE
Pt_ARG_TEXT_CURSOR_WIDTH
Pt_ARG_TEXT_FLAGS
Pt_ARG_TEXT_HIGHLIGHT_BACKGROUND_COLOR
Pt_ARG_TEXT_HIGHLIGHT_TEXT_COLOR
Pt_ARG_TEXT_SUBSTRING
Pt_CB_MODIFY_NOTIFY / Pt_CB_TEXT_CHANGED
Pt_CB_MODIFY_VERIFY
Pt_CB_MOTION_NOTIFY
Pt_CB_MOTION_VERIFY
Inherited resources:
Pt_CB_ACTIVATE
Pt_CB_GOT_FOCUS, Pt_CB_LOST_FOCUS
Convenience functions:
PtTextCallback_t, PtTextControl_t, PtTextControlInfo_t
Synopsis:
Description:
Classification:
See also:
PtTextGetSelection
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTextModifyText
Synopsis:
Description:
Returns:
Classification:
Safety:
PtTextSetSelection
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTimer
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_TIMER_INITIAL
Pt_ARG_TIMER_REPEAT
Pt_CB_TIMER_ACTIVATE
Inherited resources:
PtToggleButton
Class hierarchy:
PhAB icon:
Public header:
Description:
Creating toggle buttons
Grouping radio buttons
New resources:
Pt_ARG_INDICATOR_COLOR
Pt_ARG_INDICATOR_DEPTH
Pt_ARG_INDICATOR_HEIGHT
Pt_ARG_INDICATOR_TYPE
Pt_ARG_INDICATOR_WIDTH
Pt_ARG_SET_COLOR
Pt_ARG_SET_FILL
Pt_ARG_SPACING
Inherited resources:
PtTree
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_TREE_BALLOON
Pt_ARG_TREE_IMAGES
Pt_ARG_TREE_IMGMASK
Pt_CB_TREE_SELECTION
Pt_CB_TREE_STATE
Inherited resources:
Pt_ARG_TREE_FLAGS
Convenience functions:
PtTreeAddAfter
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeAddFirst
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeAddImages
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTreeAllItems
Synopsis:
Description:
Returns:
Examples:
Classification:
Safety:
See also:
PtTreeAllocItem
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeClearSelection
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeCollapse
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeExpand
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTreeFreeAllItems
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeFreeItems
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeGetCurrent
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeGetSelIndexes
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTreeGoto
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTreeItem_t
Synopsis:
Description:
Classification:
See also:
PtTreeItemIndex
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTreeModifyItem
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTreeRemoveChildren
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTreeRemoveItem
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeRemoveList
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeRootItem
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeSelect
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeSelectedItems
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTreeSetSelIndexes
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeShow
Synopsis:
Description:
Returns:
Classification:
Safety:
See also:
PtTreeUnselect
Synopsis:
Description:
Classification:
Safety:
See also:
PtTreeUnselectNonBrothers
Synopsis:
Description:
Classification:
Safety:
See also:
PtTty
Class hierarchy:
PhAB icon:
Public header:
Description:
PtTerminal and PtTty
Setting PtTty resources
New resources:
Pt_ARG_TTY_ARGV (write-only)
Pt_ARG_TTY_BUFFER
Pt_ARG_TTY_BUFLEN
Pt_ARG_TTY_CMD (write-only)
Pt_ARG_TTY_DEVSIZE
Pt_ARG_TTY_EXIT_STATUS (read-only)
Pt_ARG_TTY_FD
Pt_ARG_TTY_FDSET
Pt_ARG_TTY_FLAGS
Pt_ARG_TTY_INPUT
Pt_ARG_TTY_INPUT_WRITTEN (read-only)
Pt_ARG_TTY_MFD (read-only)
Pt_ARG_TTY_PATH
Pt_ARG_TTY_PID
Pt_ARG_TTY_PRI
Pt_ARG_TTY_PSEUDO
Pt_ARG_TTY_SPAWN_OPTIONS
Pt_CB_TTY_DEVSIZE
Pt_CB_TTY_OUTPUT
Pt_CB_TTY_TERMINATED
Inherited resources:
Convenience functions:
PtTtyShell
Synopsis:
Description:
Classification:
Safety:
PtUpDown
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_UPDOWN_ARM_DATA_BOTTOM, Pt_ARG_UPDOWN_ARM_DATA_LEFT, Pt_ARG_UPDOWN_ARM_DATA_RIGHT, Pt_ARG_UPDOWN_ARM_DATA_TOP
Pt_ARG_UPDOWN_BOTTOM_BORDER_COLOR
Pt_ARG_UPDOWN_DATA_BOTTOM, Pt_ARG_UPDOWN_DATA_LEFT, Pt_ARG_UPDOWN_DATA_RIGHT, Pt_ARG_UPDOWN_DATA_TOP
Pt_ARG_UPDOWN_FILL_COLOR
Pt_ARG_UPDOWN_FLAGS
Pt_ARG_UPDOWN_HIGHLIGHT_ROUND
Pt_ARG_UPDOWN_MARGIN_HEIGHT
Pt_ARG_UPDOWN_MARGIN_WIDTH
Pt_ARG_UPDOWN_ORIENTATION
Pt_ARG_UPDOWN_SPACING
Pt_ARG_UPDOWN_TOP_BORDER_COLOR
Inherited resources:
PtWidget
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Pt_ARG_AREA
Pt_ARG_BITMAP_CURSOR
Pt_ARG_BORDER_WIDTH
Pt_ARG_CURSOR_COLOR
Pt_ARG_CURSOR_TYPE
Pt_ARG_DATA
Pt_ARG_DIM
Pt_ARG_EFLAGS
Pt_ARG_FLAGS
Pt_ARG_HELP_TOPIC
Pt_ARG_POS
Pt_ARG_RESIZE_FLAGS
Pt_ARG_USER_DATA
Pt_CB_BLOCKED
Pt_CB_DESTROYED
Pt_CB_HOTKEY
Pt_CB_RAW
Pt_CB_REALIZED
Pt_CB_UNREALIZED
PtWindow
Class hierarchy:
PhAB icon:
Public header:
Description:
Setting the window's icon
Interacting with the Window Manager
Setting the window's title
Controlling the decorations
Controlling window resizing
Enabling Window Manager functions
Notifying the application
Application icons
Layout and sizing
Creating subwindows
New resources:
Pt_ARG_ICON_WINDOW
Pt_ARG_MAX_HEIGHT
Pt_ARG_MAX_WIDTH
Pt_ARG_MIN_HEIGHT
Pt_ARG_MIN_WIDTH
Pt_ARG_WINDOW_ACTIVE_COLOR
Pt_ARG_WINDOW_CURSOR_OVERRIDE
Pt_ARG_WINDOW_FRONT_WINDOW
Pt_ARG_WINDOW_HELP_ROOT
Pt_ARG_WINDOW_INACTIVE_COLOR
Pt_ARG_WINDOW_MANAGED_FLAGS
Pt_ARG_WINDOW_NOTIFY_FLAGS
Pt_ARG_WINDOW_RENDER_FLAGS
Pt_ARG_WINDOW_STATE
Pt_ARG_WINDOW_TITLE
Pt_ARG_WINDOW_TITLE_COLOR
Pt_CB_WINDOW
Pt_CB_WINDOW_CLOSING
Pt_CB_WINDOW_OPENING
Pt_CB_WINDOW_TRANSPORT
Inherited resources:
Convenience functions:
PtWindowFocus
Synopsis:
Description:
Returns:
Examples:
Classification:
Safety:
See also:
PtWindowGetState
Synopsis:
Description:
Returns:
Classification:
Safety:
PtWindowToBack
Synopsis:
Description:
Examples:
Classification:
Safety:
See also:
PtWindowToFront
Synopsis:
Description:
Examples:
Classification:
Safety:
See also:
RtMeter
Class hierarchy:
PhAB icon:
Public header:
Description:
Creating a 3-arc meter
Creating a 1-arc meter
Creating a 3-arc meter movable by keys and mouse
Full meter example
New resources:
Rt_ARG_METER_COLOR
Rt_ARG_METER_FLAGS
Rt_ARG_METER_FONT_COLOR
Rt_ARG_METER_INCREMENT
Rt_ARG_METER_KEY_LEFT
Rt_ARG_METER_KEY_RIGHT
Rt_ARG_METER_LEVEL1_COLOR
Rt_ARG_METER_LEVEL1_POS
Rt_ARG_METER_LEVEL2_COLOR
Rt_ARG_METER_LEVEL2_POS
Rt_ARG_METER_LEVEL3_COLOR
Rt_ARG_METER_MAX_NEEDLE_POSITION
Rt_ARG_METER_MIN_NEEDLE_POSITION
Rt_ARG_METER_NEEDLE_COLOR
Rt_ARG_METER_NEEDLE_POSITION
Rt_ARG_METER_NUM_SEVERITY_LEVELS
Rt_ARG_METER_TEXT_FONT
Rt_CB_METER_MOVED
Inherited resources:
RtProgress
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Rt_ARG_PROGRESS_BAR_COLOR
Rt_ARG_PROGRESS_DIVISIONS
Rt_ARG_PROGRESS_GAP
Rt_ARG_PROGRESS_SPACING
Inherited resources:
RtTrend
Class hierarchy:
PhAB icon:
Public header:
Description:
New resources:
Rt_ARG_TREND_ATTRIBUTES
Rt_ARG_TREND_COLOR_LIST
Rt_ARG_TREND_COUNT
Rt_ARG_TREND_DATA (write-only)
Rt_ARG_TREND_FLAGS
Rt_ARG_TREND_GRID_COLOR
Rt_ARG_TREND_GRID_X
Rt_ARG_TREND_GRID_Y
Rt_ARG_TREND_INC
Rt_ARG_TREND_MAX
Rt_ARG_TREND_MIN
Rt_ARG_TREND_PALETTE_END
Inherited resources:
Convenience functions:
RtTrendChangeData, RtTrendChangeTrendData
Synopsis:
Description:
Classification:
Safety:
Glossary