Next: get-num-scroll-steps
Up: wx:snip
Previous: get-extent
Returns flags defining the behavior of the snip. It is a bitwise combination of
these flags:
- wx:const-snip-is-text -- this is a text snip derived from
wx:text-snip%; do not set this flag
- wx:const-snip-can-append -- this snip can be merged with another
snip of the same type
- wx:const-snip-invisible -- the user doesn't ``see'' this snip;
e.g.: a carriage return
- wx:const-snip-hard-newline -- a newline must follow the snip
- wx:const-snip-newline -- a newline currently follows the snip; only
an owning buffer should set this flag
- wx:const-snip-handles-events -- this snip can handle keyboard and mouse events
- wx:const-snip-width-depends-on-x -- this snip's display width depends on the snip's x-location within the buffer; e.g.: tab
- wx:const-snip-height-depends-on-y -- this snip's display height depends on the snip's y-location within the buffer
- wx:const-snip-width-depends-on-y -- this snip's display width depends on the snip's y-location within the buffer
- wx:const-snip-height-depends-on-x -- this snip's display height depends on the snip's x-location within the buffer
- wx:const-snip-anchored -- this snip cannot be dragged in a pasteboard buffer, even if dragging is turned on
- wx:const-snip-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
set-admin
Additional private flags are not listed here.
- (send a-wx:snip get-flags) -> small integer
PLT