Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptcolorwell.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptcolorwell.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptcolorwell.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptcolorwell.html on line 8
A rectangle that displays a color and lets you change it
PtWidget →
PtBasic →
PtContainer →
PtCompound →
PtColorSel →
PtColorWell
For more information, see the
diagram of the widget hierarchy.
<photon/PtColorWell.h>
A PtColorWell is a rectangular area that displays a color.
When you click on it, a
PtColorPatch
pops up to let you select a color to be displayed in the color well.
A PtColorWell widget.
C type
|
Pt type
|
Default |
uint16_t
|
Flag
|
Pt_CWELL_POPUP_ON_SELECT |
Pt_CWELL_POPUP_ON_MENU |
Flags that affect the appearance and behavior of the color well.
You can set this resource to any combination of these bits:
- Pt_CWELL_POPUP_ON_SELECT
- Pop up the color patch when you click on the well using the
select (usually left) button.
- Pt_CWELL_POPUP_ON_MENU
- Pop up the color patch when you click on the well using the
menu (usually right) button.
C type
|
Pt type
|
Default |
PhDim_t
|
Struct
|
{220, 120} |
A
PhDim_t
structure (see the Photon Library Reference) that defines
the dimensions of the popup color patch, in pixels.
If the widget modifies an inherited resource, the “Default
override” column indicates the new value. This modification
affects any subclasses of the widget.
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptcolorwell.html on line 811
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptcolorwell.html on line 811