DOKK / manpages / debian 12 / erlang-manpages / wxOverlay.3erl.en
wxOverlay(3erl) Erlang Module Definition wxOverlay(3erl)

wxOverlay - Functions for wxOverlay class

Creates an overlay over an existing window, allowing for manipulations like rubberbanding, etc. On wxOSX the overlay is implemented with native platform APIs, on the other platforms it is simulated using wxMemoryDC.

See: wxDCOverlay, wxDC

wxWidgets docs: wxOverlay

wxOverlay() = wx:wx_object()


new() -> wxOverlay()



destroy(This :: wxOverlay()) -> ok



reset(This) -> ok


Types:

This = wxOverlay()

Clears the overlay without restoring the former state.

To be done, for example, when the window content has been changed and repainted.

wx 2.2.1 wxWidgets team.