1Prima::Const(3)       User Contributed Perl Documentation      Prima::Const(3)
2
3
4

NAME

6       Prima::Const - predefined constants
7

DESCRIPTION

9       "Prima::Const" and Prima::Classes is a minimal set of perl modules
10       needed for the toolkit. Since the module provides bindings for the core
11       constants, it is required to be included in every Prima-related module
12       and program.
13
14       The constants are assembled under the top-level package names, with no
15       "Prima::" prefix. This violates the perl guidelines about package
16       naming, however, it was considered way too inconvenient to prefix every
17       constant with "Prima::" string.
18
19       This document provides description of all core-coded constants. The
20       constants are also described in the articles together with the
21       corresponding methods and properties. For example, "nt" constants are
22       also described in "Flow" in Prima::Object article.
23

API

25   am::  - Prima::Icon auto masking
26       See also "autoMasking" in Prima::Image
27
28               am::None           - no mask update performed
29               am::MaskColor      - mask update based on Prima::Icon::maskColor property
30               am::MaskIndex      - mask update based on Prima::Icon::maskIndex property
31               am::Auto           - mask update based on corner pixel values
32
33   apc:: - OS type
34       See "get_system_info" in Prima::Application
35
36               apc::Win32
37               apc::Unix
38
39   bi::  - border icons
40       See "borderIcons" in Prima::Window
41
42               bi::SystemMenu  - system menu button and/or close button
43                                 ( usually with icon ) is shown
44               bi::Minimize    - minimize button
45               bi::Maximize    - maximize ( and eventual restore )
46               bi::TitleBar    - window title
47               bi::All         - all of the above
48
49   bs::  - border styles
50       See "borderStyle" in Prima::Window
51
52               bs::None      - no border
53               bs::Single    - thin border
54               bs::Dialog    - thick border
55               bs::Sizeable  - thick border with interactive resize capabilities
56
57   ci::  - color indices
58       See "colorIndex" in Prima::Widget
59
60               ci::NormalText or ci::Fore
61               ci::Normal or ci::Back
62               ci::HiliteText
63               ci::Hilite
64               ci::DisabledText
65               ci::Disabled
66               ci::Light3DColor
67               ci::Dark3DColor
68               ci::MaxId
69
70   cl:: - colors
71       See "colorIndex" in Prima::Widget
72
73       Direct color constants
74                   cl::Black
75                   cl::Blue
76                   cl::Green
77                   cl::Cyan
78                   cl::Red
79                   cl::Magenta
80                   cl::Brown
81                   cl::LightGray
82                   cl::DarkGray
83                   cl::LightBlue
84                   cl::LightGreen
85                   cl::LightCyan
86                   cl::LightRed
87                   cl::LightMagenta
88                   cl::Yellow
89                   cl::White
90                   cl::Gray
91
92       Indirect color constants
93                   cl::NormalText, cl::Fore
94                   cl::Normal, cl::Back
95                   cl::HiliteText
96                   cl::Hilite
97                   cl::DisabledText
98                   cl::Disabled
99                   cl::Light3DColor
100                   cl::Dark3DColor
101                   cl::MaxSysColor
102
103       Special constants
104           See "Colors" in Prima::gp_problems
105
106                   cl::Set      - logical all-1 color
107                   cl::Clear    - logical all-0 color
108                   cl::Invalid  - invalid color value
109                   cl::SysFlag  - indirect color constant bit set
110                   cl::SysMask  - indirect color constant bit clear mask
111
112   cm::  - commands
113       Keyboard and mouse commands
114           See "key_down" in Prima::Widget, "mouse_down" in Prima::Widget
115
116                   cm::KeyDown
117                   cm::KeyUp
118                   cm::MouseDown
119                   cm::MouseUp
120                   cm::MouseClick
121                   cm::MouseWheel
122                   cm::MouseMove
123                   cm::MouseEnter
124                   cm::MouseLeave
125
126       Internal commands ( used in core only or not used at all )
127                   cm::Close
128                   cm::Create
129                   cm::Destroy
130                   cm::Hide
131                   cm::Show
132                   cm::ReceiveFocus
133                   cm::ReleaseFocus
134                   cm::Paint
135                   cm::Repaint
136                   cm::Size
137                   cm::Move
138                   cm::ColorChanged
139                   cm::ZOrderChanged
140                   cm::Enable
141                   cm::Disable
142                   cm::Activate
143                   cm::Deactivate
144                   cm::FontChanged
145                   cm::WindowState
146                   cm::Timer
147                   cm::Click
148                   cm::CalcBounds
149                   cm::Post
150                   cm::Popup
151                   cm::Execute
152                   cm::Setup
153                   cm::Hint
154                   cm::DragDrop
155                   cm::DragOver
156                   cm::EndDrag
157                   cm::Menu
158                   cm::EndModal
159                   cm::MenuCmd
160                   cm::TranslateAccel
161                   cm::DelegateKey
162
163   cr::  - pointer cursor resources
164       See "pointerType" in Prima::Widget
165
166               cr::Default                 same pointer type as owner's
167               cr::Arrow                   arrow pointer
168               cr::Text                    text entry cursor-like pointer
169               cr::Wait                    hourglass
170               cr::Size                    general size action pointer
171               cr::Move                    general move action pointer
172               cr::SizeWest, cr::SizeW     right-move action pointer
173               cr::SizeEast, cr::SizeE     left-move action pointer
174               cr::SizeWE                  general horizontal-move action pointer
175               cr::SizeNorth, cr::SizeN    up-move action pointer
176               cr::SizeSouth, cr::SizeS    down-move action pointer
177               cr::SizeNS                  general vertical-move action pointer
178               cr::SizeNW                  up-right move action pointer
179               cr::SizeSE                  down-left move action pointer
180               cr::SizeNE                  up-left move action pointer
181               cr::SizeSW                  down-right move action pointer
182               cr::Invalid                 invalid action pointer
183               cr::User                    user-defined icon
184
185   dbt::  - device bitmap types
186               dbt::Bitmap                 monochrome 1 bit bitmap
187               dbt::Pixmap                 bitmap compatible with display format
188               dbt::Layered                bitmap compatible with display format with alpha channel
189
190   dt::  - drive types
191       See "query_drive_type" in Prima::Utils
192
193               dt::None
194               dt::Unknown
195               dt::Floppy
196               dt::HDD
197               dt::Network
198               dt::CDROM
199               dt::Memory
200
201   dt::  - Prima::Drawable::draw_text constants
202               dt::Left              - text is aligned to the left boundary
203               dt::Right             - text is aligned to the right boundary
204               dt::Center            - text is aligned horizontally in center
205               dt::Top               - text is aligned to the upper boundary
206               dt::Bottom            - text is aligned to the lower boundary
207               dt::VCenter           - text is aligned vertically in center
208               dt::DrawMnemonic      - tilde-escapement and underlining is used
209               dt::DrawSingleChar    - sets tw::BreakSingle option to
210                                       Prima::Drawable::text_wrap call
211               dt::NewLineBreak      - sets tw::NewLineBreak option to
212                                       Prima::Drawable::text_wrap call
213               dt::SpaceBreak        - sets tw::SpaceBreak option to
214                                       Prima::Drawable::text_wrap call
215               dt::WordBreak         - sets tw::WordBreak option to
216                                       Prima::Drawable::text_wrap call
217               dt::ExpandTabs        - performs tab character ( \t ) expansion
218               dt::DrawPartial       - draws the last line, if it is visible partially
219               dt::UseExternalLeading- text lines positioned vertically with respect to
220                                       the font external leading
221               dt::UseClip           - assign ::clipRect property to the boundary rectangle
222               dt::QueryLinesDrawn   - calculates and returns number of lines drawn
223                                       ( contrary to dt::QueryHeight )
224               dt::QueryHeight       - if set, calculates and returns vertical extension
225                                       of the lines drawn
226               dt::NoWordWrap        - performs no word wrapping by the width of the boundaries
227               dt::WordWrap          - performs word wrapping by the width of the boundaries
228               dt::BidiText          - use bidirectional formatting, if available
229               dt::Default           - dt::NewLineBreak|dt::WordBreak|dt::ExpandTabs|
230                                       dt::UseExternalLeading
231
232   fdo:: - find / replace dialog options
233       See Prima::EditDialog
234
235               fdo::MatchCase
236               fdo::WordsOnly
237               fdo::RegularExpression
238               fdo::BackwardSearch
239               fdo::ReplacePrompt
240
241   fds:: - find / replace dialog scope type
242       See Prima::EditDialog
243
244               fds::Cursor
245               fds::Top
246               fds::Bottom
247
248   fe::  - file events constants
249       See Prima::File
250
251               fe::Read
252               fe::Write
253               fe::Exception
254
255   fm::  - fill modes
256       See "fillMode" in Prima::Drawable
257
258               fp::Alternate
259               fp::Winding
260               fp::Overlay
261
262   fp::  - standard fill pattern indices
263       See "fillPattern" in Prima::Drawable
264
265               fp::Empty
266               fp::Solid
267               fp::Line
268               fp::LtSlash
269               fp::Slash
270               fp::BkSlash
271               fp::LtBkSlash
272               fp::Hatch
273               fp::XHatch
274               fp::Interleave
275               fp::WideDot
276               fp::CloseDot
277               fp::SimpleDots
278               fp::Borland
279               fp::Parquet
280
281   fp::  - font pitches
282       See "pitch" in Prima::Drawable
283
284               fp::Default
285               fp::Fixed
286               fp::Variable
287
288   fr::  - fetch resource constants
289       See "fetch_resource" in Prima::Widget
290
291               fr::Color
292               fr::Font
293               fs::String
294
295   fs::  - font styles
296       See "style" in Prima::Drawable
297
298               fs::Normal
299               fs::Bold
300               fs::Thin
301               fs::Italic
302               fs::Underlined
303               fs::StruckOut
304               fs::Outline
305
306   fw::  - font weights
307       See "weight" in Prima::Drawable
308
309               fw::UltraLight
310               fw::ExtraLight
311               fw::Light
312               fw::SemiLight
313               fw::Medium
314               fw::SemiBold
315               fw::Bold
316               fw::ExtraBold
317               fw::UltraBold
318
319   ggo::  - glyph outline commands
320               ggo::Move
321               ggo::Line
322               ggo::Conic
323               ggo::Cubic
324
325       See also "render_glyph" in Prima::Drawable
326
327   gm::  - grow modes
328       See "growMode" in Prima::Widget
329
330       Basic constants
331                   gm::GrowLoX     widget's left side is kept in constant
332                                   distance from owner's right side
333                   gm::GrowLoY     widget's bottom side is kept in constant
334                                   distance from owner's top side
335                   gm::GrowHiX     widget's right side is kept in constant
336                                   distance from owner's right side
337                   gm::GrowHiY     widget's top side is kept in constant
338                                   distance from owner's top side
339                   gm::XCenter     widget is kept in center on its owner's
340                                   horizontal axis
341                   gm::YCenter     widget is kept in center on its owner's
342                                   vertical axis
343                   gm::DontCare    widgets origin is maintained constant relative
344                                   to the screen
345
346       Derived or aliased constants
347                   gm::GrowAll      gm::GrowLoX|gm::GrowLoY|gm::GrowHiX|gm::GrowHiY
348                   gm::Center       gm::XCenter|gm::YCenter
349                   gm::Client       gm::GrowHiX|gm::GrowHiY
350                   gm::Right        gm::GrowLoX|gm::GrowHiY
351                   gm::Left         gm::GrowHiY
352                   gm::Floor        gm::GrowHiX
353
354   gui:: - GUI types
355       See "get_system_info" in Prima::Application
356
357               gui::Default
358               gui::PM
359               gui::Windows
360               gui::XLib
361               gui::GTK
362
363   le::  - line end styles
364       See "lineEnd" in Prima::Drawable
365
366               le::Flat
367               le::Square
368               le::Round
369
370   lj::  - line join styles
371       See "lineJoin" in Prima::Drawable
372
373               lj::Round
374               lj::Bevel
375               lj::Miter
376
377   lp::  - predefined line pattern styles
378       See "linePattern" in Prima::Drawable
379
380               lp::Null           #    ""              /*              */
381               lp::Solid          #    "\1"            /* ___________  */
382               lp::Dash           #    "\x9\3"         /* __ __ __ __  */
383               lp::LongDash       #    "\x16\6"        /* _____ _____  */
384               lp::ShortDash      #    "\3\3"          /* _ _ _ _ _ _  */
385               lp::Dot            #    "\1\3"          /* . . . . . .  */
386               lp::DotDot         #    "\1\1"          /* ............ */
387               lp::DashDot        #    "\x9\6\1\3"     /* _._._._._._  */
388               lp::DashDotDot     #    "\x9\3\1\3\1\3" /* _.._.._.._.. */
389
390   im::  - image types
391       See "type" in Prima::Image.
392
393       Bit depth constants
394                   im::bpp1
395                   im::bpp4
396                   im::bpp8
397                   im::bpp16
398                   im::bpp24
399                   im::bpp32
400                   im::bpp64
401                   im::bpp128
402
403       Pixel format constants
404                   im::Color
405                   im::GrayScale
406                   im::RealNumber
407                   im::ComplexNumber
408                   im::TrigComplexNumber
409                   im::SignedInt
410
411       Mnemonic image types
412                   im::Mono          - im::bpp1
413                   im::BW            - im::bpp1 | im::GrayScale
414                   im::16            - im::bpp4
415                   im::Nibble        - im::bpp4
416                   im::256           - im::bpp8
417                   im::RGB           - im::bpp24
418                   im::Triple        - im::bpp24
419                   im::Byte          - gray 8-bit unsigned integer
420                   im::Short         - gray 16-bit unsigned integer
421                   im::Long          - gray 32-bit unsigned integer
422                   im::Float         - float
423                   im::Double        - double
424                   im::Complex       - dual float
425                   im::DComplex      - dual double
426                   im::TrigComplex   - dual float
427                   im::TrigDComplex  - dual double
428
429       Extra formats
430                   im::fmtBGR
431                   im::fmtRGBI
432                   im::fmtIRGB
433                   im::fmtBGRI
434                   im::fmtIBGR
435
436       Masks
437                   im::BPP      - bit depth constants
438                   im::Category - category constants
439                   im::FMT      - extra format constants
440
441   ict:: - image conversion types
442       See "conversion" in Prima::Image.
443
444               ict::None            - no dithering, with static palette or palette optimized by source palette
445               ict::Posterization   - no dithering, with optimized palette by source pixels
446               ict::Ordered         - 8x8 ordered halftone dithering
447               ict::ErrorDiffusion  - error diffusion dithering with static palette
448               ict::Optimized       - error diffusion dithering with optimized palette
449
450       Their values are combinations of "ictp::" and "ictd::" constants, see
451       below.
452
453   ictd:: - image conversion types, dithering
454       These constants select color correction (dithering) algorithm when
455       downsampling an image
456
457               ictd::None            - no dithering, pure colors only
458               ictd::Ordered         - 8x8 ordered halftone dithering (checkerboard)
459               ictd::ErrorDiffusion  - error diffusion dithering (2/5 down, 2/5 right, 1/5 down/right)
460
461   ictp:: - image conversion types, palette optimization
462       These constants select how the target palette is made up when
463       downsampling an image.
464
465               ictp::Unoptimized  - use whatever color mapping method is fastest,
466                                    image quality can be severely compromized
467               ictp::Cubic        - use static cubic palette; a bit slower,
468                                    guaranteed mediocre quality
469               ictp::Optimized    - collect available colors in the image;
470                                    slowest, gives best results
471
472       Not all combination of ictp and ictd constants are valid
473
474   is::  - image statistics indices
475       See "stats" in Prima::Image.
476
477               is::RangeLo  - minimum pixel value
478               is::RangeHi  - maximum pixel value
479               is::Mean     - mean value
480               is::Variance - variance
481               is::StdDev   - standard deviation
482               is::Sum      - sum of pixel values
483               is::Sum2     - sum of squares of pixel values
484
485   kb::  - keyboard virtual codes
486       See also "KeyDown" in Prima::Widget.
487
488       Modificator keys
489                   kb::ShiftL   kb::ShiftR   kb::CtrlL      kb::CtrlR
490                   kb::AltL     kb::AltR     kb::MetaL      kb::MetaR
491                   kb::SuperL   kb::SuperR   kb::HyperL     kb::HyperR
492                   kb::CapsLock kb::NumLock  kb::ScrollLock kb::ShiftLock
493
494       Keys with character code defined
495                   kb::Backspace  kb::Tab    kb::Linefeed   kb::Enter
496                   kb::Return     kb::Escape kb::Esc        kb::Space
497
498       Function keys
499                   kb::F1 .. kb::F30
500                   kb::L1 .. kb::L10
501                   kb::R1 .. kb::R10
502
503       Other
504                   kb::Clear    kb::Pause   kb::SysRq  kb::SysReq
505                   kb::Delete   kb::Home    kb::Left   kb::Up
506                   kb::Right    kb::Down    kb::PgUp   kb::Prior
507                   kb::PageUp   kb::PgDn    kb::Next   kb::PageDown
508                   kb::End      kb::Begin   kb::Select kb::Print
509                   kb::PrintScr kb::Execute kb::Insert kb::Undo
510                   kb::Redo     kb::Menu    kb::Find   kb::Cancel
511                   kb::Help     kb::Break   kb::BackTab
512
513       Masking constants
514                   kb::CharMask - character codes
515                   kb::CodeMask - virtual key codes ( all other kb:: values )
516                   kb::ModMask  - km:: values
517
518   km::  - keyboard modifiers
519       See also "KeyDown" in Prima::Widget.
520
521               km::Shift
522               km::Ctrl
523               km::Alt
524               km::KeyPad
525               km::DeadKey
526               km::Unicode
527
528   mt:: - modality types
529       See "get_modal" in Prima::Window, "get_modal_window" in Prima::Window
530
531               mt::None
532               mt::Shared
533               mt::Exclusive
534
535   nt::  - notification types
536       Used in "Prima::Component::notification_types" to describe event flow.
537
538       See also "Flow" in Prima::Object.
539
540       Starting point constants
541                   nt::PrivateFirst
542                   nt::CustomFirst
543
544       Direction constants
545                   nt::FluxReverse
546                   nt::FluxNormal
547
548       Complexity constants
549                   nt::Single
550                   nt::Multiple
551                   nt::Event
552
553       Composite constants
554                   nt::Default       ( PrivateFirst | Multiple | FluxReverse)
555                   nt::Property      ( PrivateFirst | Single   | FluxNormal )
556                   nt::Request       ( PrivateFirst | Event    | FluxNormal )
557                   nt::Notification  ( CustomFirst  | Multiple | FluxReverse )
558                   nt::Action        ( CustomFirst  | Single   | FluxReverse )
559                   nt::Command       ( CustomFirst  | Event    | FluxReverse )
560
561   mb::  - mouse buttons
562       See also "MouseDown" in Prima::Widget.
563
564               mb::b1 or mb::Left
565               mb::b2 or mb::Middle
566               mb::b3 or mb::Right
567               mb::b4
568               mb::b5
569               mb::b6
570               mb::b7
571               mb::b8
572
573   mb:: - message box constants
574       Message box and modal result button commands
575           See also "modalResult" in Prima::Window, "modalResult" in
576           Prima::Button.
577
578                   mb::OK, mb::Ok
579                   mb::Cancel
580                   mb::Yes
581                   mb::No
582                   mb::Abort
583                   mb::Retry
584                   mb::Ignore
585                   mb::Help
586
587       Message box composite ( multi-button ) constants
588                   mb::OKCancel, mb::OkCancel
589                   mb::YesNo
590                   mb::YesNoCancel
591
592       Message box icon and bell constants
593                   mb::Error
594                   mb::Warning
595                   mb::Information
596                   mb::Question
597
598   ps:: - paint states
599               ps::Disabled    - can neither draw, nor get/set graphical properties on an object
600               ps::Enabled     - can both draw and get/set graphical properties on an object
601               ps::Information - can only get/set graphical properties on an object
602
603       For brevity, ps::Disabled is equal to 0 so this allows for simple
604       boolean testing whether one can get/set graphical properties on an
605       object.
606
607       See "get_paint_state" in Drawable.
608
609   rgn:: - result of Prima::Region.rect_inside
610               rgn::Inside
611               rgn::Outside    - rectangle is fully outside the region
612               rgn::Partially
613
614   rgnop:: - Prima::Region.combine set operations
615               rgnop::Copy
616               rgnop::Intersect
617               rgnop::Union
618               rgnop::Xor
619               rgnop::Diff
620
621   rop:: - raster operation codes
622       See "Raster operations" in Prima::Drawable
623
624               rop::Blackness      #   = 0
625               rop::NotOr          #   = !(src | dest)
626               rop::NotSrcAnd      #  &= !src
627               rop::NotPut         #   = !src
628               rop::NotDestAnd     #   = !dest & src
629               rop::Invert         #   = !dest
630               rop::XorPut         #  ^= src
631               rop::NotAnd         #   = !(src & dest)
632               rop::AndPut         #  &= src
633               rop::NotXor         #   = !(src ^ dest)
634               rop::NotSrcXor      #     alias for rop::NotXor
635               rop::NotDestXor     #     alias for rop::NotXor
636               rop::NoOper         #   = dest
637               rop::NotSrcOr       #  |= !src
638               rop::CopyPut        #   = src
639               rop::NotDestOr      #   = !dest | src
640               rop::OrPut          #  |= src
641               rop::Whiteness      #   = 1
642
643       12 Porter-Duff operators
644
645               rop::Clear       # = 0
646               rop::Xor         # = src ( 1 - dstA ) + dst ( 1 - srcA )
647               rop::SrcOver     # = src + dst (1 - srcA)
648               rop::DstOver     # = dst + src (1 - dstA)
649               rop::SrcCopy     # = src
650               rop::DstCopy     # = dst
651               rop::SrcIn       # = src dstA
652               rop::DstIn       # = dst srcA
653               rop::SrcOut      # = src ( 1 - dstA )
654               rop::DstOut      # = dst ( 1 - srcA )
655               rop::SrcAtop     # = src dstA + dst ( 1 - srcA )
656               rop::DstAtop     # = dst srcA + src ( 1 - dstA )
657
658               rop::PorterDuffMask - masks out all bits but the constants above
659
660       Photoshop operators
661
662               rop::Add
663               rop::Multiply
664               rop::Screen
665               rop::Overlay
666               rop::Darken
667               rop::Lighten
668               rop::ColorDodge
669               rop::ColorBurn
670               rop::HardLight
671               rop::SoftLight
672               rop::Difference
673               rop::Exclusion
674
675       Constant alpha flags
676
677               rop::SrcAlpha
678               rop::SrcAlphaShift
679               rop::DstAlpha
680               rop::DstAlphaShift
681               rop::ConstantAlpha
682
683       Others
684
685               rop::AlphaCopy
686
687   sbmp:: - system bitmaps indices
688       See also Prima::StdBitmap.
689
690               sbmp::Logo
691               sbmp::CheckBoxChecked
692               sbmp::CheckBoxCheckedPressed
693               sbmp::CheckBoxUnchecked
694               sbmp::CheckBoxUncheckedPressed
695               sbmp::RadioChecked
696               sbmp::RadioCheckedPressed
697               sbmp::RadioUnchecked
698               sbmp::RadioUncheckedPressed
699               sbmp::Warning
700               sbmp::Information
701               sbmp::Question
702               sbmp::OutlineCollapse
703               sbmp::OutlineExpand
704               sbmp::Error
705               sbmp::SysMenu
706               sbmp::SysMenuPressed
707               sbmp::Max
708               sbmp::MaxPressed
709               sbmp::Min
710               sbmp::MinPressed
711               sbmp::Restore
712               sbmp::RestorePressed
713               sbmp::Close
714               sbmp::ClosePressed
715               sbmp::Hide
716               sbmp::HidePressed
717               sbmp::DriveUnknown
718               sbmp::DriveFloppy
719               sbmp::DriveHDD
720               sbmp::DriveNetwork
721               sbmp::DriveCDROM
722               sbmp::DriveMemory
723               sbmp::GlyphOK
724               sbmp::GlyphCancel
725               sbmp::SFolderOpened
726               sbmp::SFolderClosed
727               sbmp::Last
728
729   sv::  - system value indices
730       See also "get_system_value" in Prima::Application
731
732               sv::YMenu            - height of menu bar in top-level windows
733               sv::YTitleBar        - height of title bar in top-level windows
734               sv::XIcon            - width and height of main icon dimensions,
735               sv::YIcon              acceptable by the system
736               sv::XSmallIcon       - width and height of alternate icon dimensions,
737               sv::YSmallIcon         acceptable by the system
738               sv::XPointer         - width and height of mouse pointer icon
739               sv::YPointer           acceptable by the system
740               sv::XScrollbar       - width of the default vertical scrollbar
741               sv::YScrollbar       - height of the default horizontal scrollbar
742               sv::XCursor          - width of the system cursor
743               sv::AutoScrollFirst  - the initial and the repetitive
744               sv::AutoScrollNext     scroll timeouts
745               sv::InsertMode       - the system insert mode
746               sv::XbsNone          - widths and heights of the top-level window
747               sv::YbsNone            decorations, correspondingly, with borderStyle
748               sv::XbsSizeable        bs::None, bs::Sizeable, bs::Single, and
749               sv::YbsSizeable        bs::Dialog.
750               sv::XbsSingle
751               sv::YbsSingle
752               sv::XbsDialog
753               sv::YbsDialog
754               sv::MousePresent     - 1 if the mouse is present, 0 otherwise
755               sv::MouseButtons     - number of the mouse buttons
756               sv::WheelPresent     - 1 if the mouse wheel is present, 0 otherwise
757               sv::SubmenuDelay     - timeout ( in ms ) before a sub-menu shows on
758                                       an implicit selection
759               sv::FullDrag         - 1 if the top-level windows are dragged dynamically,
760                                      0 - with marquee mode
761               sv::DblClickDelay    - mouse double-click timeout in milliseconds
762               sv::ShapeExtension   - 1 if Prima::Widget::shape functionality is supported,
763                                      0 otherwise
764               sv::ColorPointer     - 1 if system accepts color pointer icons.
765               sv::CanUTF8_Input    - 1 if system can generate key codes in unicode
766               sv::CanUTF8_Output   - 1 if system can output utf8 text
767               sv::CompositeDisplay - 1 if system uses double-buffering and alpha composition for the desktop,
768                                      0 if it doesn't, -1 if unknown
769               sv::LayeredWidgets   - 1 if system supports layering
770               sv::DWM              - 1 if system supports DWM API
771               sv::FixedPointerSize - 0 if system doesn't support arbitrary sized pointers and will resize custom icons to the system size
772
773   ta::  - alignment constants
774       Used in: Prima::InputLine, Prima::ImageViewer, Prima::Label.
775
776               ta::Left
777               ta::Right
778               ta::Center
779
780               ta::Top
781               ta::Bottom
782               ta::Middle
783
784   tw::  - text wrapping constants
785       See "text_wrap" in Prima::Drawable
786
787               tw::CalcMnemonic          - calculates tilde underline position
788               tw::CollapseTilde         - removes escaping tilde from text
789               tw::CalcTabs              - wraps text with respect to tab expansion
790               tw::ExpandTabs            - expands tab characters
791               tw::BreakSingle           - determines if text is broken to single
792                                           characters when text cannot be fit
793               tw::NewLineBreak          - breaks line on newline characters
794               tw::SpaceBreak            - breaks line on space or tab characters
795               tw::ReturnChunks          - returns wrapped text chunks
796               tw::ReturnLines           - returns positions and lengths of wrapped
797                                           text chunks
798               tw::WordBreak             - defines if text break by width goes by the
799                                           characters or by the words
800               tw::ReturnFirstLineLength - returns length of the first wrapped line
801               tw::Default               - tw::NewLineBreak | tw::CalcTabs | tw::ExpandTabs |
802                                           tw::ReturnLines | tw::WordBreak
803
804   wc::  - widget classes
805       See "widgetClass" in Prima::Widget
806
807               wc::Undef
808               wc::Button
809               wc::CheckBox
810               wc::Combo
811               wc::Dialog
812               wc::Edit
813               wc::InputLine
814               wc::Label
815               wc::ListBox
816               wc::Menu
817               wc::Popup
818               wc::Radio
819               wc::ScrollBar
820               wc::Slider
821               wc::Widget, wc::Custom
822               wc::Window
823               wc::Application
824
825   ws::  - window states
826       See "windowState" in Prima::Window
827
828               ws::Normal
829               ws::Minimized
830               ws::Maximized
831

AUTHOR

833       Dmitry Karasik, <dmitry@karasik.eu.org>.
834

SEE ALSO

836       Prima, Prima::Classes
837
838
839
840perl v5.30.1                      2020-01-30                   Prima::Const(3)
Impressum