wxSystemSettings(3erl)
π NAME π
okay so this is wxSystemSettings β literally Functions for wxSystemSettings class β and the manual name is wxSystemSettings(3erl) from the Erlang Module Definition manual. bestie, we're in the right place π
πΈ DESCRIPTION πΈ
wxSystemSettings allows the application to ask for details about the system. No cap. This can include settings such as standard colours, fonts, and user interface element sizes. π
- See:
wxFont,wx_color(),wxSystemOptions - wxWidgets docs:
wxSystemSettings
π DATA TYPES π
One data type, and it's giving object-wrapper realness:
wxSystemSettings() = wx:wx_object()
π EXPORTS π
These are the exports, bestie β every single one, periodt. π
getColour(Index) -> wx:wx_colour4()
Types:
Index = wx:wx_enum()
Returns a system colour. Return: the returned colour is always valid. π
getFont(Index) -> wxFont:wxFont()
Types:
Index = wx:wx_enum()
Returns a system font. Return: the returned font is always valid. π¦
getMetric(Index) -> integer()
Types:
Index = wx:wx_enum()
Types check, bestie β that's the whole clause right there. β¨
getMetric(Index, Options :: [Option]) -> integer()
Types:
Index = wx:wx_enum()Option = {win, wxWindow:wxWindow()}
Returns the value of a system metric, or -1 if the metric is not supported on the current system. π
The value of win determines if the metric returned is a global value or a wxWindow based value, in which case it might determine the widget, the display the window is on, or something similar. The window given should be as close to the metric as possible (e.g. a wxTopLevelWindow in case of the wxSYS_CAPTION_Y metric). πͺ
index can be one of the ?wxSystemMetric enum values. win is a pointer to the window for which the metric is requested. Specifying the win parameter is encouraged, because some metrics on some ports are not supported without one, or they might be capable of reporting better values if given one. If a window does not make sense for a metric, one should still be given, as for example it might determine which display's cursor width is requested with wxSYS_CURSOR_X. π₯
getScreenType() -> wx:wx_enum()
Returns the screen type. The return value is one of the ?wxSystemScreenType enum values. π
Big periodt energy to the wxWidgets team β this page is from wx 2.2.2.1, and the footer has no separate date, so we're not inventing one, bestie. Original page name: wxSystemSettings(3erl). π
π
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms