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   fp::  - standard fill pattern indices
256       See "fillPattern" in Prima::Drawable
257
258               fp::Empty
259               fp::Solid
260               fp::Line
261               fp::LtSlash
262               fp::Slash
263               fp::BkSlash
264               fp::LtBkSlash
265               fp::Hatch
266               fp::XHatch
267               fp::Interleave
268               fp::WideDot
269               fp::CloseDot
270               fp::SimpleDots
271               fp::Borland
272               fp::Parquet
273
274   fp::  - font pitches
275       See "pitch" in Prima::Drawable
276
277               fp::Default
278               fp::Fixed
279               fp::Variable
280
281   fr::  - fetch resource constants
282       See "fetch_resource" in Prima::Widget
283
284               fr::Color
285               fr::Font
286               fs::String
287
288   fs::  - font styles
289       See "style" in Prima::Drawable
290
291               fs::Normal
292               fs::Bold
293               fs::Thin
294               fs::Italic
295               fs::Underlined
296               fs::StruckOut
297               fs::Outline
298
299   fw::  - font weights
300       See "weight" in Prima::Drawable
301
302               fw::UltraLight
303               fw::ExtraLight
304               fw::Light
305               fw::SemiLight
306               fw::Medium
307               fw::SemiBold
308               fw::Bold
309               fw::ExtraBold
310               fw::UltraBold
311
312   gm::  - grow modes
313       See "growMode" in Prima::Widget
314
315       Basic constants
316                   gm::GrowLoX     widget's left side is kept in constant
317                                   distance from owner's right side
318                   gm::GrowLoY     widget's bottom side is kept in constant
319                                   distance from owner's top side
320                   gm::GrowHiX     widget's right side is kept in constant
321                                   distance from owner's right side
322                   gm::GrowHiY     widget's top side is kept in constant
323                                   distance from owner's top side
324                   gm::XCenter     widget is kept in center on its owner's
325                                   horizontal axis
326                   gm::YCenter     widget is kept in center on its owner's
327                                   vertical axis
328                   gm::DontCare    widgets origin is maintained constant relative
329                                   to the screen
330
331       Derived or aliased constants
332                   gm::GrowAll      gm::GrowLoX|gm::GrowLoY|gm::GrowHiX|gm::GrowHiY
333                   gm::Center       gm::XCenter|gm::YCenter
334                   gm::Client       gm::GrowHiX|gm::GrowHiY
335                   gm::Right        gm::GrowLoX|gm::GrowHiY
336                   gm::Left         gm::GrowHiY
337                   gm::Floor        gm::GrowHiX
338
339   gui:: - GUI types
340       See "get_system_info" in Prima::Application
341
342               gui::Default
343               gui::PM
344               gui::Windows
345               gui::XLib
346               gui::GTK
347
348   le::  - line end styles
349       See "lineEnd" in Prima::Drawable
350
351               le::Flat
352               le::Square
353               le::Round
354
355   lj::  - line join styles
356       See "lineJoin" in Prima::Drawable
357
358               lj::Round
359               lj::Bevel
360               lj::Miter
361
362   lp::  - predefined line pattern styles
363       See "linePattern" in Prima::Drawable
364
365               lp::Null           #    ""              /*              */
366               lp::Solid          #    "\1"            /* ___________  */
367               lp::Dash           #    "\x9\3"         /* __ __ __ __  */
368               lp::LongDash       #    "\x16\6"        /* _____ _____  */
369               lp::ShortDash      #    "\3\3"          /* _ _ _ _ _ _  */
370               lp::Dot            #    "\1\3"          /* . . . . . .  */
371               lp::DotDot         #    "\1\1"          /* ............ */
372               lp::DashDot        #    "\x9\6\1\3"     /* _._._._._._  */
373               lp::DashDotDot     #    "\x9\3\1\3\1\3" /* _.._.._.._.. */
374
375   im::  - image types
376       See "type" in Prima::Image.
377
378       Bit depth constants
379                   im::bpp1
380                   im::bpp4
381                   im::bpp8
382                   im::bpp16
383                   im::bpp24
384                   im::bpp32
385                   im::bpp64
386                   im::bpp128
387
388       Pixel format constants
389                   im::Color
390                   im::GrayScale
391                   im::RealNumber
392                   im::ComplexNumber
393                   im::TrigComplexNumber
394                   im::SignedInt
395
396       Mnemonic image types
397                   im::Mono          - im::bpp1
398                   im::BW            - im::bpp1 | im::GrayScale
399                   im::16            - im::bpp4
400                   im::Nibble        - im::bpp4
401                   im::256           - im::bpp8
402                   im::RGB           - im::bpp24
403                   im::Triple        - im::bpp24
404                   im::Byte          - gray 8-bit unsigned integer
405                   im::Short         - gray 16-bit unsigned integer
406                   im::Long          - gray 32-bit unsigned integer
407                   im::Float         - float
408                   im::Double        - double
409                   im::Complex       - dual float
410                   im::DComplex      - dual double
411                   im::TrigComplex   - dual float
412                   im::TrigDComplex  - dual double
413
414       Extra formats
415                   im::fmtBGR
416                   im::fmtRGBI
417                   im::fmtIRGB
418                   im::fmtBGRI
419                   im::fmtIBGR
420
421       Masks
422                   im::BPP      - bit depth constants
423                   im::Category - category constants
424                   im::FMT      - extra format constants
425
426   ict:: - image conversion types
427       See "conversion" in Prima::Image.
428
429               ict::None            - no dithering, with static palette or palette optimized by source palette
430               ict::Posterization   - no dithering, with optimized palette by source pixels
431               ict::Ordered         - 8x8 ordered halftone dithering
432               ict::ErrorDiffusion  - error diffusion dithering with static palette
433               ict::Optimized       - error diffusion dithering with optimized palette
434
435       Their values are combinations of "ictp::" and "ictd::" constants, see
436       below.
437
438   ictd:: - image conversion types, dithering
439       These constants select color correction (dithering) algorithm when
440       downsampling an image
441
442               ictd::None            - no dithering, pure colors only
443               ictd::Ordered         - 8x8 ordered halftone dithering (checkerboard)
444               ictd::ErrorDiffusion  - error diffusion dithering (2/5 down, 2/5 right, 1/5 down/right)
445
446   ictp:: - image conversion types, palette optimization
447       These constants select how the target palette is made up when
448       downsampling an image.
449
450               ictp::Unoptimized  - use whatever color mapping method is fastest,
451                                    image quality can be severely compromized
452               ictp::Cubic        - use static cubic palette; a bit slower,
453                                    guaranteed mediocre quality
454               ictp::Optimized    - collect available colors in the image;
455                                    slowest, gives best results
456
457       Not all combination of ictp and ictd constants are valid
458
459   is::  - image statistics indices
460       See "stats" in Prima::Image.
461
462               is::RangeLo  - minimum pixel value
463               is::RangeHi  - maximum pixel value
464               is::Mean     - mean value
465               is::Variance - variance
466               is::StdDev   - standard deviation
467               is::Sum      - sum of pixel values
468               is::Sum2     - sum of squares of pixel values
469
470   kb::  - keyboard virtual codes
471       See also "KeyDown" in Prima::Widget.
472
473       Modificator keys
474                   kb::ShiftL   kb::ShiftR   kb::CtrlL      kb::CtrlR
475                   kb::AltL     kb::AltR     kb::MetaL      kb::MetaR
476                   kb::SuperL   kb::SuperR   kb::HyperL     kb::HyperR
477                   kb::CapsLock kb::NumLock  kb::ScrollLock kb::ShiftLock
478
479       Keys with character code defined
480                   kb::Backspace  kb::Tab    kb::Linefeed   kb::Enter
481                   kb::Return     kb::Escape kb::Esc        kb::Space
482
483       Function keys
484                   kb::F1 .. kb::F30
485                   kb::L1 .. kb::L10
486                   kb::R1 .. kb::R10
487
488       Other
489                   kb::Clear    kb::Pause   kb::SysRq  kb::SysReq
490                   kb::Delete   kb::Home    kb::Left   kb::Up
491                   kb::Right    kb::Down    kb::PgUp   kb::Prior
492                   kb::PageUp   kb::PgDn    kb::Next   kb::PageDown
493                   kb::End      kb::Begin   kb::Select kb::Print
494                   kb::PrintScr kb::Execute kb::Insert kb::Undo
495                   kb::Redo     kb::Menu    kb::Find   kb::Cancel
496                   kb::Help     kb::Break   kb::BackTab
497
498       Masking constants
499                   kb::CharMask - character codes
500                   kb::CodeMask - virtual key codes ( all other kb:: values )
501                   kb::ModMask  - km:: values
502
503   km::  - keyboard modifiers
504       See also "KeyDown" in Prima::Widget.
505
506               km::Shift
507               km::Ctrl
508               km::Alt
509               km::KeyPad
510               km::DeadKey
511               km::Unicode
512
513   mt:: - modality types
514       See "get_modal" in Prima::Window, "get_modal_window" in Prima::Window
515
516               mt::None
517               mt::Shared
518               mt::Exclusive
519
520   nt::  - notification types
521       Used in "Prima::Component::notification_types" to describe event flow.
522
523       See also "Flow" in Prima::Object.
524
525       Starting point constants
526                   nt::PrivateFirst
527                   nt::CustomFirst
528
529       Direction constants
530                   nt::FluxReverse
531                   nt::FluxNormal
532
533       Complexity constants
534                   nt::Single
535                   nt::Multiple
536                   nt::Event
537
538       Composite constants
539                   nt::Default       ( PrivateFirst | Multiple | FluxReverse)
540                   nt::Property      ( PrivateFirst | Single   | FluxNormal )
541                   nt::Request       ( PrivateFirst | Event    | FluxNormal )
542                   nt::Notification  ( CustomFirst  | Multiple | FluxReverse )
543                   nt::Action        ( CustomFirst  | Single   | FluxReverse )
544                   nt::Command       ( CustomFirst  | Event    | FluxReverse )
545
546   mb::  - mouse buttons
547       See also "MouseDown" in Prima::Widget.
548
549               mb::b1 or mb::Left
550               mb::b2 or mb::Middle
551               mb::b3 or mb::Right
552               mb::b4
553               mb::b5
554               mb::b6
555               mb::b7
556               mb::b8
557
558   mb:: - message box constants
559       Message box and modal result button commands
560           See also "modalResult" in Prima::Window, "modalResult" in
561           Prima::Button.
562
563                   mb::OK, mb::Ok
564                   mb::Cancel
565                   mb::Yes
566                   mb::No
567                   mb::Abort
568                   mb::Retry
569                   mb::Ignore
570                   mb::Help
571
572       Message box composite ( multi-button ) constants
573                   mb::OKCancel, mb::OkCancel
574                   mb::YesNo
575                   mb::YesNoCancel
576
577       Message box icon and bell constants
578                   mb::Error
579                   mb::Warning
580                   mb::Information
581                   mb::Question
582
583   ps:: - paint states
584               ps::Disabled    - can neither draw, nor get/set graphical properties on an object
585               ps::Enabled     - can both draw and get/set graphical properties on an object
586               ps::Information - can only get/set graphical properties on an object
587
588       For brevity, ps::Disabled is equal to 0 so this allows for simple
589       boolean testing whether one can get/set graphical properties on an
590       object.
591
592       See "get_paint_state" in Drawable.
593
594   rgn:: - result of Prima::Region.rect_inside
595               rgn::Inside
596               rgn::Outside    - rectangle is fully outside the region
597               rgn::Partially
598
599   rgnop:: - Prima::Region.combine set operations
600               rgnop::Copy
601               rgnop::Intersect
602               rgnop::Union
603               rgnop::Xor
604               rgnop::Diff
605
606   rop:: - raster operation codes
607       See "Raster operations" in Prima::Drawable
608
609               rop::Blackness      #   = 0
610               rop::NotOr          #   = !(src | dest)
611               rop::NotSrcAnd      #  &= !src
612               rop::NotPut         #   = !src
613               rop::NotDestAnd     #   = !dest & src
614               rop::Invert         #   = !dest
615               rop::XorPut         #  ^= src
616               rop::NotAnd         #   = !(src & dest)
617               rop::AndPut         #  &= src
618               rop::NotXor         #   = !(src ^ dest)
619               rop::NotSrcXor      #     alias for rop::NotXor
620               rop::NotDestXor     #     alias for rop::NotXor
621               rop::NoOper         #   = dest
622               rop::NotSrcOr       #  |= !src
623               rop::CopyPut        #   = src
624               rop::NotDestOr      #   = !dest | src
625               rop::OrPut          #  |= src
626               rop::Whiteness      #   = 1
627
628       12 Porter-Duff operators
629
630               rop::Clear
631               rop::Xor
632               rop::SrcOver
633               rop::DstOver
634               rop::SrcCopy
635               rop::DstCopy
636               rop::SrcIn
637               rop::DstIn
638               rop::SrcOut
639               rop::DstOut
640               rop::SrcAtop
641               rop::DstAtop
642
643               rop::PorterDuffMask - masks out all bits but the constants above
644
645       Constant alpha flags
646
647               rop::SrcAlpha
648               rop::SrcAlphaShift
649               rop::DstAlpha
650               rop::DstAlphaShift
651               rop::ConstantAlpha
652
653       Others
654
655               rop::AlphaCopy
656
657   sbmp:: - system bitmaps indices
658       See also Prima::StdBitmap.
659
660               sbmp::Logo
661               sbmp::CheckBoxChecked
662               sbmp::CheckBoxCheckedPressed
663               sbmp::CheckBoxUnchecked
664               sbmp::CheckBoxUncheckedPressed
665               sbmp::RadioChecked
666               sbmp::RadioCheckedPressed
667               sbmp::RadioUnchecked
668               sbmp::RadioUncheckedPressed
669               sbmp::Warning
670               sbmp::Information
671               sbmp::Question
672               sbmp::OutlineCollapse
673               sbmp::OutlineExpand
674               sbmp::Error
675               sbmp::SysMenu
676               sbmp::SysMenuPressed
677               sbmp::Max
678               sbmp::MaxPressed
679               sbmp::Min
680               sbmp::MinPressed
681               sbmp::Restore
682               sbmp::RestorePressed
683               sbmp::Close
684               sbmp::ClosePressed
685               sbmp::Hide
686               sbmp::HidePressed
687               sbmp::DriveUnknown
688               sbmp::DriveFloppy
689               sbmp::DriveHDD
690               sbmp::DriveNetwork
691               sbmp::DriveCDROM
692               sbmp::DriveMemory
693               sbmp::GlyphOK
694               sbmp::GlyphCancel
695               sbmp::SFolderOpened
696               sbmp::SFolderClosed
697               sbmp::Last
698
699   sv::  - system value indices
700       See also "get_system_value" in Prima::Application
701
702               sv::YMenu            - height of menu bar in top-level windows
703               sv::YTitleBar        - height of title bar in top-level windows
704               sv::XIcon            - width and height of main icon dimensions,
705               sv::YIcon              acceptable by the system
706               sv::XSmallIcon       - width and height of alternate icon dimensions,
707               sv::YSmallIcon         acceptable by the system
708               sv::XPointer         - width and height of mouse pointer icon
709               sv::YPointer           acceptable by the system
710               sv::XScrollbar       - width of the default vertical scrollbar
711               sv::YScrollbar       - height of the default horizontal scrollbar
712               sv::XCursor          - width of the system cursor
713               sv::AutoScrollFirst  - the initial and the repetitive
714               sv::AutoScrollNext     scroll timeouts
715               sv::InsertMode       - the system insert mode
716               sv::XbsNone          - widths and heights of the top-level window
717               sv::YbsNone            decorations, correspondingly, with borderStyle
718               sv::XbsSizeable        bs::None, bs::Sizeable, bs::Single, and
719               sv::YbsSizeable        bs::Dialog.
720               sv::XbsSingle
721               sv::YbsSingle
722               sv::XbsDialog
723               sv::YbsDialog
724               sv::MousePresent     - 1 if the mouse is present, 0 otherwise
725               sv::MouseButtons     - number of the mouse buttons
726               sv::WheelPresent     - 1 if the mouse wheel is present, 0 otherwise
727               sv::SubmenuDelay     - timeout ( in ms ) before a sub-menu shows on
728                                       an implicit selection
729               sv::FullDrag         - 1 if the top-level windows are dragged dynamically,
730                                      0 - with marquee mode
731               sv::DblClickDelay    - mouse double-click timeout in milliseconds
732               sv::ShapeExtension   - 1 if Prima::Widget::shape functionality is supported,
733                                      0 otherwise
734               sv::ColorPointer     - 1 if system accepts color pointer icons.
735               sv::CanUTF8_Input    - 1 if system can generate key codes in unicode
736               sv::CanUTF8_Output   - 1 if system can output utf8 text
737               sv::CompositeDisplay - 1 if system uses double-buffering and alpha composition for the desktop,
738                                      0 if it doesn't, -1 if unknown
739               sv::LayeredWidgets   - 1 if system supports layering
740               sv::DWM              - 1 if system supports DWM API
741
742   ta::  - alignment constants
743       Used in: Prima::InputLine, Prima::ImageViewer, Prima::Label.
744
745               ta::Left
746               ta::Right
747               ta::Center
748
749               ta::Top
750               ta::Bottom
751               ta::Middle
752
753   tw::  - text wrapping constants
754       See "text_wrap" in Prima::Drawable
755
756               tw::CalcMnemonic          - calculates tilde underline position
757               tw::CollapseTilde         - removes escaping tilde from text
758               tw::CalcTabs              - wraps text with respect to tab expansion
759               tw::ExpandTabs            - expands tab characters
760               tw::BreakSingle           - determines if text is broken to single
761                                           characters when text cannot be fit
762               tw::NewLineBreak          - breaks line on newline characters
763               tw::SpaceBreak            - breaks line on space or tab characters
764               tw::ReturnChunks          - returns wrapped text chunks
765               tw::ReturnLines           - returns positions and lengths of wrapped
766                                           text chunks
767               tw::WordBreak             - defines if text break by width goes by the
768                                           characters or by the words
769               tw::ReturnFirstLineLength - returns length of the first wrapped line
770               tw::Default               - tw::NewLineBreak | tw::CalcTabs | tw::ExpandTabs |
771                                           tw::ReturnLines | tw::WordBreak
772
773   wc::  - widget classes
774       See "widgetClass" in Prima::Widget
775
776               wc::Undef
777               wc::Button
778               wc::CheckBox
779               wc::Combo
780               wc::Dialog
781               wc::Edit
782               wc::InputLine
783               wc::Label
784               wc::ListBox
785               wc::Menu
786               wc::Popup
787               wc::Radio
788               wc::ScrollBar
789               wc::Slider
790               wc::Widget, wc::Custom
791               wc::Window
792               wc::Application
793
794   ws::  - window states
795       See "windowState" in Prima::Window
796
797               ws::Normal
798               ws::Minimized
799               ws::Maximized
800

AUTHOR

802       Dmitry Karasik, <dmitry@karasik.eu.org>.
803

SEE ALSO

805       Prima, Prima::Classes
806
807
808
809perl v5.28.1                      2019-02-02                   Prima::Const(3)
Impressum