Scroll to navigation

wxSizer(3erl) Erlang Module Definition wxSizer(3erl)

NAME

wxSizer - See external documentation: wxSizer.

DESCRIPTION

See external documentation: wxSizer.

DATA TYPES

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.

EXPORTS

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

Types:

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

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

add(This, Width, Height) -> wxSizerItem:wxSizerItem()

Types:

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

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()

Types:

This = wxSizer()
Index = integer()

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()

Types:

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

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()

Types:

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

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()

Types:

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

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()

Types:

This = wxSizer()
Index = integer()

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()

Types:

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

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()

Types:

This = wxSizer()
Index = integer()

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

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

Types:

This = wxSizer()
Oldwin = wxWindow:wxWindow() | wxSizer()
Newwin = wxWindow:wxWindow() | wxSizer()

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()

Types:

This = wxSizer()
Index = integer()
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()

Types:

This = wxSizer()
Index = integer()
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()

Types:

This = wxSizer()
Index = integer()

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()

Types:

This = wxSizer()
Index = integer()
Option = {show, boolean()}

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

AUTHORS

<>
wx 1.8.6