Name

GetDisplayInfo — Gets Display Info

Synopsis

map GetDisplayInfo (void); 

Return

map

<string any>

Description

Gets information about the current display and the UI's capabilities.

 Example in Qt:

GetDisplayInfo() -> $[
"Colors":65536,
"DefaultHeight":735,
"DefaultWidth":1176,
"Depth":16,
"HasAnimationSupport":true,
"HasFullUtf8Support":true,
"HasIconSupport":false,
"HasImageSupport":true,
"Height":1050,
"LeftHandedMouse":false,
"RichTextSupportsTable":true,
"TextMode":false,
"Width":1680
] 

 Example in ncurses:

GetDisplayInfo() -> $[
"Colors":8,
"DefaultHeight":54,
"DefaultWidth":151,
"Depth":-1,
"HasAnimationSupport":false,
"HasFullUtf8Support":true,
"HasIconSupport":false,
"HasImageSupport":false,
"Height":54,
"LeftHandedMouse":false,
"RichTextSupportsTable":false,
"TextMode":true,
"Width":151
] 

Function output might differ according to the system where called.