wxWindow
Module
Module Summary
Description
See external documentation: wxWindow.
This class is derived (and can use functions) from:
wxEvtHandler
DATA TYPES
Exports
new() -> wxWindow()
new(Parent, Id) -> wxWindow()
Equivalent to new(Parent, Id, []).
new(Parent, Id, Options::[Option]) -> wxWindow()
Types
cacheBestSize(This, Size) -> ok
Types
Types
Equivalent to center(This, []).
center(This, Options::[Option]) -> ok
Types
Equivalent to centerOnParent(This, []).
centerOnParent(This, Options::[Option]) -> ok
Types
Equivalent to centre(This, []).
centre(This, Options::[Option]) -> ok
Types
Equivalent to centreOnParent(This, []).
centreOnParent(This, Options::[Option]) -> ok
Types
clientToScreen(This, Pt) -> {X::integer(), Y::integer()}
clientToScreen(This, X, Y) -> {X::integer(), Y::integer()}
Types
Equivalent to close(This, []).
close(This, Options::[Option]) -> boolean()
convertDialogToPixels(This, Sz) -> {W::integer(), H::integer()}
convertPixelsToDialog(This, Sz) -> {W::integer(), H::integer()}
Types
destroyChildren(This) -> boolean()
Types
Types
dragAcceptFiles(This, Accept) -> ok
Types
Equivalent to enable(This, []).
enable(This, Options::[Option]) -> boolean()
findFocus() -> wxWindow()
findWindow(This, Winid) -> wxWindow()
See external documentation.
Also:
findWindow(This, Name) -> wxWindow() when
This::wxWindow(), Name::unicode:chardata().
findWindowById(Winid) -> wxWindow()
Types
Equivalent to findWindowById(Winid, []).
findWindowById(Winid, Options::[Option]) -> wxWindow()
findWindowByName(Name) -> wxWindow()
Types
Equivalent to findWindowByName(Name, []).
findWindowByName(Name, Options::[Option]) -> wxWindow()
findWindowByLabel(Label) -> wxWindow()
Types
Equivalent to findWindowByLabel(Label, []).
findWindowByLabel(Label, Options::[Option]) -> wxWindow()
Types
Types
Types
getAcceleratorTable(This) -> wxAcceleratorTable:wxAcceleratorTable()
Types
getBackgroundColour(This) -> wx:wx_colour4()
Types
getBackgroundStyle(This) -> wx:wx_enum()
Types
See external documentation.
Res = ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM
getBestSize(This) -> {W::integer(), H::integer()}
Types
getCaret(This) -> wxCaret:wxCaret()
Types
getCapture() -> wxWindow()
getCharHeight(This) -> integer()
Types
getCharWidth(This) -> integer()
Types
getChildren(This) -> [wxWindow()]
Types
getClientSize(This) -> {W::integer(), H::integer()}
Types
getContainingSizer(This) -> wxSizer:wxSizer()
Types
getCursor(This) -> wxCursor:wxCursor()
Types
getDropTarget(This) -> wx:wx_object()
Types
getEventHandler(This) -> wxEvtHandler:wxEvtHandler()
Types
getExtraStyle(This) -> integer()
Types
getFont(This) -> wxFont:wxFont()
Types
getForegroundColour(This) -> wx:wx_colour4()
Types
getGrandParent(This) -> wxWindow()
Types
Types
getHelpText(This) -> unicode:charlist()
Types
Types
getLabel(This) -> unicode:charlist()
Types
getMaxSize(This) -> {W::integer(), H::integer()}
Types
getMinSize(This) -> {W::integer(), H::integer()}
Types
getName(This) -> unicode:charlist()
Types
getParent(This) -> wxWindow()
Types
getPosition(This) -> {X::integer(), Y::integer()}
Types
getRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
Types
getScreenPosition(This) -> {X::integer(), Y::integer()}
Types
getScreenRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
Types
getScrollPos(This, Orient) -> integer()
getScrollRange(This, Orient) -> integer()
getScrollThumb(This, Orient) -> integer()
getSize(This) -> {W::integer(), H::integer()}
Types
getSizer(This) -> wxSizer:wxSizer()
Types
getTextExtent(This, String) -> Result
Types
Equivalent to getTextExtent(This, String, []).
getTextExtent(This, String, Options::[Option]) -> Result
Types
getToolTip(This) -> wxToolTip:wxToolTip()
Types
getUpdateRegion(This) -> wxRegion:wxRegion()
Types
getVirtualSize(This) -> {W::integer(), H::integer()}
Types
getWindowStyleFlag(This) -> integer()
Types
getWindowVariant(This) -> wx:wx_enum()
Types
See external documentation.
Res = ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX
Types
hasScrollbar(This, Orient) -> boolean()
hasTransparentBackground(This) -> boolean()
Types
Types
Types
Types
invalidateBestSize(This) -> ok
Types
Types
isExposed(This, Pt) -> boolean()
See external documentation.
Also:
isExposed(This, Rect) -> boolean() when
This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
isExposed(This, X, Y) -> boolean()
isExposed(This, X, Y, W, H) -> boolean()
Types
Types
Types
Types
Types
Types
Types
Types
Equivalent to makeModal(This, []).
makeModal(This, Options::[Option]) -> ok
Equivalent to move(This, Pt, []).
See external documentation.
Also:
move(This, Pt, [Option]) -> 'ok' when
This::wxWindow(), Pt::{X::integer(), Y::integer()},
Option :: {'flags', integer()}.
move(This, X, Y, Options::[Option]) -> ok
moveAfterInTabOrder(This, Win) -> ok
moveBeforeInTabOrder(This, Win) -> ok
Types
Equivalent to navigate(This, []).
navigate(This, Options::[Option]) -> boolean()
Types
Types
popEventHandler(This) -> wxEvtHandler:wxEvtHandler()
Types
Equivalent to popEventHandler(This, []).
popEventHandler(This, Options::[Option]) -> wxEvtHandler:wxEvtHandler()
popupMenu(This, Menu) -> boolean()
Equivalent to popupMenu(This, Menu, []).
popupMenu(This, Menu, Options::[Option]) -> boolean()
popupMenu(This, Menu, X, Y) -> boolean()
Types
Types
Equivalent to refresh(This, []).
refresh(This, Options::[Option]) -> ok
Types
Equivalent to refreshRect(This, Rect, []).
refreshRect(This, Rect, Options::[Option]) -> ok
Types
Types
removeChild(This, Child) -> ok
reparent(This, NewParent) -> boolean()
screenToClient(This) -> {X::integer(), Y::integer()}
Types
screenToClient(This, Pt) -> {X::integer(), Y::integer()}
scrollLines(This, Lines) -> boolean()
scrollPages(This, Pages) -> boolean()
scrollWindow(This, Dx, Dy) -> ok
Equivalent to scrollWindow(This, Dx, Dy, []).
scrollWindow(This, Dx, Dy, Options::[Option]) -> ok
Types
setAcceleratorTable(This, Accel) -> ok
setAutoLayout(This, AutoLayout) -> ok
setBackgroundColour(This, Colour) -> boolean()
setBackgroundStyle(This, Style) -> boolean()
See external documentation.
Style = ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM
setClientSize(This, Size) -> ok
See external documentation.
Also:
setClientSize(This, Rect) -> 'ok' when
This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
setClientSize(This, Width, Height) -> ok
setContainingSizer(This, Sizer) -> ok
setCursor(This, Cursor) -> boolean()
setMaxSize(This, MaxSize) -> ok
setMinSize(This, MinSize) -> ok
setOwnBackgroundColour(This, Colour) -> ok
setOwnForegroundColour(This, Colour) -> ok
setDropTarget(This, DropTarget) -> ok
setExtraStyle(This, ExStyle) -> ok
Types
Types
setFont(This, Font) -> boolean()
setForegroundColour(This, Colour) -> boolean()
setScrollbar(This, Orient, Pos, ThumbVisible, Range) -> ok
Types
Equivalent to setScrollbar(This, Orient, Pos, ThumbVisible, Range, []).
setScrollbar(This, Orient, Pos, ThumbVisible, Range, Options::[Option]) -> ok
Types
setScrollPos(This, Orient, Pos) -> ok
Equivalent to setScrollPos(This, Orient, Pos, []).
setScrollPos(This, Orient, Pos, Options::[Option]) -> ok
See external documentation.
Also:
setSize(This, Size) -> 'ok' when
This::wxWindow(), Size::{W::integer(), H::integer()}.
setSize(This, Width, Height) -> ok
See external documentation.
Also:
setSize(This, Rect, [Option]) -> 'ok' when
This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()},
Option :: {'sizeFlags', integer()}.
setSize(This, X, Y, Width, Height) -> ok
Equivalent to setSize(This, X, Y, Width, Height, []).
setSize(This, X, Y, Width, Height, Options::[Option]) -> ok
Types
setSizeHints(This, MinSize) -> ok
Equivalent to setSizeHints(This, MinSize, []).
setSizeHints(This, MinW, MinH) -> ok
See external documentation.
Also:
setSizeHints(This, MinSize, [Option]) -> 'ok' when
This::wxWindow(), MinSize::{W::integer(), H::integer()},
Option :: {'maxSize', {W::integer(), H::integer()}}
| {'incSize', {W::integer(), H::integer()}}.
setSizeHints(This, MinW, MinH, Options::[Option]) -> ok
Types
Equivalent to setSizer(This, Sizer, []).
setSizer(This, Sizer, Options::[Option]) -> ok
setSizerAndFit(This, Sizer) -> ok
Equivalent to setSizerAndFit(This, Sizer, []).
setSizerAndFit(This, Sizer, Options::[Option]) -> ok
setThemeEnabled(This, EnableTheme) -> ok
See external documentation.
Also:
setToolTip(This, Tip) -> 'ok' when
This::wxWindow(), Tip::wxToolTip:wxToolTip().
setVirtualSize(This, Size) -> ok
setVirtualSize(This, X, Y) -> ok
setVirtualSizeHints(This, MinSize) -> ok
Equivalent to setVirtualSizeHints(This, MinSize, []).
setVirtualSizeHints(This, MinW, MinH) -> ok
See external documentation.
Also:
setVirtualSizeHints(This, MinSize, [Option]) -> 'ok' when
This::wxWindow(), MinSize::{W::integer(), H::integer()},
Option :: {'maxSize', {W::integer(), H::integer()}}.
setVirtualSizeHints(This, MinW, MinH, Options::[Option]) -> ok
Types
setWindowStyle(This, Style) -> ok
setWindowStyleFlag(This, Style) -> ok
setWindowVariant(This, Variant) -> ok
See external documentation.
Variant = ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX
shouldInheritColours(This) -> boolean()
Types
Types
Equivalent to show(This, []).
show(This, Options::[Option]) -> boolean()
Types
transferDataFromWindow(This) -> boolean()
Types
transferDataToWindow(This) -> boolean()
Types
Types
Types
Equivalent to updateWindowUI(This, []).
updateWindowUI(This, Options::[Option]) -> ok
Types
setTransparent(This, Alpha) -> boolean()
canSetTransparent(This) -> boolean()
Types
isDoubleBuffered(This) -> boolean()
Types
setDoubleBuffered(This, On) -> ok
getContentScaleFactor(This) -> number()
Types
destroy(This::wxWindow()) -> ok