wxWindowDC(3erl)
okay so welcome to wxWindowDC(3erl), the Erlang Module Definition page for the wxWindowDC class β bestie, we're painting whole windows today π
β¨
π NAME π
wxWindowDC β literally the functions for the wxWindowDC class. periodt.
πΈ DESCRIPTION πΈ
If an application wishes to paint on the whole area of a window (client and decorations), it must construct a wxWindowDC. Normally you construct it as a temporary stack object; do not store a wxWindowDC object.
bestie warning: temporary stack object only. Do not store that wxWindowDC object, okay? π«Ά
To draw on a window from inside an EVT_PAINT() handler, construct a wxPaintDC object instead.
To draw on the client area of a window from outside an EVT_PAINT() handler, construct a wxClientDC object.
A wxWindowDC object is initialized to use the same font and colours as the window it is associated with.
See: wxDC, wxMemoryDC, wxPaintDC, wxClientDC, wxScreenDC.
This class is derived (and can use functions) from: wxDC.
The wxWidgets docs pointer is literally wxWidgets docs: wxWindowDC.
π¦ DATA TYPES π¦
wxWindowDC() = wx:wx_object()
π EXPORTS π
new(Window) -> wxWindowDC()β constructor vibes β¨
new(Window) -> wxWindowDC()
Types: Window = wxWindow:wxWindow()
Constructor. Pass a pointer to the window on which you wish to paint.
destroy(This :: wxWindowDC()) -> okβ destroys the object.
destroy(This :: wxWindowDC()) -> ok
Destroys the object.
okay that's the whole page! huge thanks to the wxWidgets team, version wx 2.2.2.1, and the footer label wxWindowDC(3erl) β the original footer has no date listed, so that's the entire cute sign-off π
π¦ 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