wxWindow
(wx)See external documentation: wxWindow.
See external documentation:
This class is derived (and can use functions) from:
wxEvtHandler
Functions
new() -> wxWindow()
See
new(Parent, Id, Options::[Option]) -> wxWindow()
Parent = wxWindow()
Id = integer()
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}
See
cacheBestSize(This, Size) -> ok
This = wxWindow()
Size = {W::integer(), H::integer()}
See
center(This, Options::[Option]) -> ok
This = wxWindow()
Option = {dir, integer()}
See
centerOnParent(This, Options::[Option]) -> ok
This = wxWindow()
Option = {dir, integer()}
See
centre(This, Options::[Option]) -> ok
This = wxWindow()
Option = {dir, integer()}
See
centreOnParent(This, Options::[Option]) -> ok
This = wxWindow()
Option = {dir, integer()}
See
clientToScreen(This, Pt) -> {X::integer(), Y::integer()}
This = wxWindow()
Pt = {X::integer(), Y::integer()}
See
clientToScreen(This, X, Y) -> {X::integer(), Y::integer()}
This = wxWindow()
X = integer()
Y = integer()
See
close(This, Options::[Option]) -> boolean()
This = wxWindow()
Option = {force, boolean()}
See
convertDialogToPixels(This, Sz) -> {W::integer(), H::integer()}
This = wxWindow()
Sz = {W::integer(), H::integer()}
See
convertPixelsToDialog(This, Sz) -> {W::integer(), H::integer()}
This = wxWindow()
Sz = {W::integer(), H::integer()}
See
enable(This, Options::[Option]) -> boolean()
This = wxWindow()
Option = {enable, boolean()}
See
findFocus() -> wxWindow()
See
findWindow(This, Winid) -> wxWindow()
This = wxWindow()
Winid = integer()
See
Also:
findWindow(This, Name) -> wxWindow() when
This::wxWindow(), Name::unicode:chardata().
findWindowById(Winid, Options::[Option]) -> wxWindow()
Winid = integer()
Option = {parent, wxWindow()}
See
findWindowByName(Name) -> wxWindow()
Name = unicode:chardata()
Equivalent to findWindowByName(Name, []).
findWindowByName(Name, Options::[Option]) -> wxWindow()
Name = unicode:chardata()
Option = {parent, wxWindow()}
See
findWindowByLabel(Label) -> wxWindow()
Label = unicode:chardata()
Equivalent to findWindowByLabel(Label, []).
findWindowByLabel(Label, Options::[Option]) -> wxWindow()
Label = unicode:chardata()
Option = {parent, wxWindow()}
See
getAcceleratorTable(This) -> wxAcceleratorTable:wxAcceleratorTable()
This = wxWindow()
See
getBackgroundStyle(This) -> wx:wx_enum()
This = wxWindow()
See
Res = ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM
getCapture() -> wxWindow()
See
getRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxWindow()
See
getScreenPosition(This) -> {X::integer(), Y::integer()}
This = wxWindow()
See
getScreenRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxWindow()
See
getScrollPos(This, Orient) -> integer()
This = wxWindow()
Orient = integer()
See
getScrollRange(This, Orient) -> integer()
This = wxWindow()
Orient = integer()
See
getScrollThumb(This, Orient) -> integer()
This = wxWindow()
Orient = integer()
See
getTextExtent(This, String) -> Result
Result = {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}
This = wxWindow()
String = unicode:chardata()
Equivalent to getTextExtent(This, String, []).
getTextExtent(This, String, Options::[Option]) -> Result
Result = {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}
This = wxWindow()
String = unicode:chardata()
Option = {theFont, wxFont:wxFont()}
See
getWindowVariant(This) -> wx:wx_enum()
This = wxWindow()
See
Res = ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX
hasScrollbar(This, Orient) -> boolean()
This = wxWindow()
Orient = integer()
See
isExposed(This, Pt) -> boolean()
This = wxWindow()
Pt = {X::integer(), Y::integer()}
See
Also:
isExposed(This, Rect) -> boolean() when
This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
isExposed(This, X, Y) -> boolean()
This = wxWindow()
X = integer()
Y = integer()
See
isExposed(This, X, Y, W, H) -> boolean()
This = wxWindow()
X = integer()
Y = integer()
W = integer()
H = integer()
See
makeModal(This, Options::[Option]) -> ok
This = wxWindow()
Option = {modal, boolean()}
See
move(This, Pt) -> ok
This = wxWindow()
Pt = {X::integer(), Y::integer()}
Equivalent to move(This, Pt, []).
move(This, X, Y) -> ok
This = wxWindow()
X = integer()
Y = integer()
See
Also:
move(This, Pt, [Option]) -> 'ok' when
This::wxWindow(), Pt::{X::integer(), Y::integer()},
Option :: {'flags', integer()}.
move(This, X, Y, Options::[Option]) -> ok
This = wxWindow()
X = integer()
Y = integer()
Option = {flags, integer()}
See
navigate(This, Options::[Option]) -> boolean()
This = wxWindow()
Option = {flags, integer()}
See
popEventHandler(This) -> wxEvtHandler:wxEvtHandler()
This = wxWindow()
Equivalent to popEventHandler(This, []).
popEventHandler(This, Options::[Option]) -> wxEvtHandler:wxEvtHandler()
This = wxWindow()
Option = {deleteHandler, boolean()}
See
popupMenu(This, Menu) -> boolean()
This = wxWindow()
Menu = wxMenu:wxMenu()
Equivalent to popupMenu(This, Menu, []).
popupMenu(This, Menu, Options::[Option]) -> boolean()
This = wxWindow()
Menu = wxMenu:wxMenu()
Option = {pos, {X::integer(), Y::integer()}}
See
popupMenu(This, Menu, X, Y) -> boolean()
This = wxWindow()
Menu = wxMenu:wxMenu()
X = integer()
Y = integer()
See
refresh(This, Options::[Option]) -> ok
This = wxWindow()
Option = {eraseBackground, boolean()} | {rect, {X::integer(), Y::integer(), W::integer(), H::integer()}}
See
refreshRect(This, Rect) -> ok
This = wxWindow()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
Equivalent to refreshRect(This, Rect, []).
refreshRect(This, Rect, Options::[Option]) -> ok
This = wxWindow()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
Option = {eraseBackground, boolean()}
See
reparent(This, NewParent) -> boolean()
This = wxWindow()
NewParent = wxWindow()
See
screenToClient(This, Pt) -> {X::integer(), Y::integer()}
This = wxWindow()
Pt = {X::integer(), Y::integer()}
See
scrollLines(This, Lines) -> boolean()
This = wxWindow()
Lines = integer()
See
scrollPages(This, Pages) -> boolean()
This = wxWindow()
Pages = integer()
See
scrollWindow(This, Dx, Dy) -> ok
This = wxWindow()
Dx = integer()
Dy = integer()
Equivalent to scrollWindow(This, Dx, Dy, []).
scrollWindow(This, Dx, Dy, Options::[Option]) -> ok
This = wxWindow()
Dx = integer()
Dy = integer()
Option = {rect, {X::integer(), Y::integer(), W::integer(), H::integer()}}
See
setAcceleratorTable(This, Accel) -> ok
This = wxWindow()
Accel = wxAcceleratorTable:wxAcceleratorTable()
See
setAutoLayout(This, AutoLayout) -> ok
This = wxWindow()
AutoLayout = boolean()
See
setBackgroundColour(This, Colour) -> boolean()
This = wxWindow()
Colour = wx:wx_colour()
See
setBackgroundStyle(This, Style) -> boolean()
This = wxWindow()
Style = wx:wx_enum()
See
Style = ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM
setClientSize(This, Size) -> ok
This = wxWindow()
Size = {W::integer(), H::integer()}
See
Also:
setClientSize(This, Rect) -> 'ok' when
This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
setClientSize(This, Width, Height) -> ok
This = wxWindow()
Width = integer()
Height = integer()
See
setContainingSizer(This, Sizer) -> ok
This = wxWindow()
Sizer = wxSizer:wxSizer()
See
setCursor(This, Cursor) -> boolean()
This = wxWindow()
Cursor = wxCursor:wxCursor()
See
setMaxSize(This, MaxSize) -> ok
This = wxWindow()
MaxSize = {W::integer(), H::integer()}
See
setMinSize(This, MinSize) -> ok
This = wxWindow()
MinSize = {W::integer(), H::integer()}
See
setOwnBackgroundColour(This, Colour) -> ok
This = wxWindow()
Colour = wx:wx_colour()
See
setOwnForegroundColour(This, Colour) -> ok
This = wxWindow()
Colour = wx:wx_colour()
See
setDropTarget(This, DropTarget) -> ok
This = wxWindow()
DropTarget = wx:wx_object()
See
setFont(This, Font) -> boolean()
This = wxWindow()
Font = wxFont:wxFont()
See
setForegroundColour(This, Colour) -> boolean()
This = wxWindow()
Colour = wx:wx_colour()
See
setHelpText(This, Text) -> ok
This = wxWindow()
Text = unicode:chardata()
See
setPalette(This, Pal) -> ok
This = wxWindow()
Pal = wxPalette:wxPalette()
See
setScrollbar(This, Orient, Pos, ThumbVisible, Range) -> ok
This = wxWindow()
Orient = integer()
Pos = integer()
ThumbVisible = integer()
Range = integer()
Equivalent to setScrollbar(This, Orient, Pos, ThumbVisible, Range, []).
setScrollbar(This, Orient, Pos, ThumbVisible, Range, Options::[Option]) -> ok
This = wxWindow()
Orient = integer()
Pos = integer()
ThumbVisible = integer()
Range = integer()
Option = {refresh, boolean()}
See
setScrollPos(This, Orient, Pos) -> ok
This = wxWindow()
Orient = integer()
Pos = integer()
Equivalent to setScrollPos(This, Orient, Pos, []).
setScrollPos(This, Orient, Pos, Options::[Option]) -> ok
This = wxWindow()
Orient = integer()
Pos = integer()
Option = {refresh, boolean()}
See
setSize(This, Rect) -> ok
This = wxWindow()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
See
Also:
setSize(This, Size) -> 'ok' when
This::wxWindow(), Size::{W::integer(), H::integer()}.
setSize(This, Width, Height) -> ok
This = wxWindow()
Width = integer()
Height = integer()
See
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
This = wxWindow()
X = integer()
Y = integer()
Width = integer()
Height = integer()
Equivalent to setSize(This, X, Y, Width, Height, []).
setSize(This, X, Y, Width, Height, Options::[Option]) -> ok
This = wxWindow()
X = integer()
Y = integer()
Width = integer()
Height = integer()
Option = {sizeFlags, integer()}
See
setSizeHints(This, MinSize) -> ok
This = wxWindow()
MinSize = {W::integer(), H::integer()}
Equivalent to setSizeHints(This, MinSize, []).
setSizeHints(This, MinW, MinH) -> ok
This = wxWindow()
MinW = integer()
MinH = integer()
See
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
This = wxWindow()
MinW = integer()
MinH = integer()
Option = {maxW, integer()} | {maxH, integer()} | {incW, integer()} | {incH, integer()}
See
setSizer(This, Sizer) -> ok
This = wxWindow()
Sizer = wxSizer:wxSizer()
Equivalent to setSizer(This, Sizer, []).
setSizer(This, Sizer, Options::[Option]) -> ok
This = wxWindow()
Sizer = wxSizer:wxSizer()
Option = {deleteOld, boolean()}
See
setSizerAndFit(This, Sizer) -> ok
This = wxWindow()
Sizer = wxSizer:wxSizer()
Equivalent to setSizerAndFit(This, Sizer, []).
setSizerAndFit(This, Sizer, Options::[Option]) -> ok
This = wxWindow()
Sizer = wxSizer:wxSizer()
Option = {deleteOld, boolean()}
See
setThemeEnabled(This, EnableTheme) -> ok
This = wxWindow()
EnableTheme = boolean()
See
setToolTip(This, Tip) -> ok
This = wxWindow()
Tip = unicode:chardata()
See
Also:
setToolTip(This, Tip) -> 'ok' when
This::wxWindow(), Tip::wxToolTip:wxToolTip().
setVirtualSize(This, Size) -> ok
This = wxWindow()
Size = {W::integer(), H::integer()}
See
setVirtualSize(This, X, Y) -> ok
This = wxWindow()
X = integer()
Y = integer()
See
setVirtualSizeHints(This, MinSize) -> ok
This = wxWindow()
MinSize = {W::integer(), H::integer()}
Equivalent to setVirtualSizeHints(This, MinSize, []).
setVirtualSizeHints(This, MinW, MinH) -> ok
This = wxWindow()
MinW = integer()
MinH = integer()
See
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
This = wxWindow()
MinW = integer()
MinH = integer()
Option = {maxW, integer()} | {maxH, integer()}
See
setWindowStyleFlag(This, Style) -> ok
This = wxWindow()
Style = integer()
See
setWindowVariant(This, Variant) -> ok
This = wxWindow()
Variant = wx:wx_enum()
See
Variant = ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX
show(This, Options::[Option]) -> boolean()
This = wxWindow()
Option = {show, boolean()}
See
updateWindowUI(This, Options::[Option]) -> ok
This = wxWindow()
Option = {flags, integer()}
See
warpPointer(This, X, Y) -> ok
This = wxWindow()
X = integer()
Y = integer()
See
setTransparent(This, Alpha) -> boolean()
This = wxWindow()
Alpha = integer()
See
destroy(This::wxWindow()) -> ok
Destroys this object, do not use object again