Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtPGCreatePopup()
Create an empty copy of a panel group as a popup window
Synopsis:
PtWidget_t *PtPGCreatePopup( PtWidget_t *widget,
PhPoint_t const *pos );
Description:
This function creates an empty copy of the PtPanelGroup specified by widget, in the form of a popup window. The popup window is positioned at pos, or at (0,0) if pos is NULL.
PtPGCreatePopup() copies the following resources into the new panel group:
- Pt_ARG_ANCHOR_FLAGS
- Pt_ARG_BASIC_FLAGS
- Pt_ARG_BEVEL_WIDTH
- Pt_ARG_BITMAP_CURSOR
- Pt_ARG_COLOR
- Pt_ARG_CONTAINER_FLAGS
- Pt_ARG_CURSOR_COLOR
- Pt_ARG_CURSOR_TYPE
- Pt_ARG_DIM
- Pt_ARG_EFLAGS
- Pt_ARG_FILL_COLOR
- Pt_ARG_FILL_PATTERN
- Pt_ARG_FLAGS
- Pt_ARG_HELP_TOPIC
- Pt_ARG_MARGIN_BOTTOM
- Pt_ARG_MARGIN_LEFT
- Pt_ARG_MARGIN_RIGHT
- Pt_ARG_MARGIN_TOP
- Pt_ARG_MARGIN_HEIGHT
- Pt_ARG_MARGIN_WIDTH
- Pt_ARG_PG_FLAGS
- Pt_ARG_PG_SELECTION_MODE
- Pt_ARG_RESIZE_FLAGS
- Pt_ARG_TRANS_PATTERN
- Pt_CB_BALLOONS
- Pt_CB_BLOCKED
- Pt_CB_CHILD_ADDED_REMOVED
- Pt_CB_DESTROYED
- Pt_CB_FILTER
- Pt_CB_GOT_FOCUS
- Pt_CB_HOTKEY
- Pt_CB_LOST_FOCUS
- Pt_CB_MENU
- Pt_CB_PG_PANEL_SWITCHING
- Pt_CB_REALIZED
- Pt_CB_RESIZE
- Pt_CB_UNREALIZED
Returns:
A pointer the to new PtPanelGroup widget, or NULL if there wasn't enough memory.
![]() |
To realize or otherwise manipulate the popup window, do it to the panel group's parent (using the PtWidgetParent() macro). |
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PhPoint_t, PtWidgetParent() in the Photon Library Reference
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
