Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtGetWidgetStyle()
Get the style that a widget is currently using
Synopsis:
PtWidgetClassStyle_t *PtGetWidgetStyle(
PtWidget_t *widget );
Library:
ph
Description:
This function returns a pointer to the style that the provided widget is currently using.
Returns:
A pointer to the style.
Examples:
void display_style( PtWidget_t *widget )
{
PtWidgetClassStyle_t *style =
PtGetWidgetStyle( widget );
display_style_name ( style );
}
For details about display_style_name(), see PtGetStyleMember().
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtAddClassStyle(), PtCreateClassStyle(), PtDupClassStyle(), PtFindClassStyle(), PtGetStyleMember(), PtSetClassStyleMethods(), PtSetStyleMember(), PtSetStyleMembers(), PtSetWidgetStyle()
Pt_ARG_STYLE resource of PtBasic in the Photon Widget Reference
"Widget Styles" in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

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