| Did you know ... | Search Documentation: |
| Get methods |
<-contained_in
protocol.<-contains
protocol.<-area.<-area.<-area.SDL_GetSystemTheme(). On
Windows, a contrast theme with a dark window background also counts as dark.
Fails if the platform cannot tell..theme
or, if that is @default, display<-system_theme.
library(pce_theme) applies this theme when xpce starts and,
if the class variable
is @default,
when the desktop switches between light and dark.clipboard).
Pair with display->copy
and display->selection.
->copy <-selectionwhich defaults to
primary; common alternatives are clipboard and secondary.
target is the requested MIME-like type (default text;
utf8_string for explicit UTF-8). For the clipboard, target
may also be image, returning an image from PNG, JPEG or
another image format on the clipboard, or svg, returning
the SVG document as a string. type is the xpce type the
returned value should be coerced to via type<-check.
It defaults to image for the target image and string
otherwise.
<-selection_targets <-pasteclipboard), e.g., 'text/plain;charset=utf-8'
or
'image/png'. This allows a paste command to decide what to
paste.
When a device is added or removed, e.g., a
gamepad is plugged in, the window with the keyboard focus of each frame
receives a device_added or device_removed event, whose event<-device
is the device.
.g.,
if the system has no battery.en_US or nl.->bell
plays: the file of display.bell_sound
or else a tone (see sound->tone)
of display.bell_pitch
Hz that lasts
display.bell_duration
seconds.->load
can load, e.g., wav, mp3, ogg
and flac. This is only wav if xpce is built
without SDL3_sound.->save
can write, e.g., png,
jpeg and gif. Whether webp and avif
are included depends on how SDL_image was built..g., h264, hevc, av1
and vp9. Empty if xpce is built without video support.ffmpeg, media_foundation
or
avfoundation, or @nil
if xpce is built without video support.->sdl_test_gamepad.