![]() |
![]() |
![]() |
![]() |
Add a style to a widget class
int PtAddClassStyle( PtWidgetClass_t * const wclass, PtWidgetClassStyle_t *style );
ph
This function adds the style described by style to the widget class identified by wclass.
A style is a collection of override methods that can change how a widget looks and behaves. Styles can also add widget resources.
The index of the style, or -1 if it couldn't be added.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
Pt_ARG_STYLE resource of PtBasic in the Photon Widget Reference
![]() |
![]() |
![]() |
![]() |