DOKK / manpages / debian 11 / erlang-manpages / wxSizer.3erl.en
wxSizer(3erl) Erlang Module Definition wxSizer(3erl)

wxSizer - See external documentation: wxSizer.

See external documentation: wxSizer.

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

add(This, Window) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()

Equivalent to add(This, Window, []).

add(This, Width, Height) -> wxSizerItem:wxSizerItem()
add(This, Window, Height::[Option]) -> wxSizerItem:wxSizerItem()
add(This, Window, Flags) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Width = integer()
Height = integer()
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
Flags = wxSizerFlags:wxSizerFlags()

See external documentation.
Also:
add(This, Window, [Option]) -> wxSizerItem:wxSizerItem() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
Option :: {'proportion', integer()}
| {'flag', integer()}
| {'border', integer()}
| {'userData', wx:wx_object()};
(This, Window, Flags) -> wxSizerItem:wxSizerItem() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags().

add(This, Width, Height, Options::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Width = integer()
Height = integer()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}

See external documentation.

addSpacer(This, Size) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Size = integer()

See external documentation.

addStretchSpacer(This) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()

Equivalent to addStretchSpacer(This, []).

addStretchSpacer(This, Options::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Option = {prop, integer()}

See external documentation.

calcMin(This) -> {W::integer(), H::integer()}

Types:

This = wxSizer()

See external documentation.

clear(This) -> ok

Types:

This = wxSizer()

Equivalent to clear(This, []).

clear(This, Options::[Option]) -> ok

Types:

This = wxSizer()
Option = {delete_windows, boolean()}

See external documentation.

detach(This, Index) -> boolean()
detach(This, Window) -> boolean()

Types:

This = wxSizer()
Index = integer()
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()

See external documentation.
Also:
detach(This, Window) -> boolean() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer().

fit(This, Window) -> {W::integer(), H::integer()}

Types:

This = wxSizer()
Window = wxWindow:wxWindow()

See external documentation.

fitInside(This, Window) -> ok

Types:

This = wxSizer()
Window = wxWindow:wxWindow()

See external documentation.

getChildren(This) -> [wxSizerItem:wxSizerItem()]

Types:

This = wxSizer()

See external documentation.

getItem(This, Window) -> wxSizerItem:wxSizerItem()
getItem(This, Index) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
This = wxSizer()
Index = integer()

See external documentation.
Also:
getItem(This, Index) -> wxSizerItem:wxSizerItem() when
This::wxSizer(), Index::integer().

getItem(This, Window, Options::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
Option = {recursive, boolean()}

See external documentation.

getSize(This) -> {W::integer(), H::integer()}

Types:

This = wxSizer()

See external documentation.

getPosition(This) -> {X::integer(), Y::integer()}

Types:

This = wxSizer()

See external documentation.

getMinSize(This) -> {W::integer(), H::integer()}

Types:

This = wxSizer()

See external documentation.

hide(This, Window) -> boolean()
hide(This, Index) -> boolean()

Types:

This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
This = wxSizer()
Index = integer()

See external documentation.
Also:
hide(This, Index) -> boolean() when
This::wxSizer(), Index::integer().

hide(This, Window, Options::[Option]) -> boolean()

Types:

This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
Option = {recursive, boolean()}

See external documentation.

insert(This, Index, Item) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Index = integer()
Item = wxSizerItem:wxSizerItem()

See external documentation.

insert(This, Index, Width, Height) -> wxSizerItem:wxSizerItem()
insert(This, Index, Window, Height::[Option]) -> wxSizerItem:wxSizerItem()
insert(This, Index, Window, Flags) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Index = integer()
Width = integer()
Height = integer()
This = wxSizer()
Index = integer()
Window = wxWindow:wxWindow() | wxSizer()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}
This = wxSizer()
Index = integer()
Window = wxWindow:wxWindow() | wxSizer()
Flags = wxSizerFlags:wxSizerFlags()

See external documentation.
Also:
insert(This, Index, Window, [Option]) -> wxSizerItem:wxSizerItem() when
This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(),
Option :: {'proportion', integer()}
| {'flag', integer()}
| {'border', integer()}
| {'userData', wx:wx_object()};
(This, Index, Window, Flags) -> wxSizerItem:wxSizerItem() when
This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags().

insert(This, Index, Width, Height, Options::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Index = integer()
Width = integer()
Height = integer()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}

See external documentation.

insertSpacer(This, Index, Size) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Index = integer()
Size = integer()

See external documentation.

insertStretchSpacer(This, Index) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Index = integer()

Equivalent to insertStretchSpacer(This, Index, []).

insertStretchSpacer(This, Index, Options::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Index = integer()
Option = {prop, integer()}

See external documentation.

isShown(This, Index) -> boolean()
isShown(This, Window) -> boolean()

Types:

This = wxSizer()
Index = integer()
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()

See external documentation.
Also:
isShown(This, Window) -> boolean() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer().

layout(This) -> ok

Types:

This = wxSizer()

See external documentation.

prepend(This, Item) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Item = wxSizerItem:wxSizerItem()

See external documentation.

prepend(This, Width, Height) -> wxSizerItem:wxSizerItem()
prepend(This, Window, Height::[Option]) -> wxSizerItem:wxSizerItem()
prepend(This, Window, Flags) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Width = integer()
Height = integer()
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
Flags = wxSizerFlags:wxSizerFlags()

See external documentation.
Also:
prepend(This, Window, [Option]) -> wxSizerItem:wxSizerItem() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
Option :: {'proportion', integer()}
| {'flag', integer()}
| {'border', integer()}
| {'userData', wx:wx_object()};
(This, Window, Flags) -> wxSizerItem:wxSizerItem() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags().

prepend(This, Width, Height, Options::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Width = integer()
Height = integer()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}

See external documentation.

prependSpacer(This, Size) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Size = integer()

See external documentation.

prependStretchSpacer(This) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()

Equivalent to prependStretchSpacer(This, []).

prependStretchSpacer(This, Options::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxSizer()
Option = {prop, integer()}

See external documentation.

recalcSizes(This) -> ok

Types:

This = wxSizer()

See external documentation.

remove(This, Index) -> boolean()
remove(This, Sizer) -> boolean()

Types:

This = wxSizer()
Index = integer()
This = wxSizer()
Sizer = wxSizer()

See external documentation.
Also:
remove(This, Sizer) -> boolean() when
This::wxSizer(), Sizer::wxSizer().

replace(This, Oldwin, Newwin) -> boolean()
replace(This, Index, Newitem) -> boolean()

Types:

This = wxSizer()
Oldwin = wxWindow:wxWindow() | wxSizer()
Newwin = wxWindow:wxWindow() | wxSizer()
This = wxSizer()
Index = integer()
Newitem = wxSizerItem:wxSizerItem()

See external documentation.
Also:
replace(This, Index, Newitem) -> boolean() when
This::wxSizer(), Index::integer(), Newitem::wxSizerItem:wxSizerItem().

replace(This, Oldwin, Newwin, Options::[Option]) -> boolean()

Types:

This = wxSizer()
Oldwin = wxWindow:wxWindow() | wxSizer()
Newwin = wxWindow:wxWindow() | wxSizer()
Option = {recursive, boolean()}

See external documentation.

setDimension(This, X, Y, Width, Height) -> ok

Types:

This = wxSizer()
X = integer()
Y = integer()
Width = integer()
Height = integer()

See external documentation.

setMinSize(This, Size) -> ok

Types:

This = wxSizer()
Size = {W::integer(), H::integer()}

See external documentation.

setMinSize(This, Width, Height) -> ok

Types:

This = wxSizer()
Width = integer()
Height = integer()

See external documentation.

setItemMinSize(This, Index, Size) -> boolean()
setItemMinSize(This, Window, Size) -> boolean()

Types:

This = wxSizer()
Index = integer()
Size = {W::integer(), H::integer()}
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
Size = {W::integer(), H::integer()}

See external documentation.
Also:
setItemMinSize(This, Window, Size) -> boolean() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Size::{W::integer(), H::integer()}.

setItemMinSize(This, Index, Width, Height) -> boolean()
setItemMinSize(This, Window, Width, Height) -> boolean()

Types:

This = wxSizer()
Index = integer()
Width = integer()
Height = integer()
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
Width = integer()
Height = integer()

See external documentation.
Also:
setItemMinSize(This, Window, Width, Height) -> boolean() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Width::integer(), Height::integer().

setSizeHints(This, Window) -> ok

Types:

This = wxSizer()
Window = wxWindow:wxWindow()

See external documentation.

setVirtualSizeHints(This, Window) -> ok

Types:

This = wxSizer()
Window = wxWindow:wxWindow()

See external documentation.

show(This, Index) -> boolean()
show(This, Window) -> boolean()
show(This, Show) -> ok

Types:

This = wxSizer()
Index = integer()
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
This = wxSizer()
Show = boolean()

See external documentation.
Also:
show(This, Window) -> boolean() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer();
(This, Show) -> 'ok' when
This::wxSizer(), Show::boolean().

show(This, Index, Options::[Option]) -> boolean()
show(This, Window, Options::[Option]) -> boolean()

Types:

This = wxSizer()
Index = integer()
Option = {show, boolean()}
This = wxSizer()
Window = wxWindow:wxWindow() | wxSizer()
Option = {show, boolean()} | {recursive, boolean()}

See external documentation.
Also:
show(This, Window, [Option]) -> boolean() when
This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
Option :: {'show', boolean()}
| {'recursive', boolean()}.

<>

wx 1.9.2