
Next: wxSnip::snipClass
Up: wxSnip: wxObject
Previous: wxSnip::count
short flags
Flags defining the behavior of the snip. It is a combination of
any of these flags:
- wxSNIP_IS_TEXT -- this is a text snip derived from wxTextSnip; don't
set this flag yourself
- wxSNIP_CAN_APPEND -- this snip can be combined with another snip of the same type
- wxSNIP_INVISIBLE -- the user doesn't ``see'' this snip; e.g.: a carriage return
- wxSNIP_HARD_NEWLINE -- a newline must follow the snip
- wxSNIP_NEWLINE -- a newline currently follows the snip; only an owning buffer should set this flag
- wxSNIP_HANDLES_EVENTS -- this snip can handle keyboard and mouse events
- wxSNIP_WIDTH_DEPENDS_ON_X -- this snip's display width depends on the snip's x-location within the buffer; e.g.: tab
- wxSNIP_HEIGHT_DEPENDS_ON_Y -- this snip's display height depends on the snip's y-location within the buffer
- wxSNIP_WIDTH_DEPENDS_ON_Y -- this snip's display width depends on the snip's y-location within the buffer
- wxSNIP_HEIGHT_DEPENDS_ON_X -- this snip's display height depends on the snip's x-location within the buffer
- wxSNIP_ANCHORED -- this snip cannot be dragged in a pasteboard buffer, even if dragging is turned on
- wxSNIP_USES_BUFFER_PATH -- this snip uses its buffer's pathname and should be notified when the name changes;
notification is given as a redundant call to SetMedia
Some flags may be private and not listed here. The flags should always
be set by calling SetFlags. This will insure that private flags
are not accidentally changed.
If this value changes, then the snip should call its administrator's
Resized method. (This is done automatically by SetFlags.)
PLT