User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.0

Expand All
Contract All

Table of Contents

# wxSizer

### MODULE

wxSizer

### MODULE SUMMARY

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() (see module wxSizerItem)

Types:

This = wxSizer()
Window = wxWindow() (see module wxWindow) | wxSizer()

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

add(This, Width, Height) -> wxSizerItem() (see module 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, Option::[Option]) -> wxSizerItem() (see module wxSizerItem)

Types:

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

See external documentation.

addSpacer(This, Size) -> wxSizerItem() (see module wxSizerItem)

Types:

This = wxSizer()
Size = integer()

See external documentation.

addStretchSpacer(This) -> wxSizerItem() (see module wxSizerItem)

Types:

This = wxSizer()

Equivalent to addStretchSpacer(This, []).

addStretchSpacer(This, Option::[Option]) -> wxSizerItem() (see module 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, Option::[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() (see module wxWindow)

See external documentation.

fitInside(This, Window) -> ok

Types:

This = wxSizer()
Window = wxWindow() (see module wxWindow)

See external documentation.

getChildren(This) -> [wxSizerItem() (see module wxSizerItem)]

Types:

This = wxSizer()

See external documentation.

getItem(This, Window) -> wxSizerItem() (see module wxSizerItem)

Types:

This = wxSizer()
Window = wxWindow() (see module wxWindow) | wxSizer()

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

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

Types:

This = wxSizer()
Window = wxWindow() (see module 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() (see module wxWindow) | wxSizer()

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

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

Types:

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

See external documentation.

insert(This, Index, Item) -> wxSizerItem() (see module wxSizerItem)

Types:

This = wxSizer()
Index = integer()
Item = wxSizerItem() (see module wxSizerItem)

See external documentation.

insert(This, Index, Width, Height) -> wxSizerItem() (see module 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, Option::[Option]) -> wxSizerItem() (see module wxSizerItem)

Types:

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

See external documentation.

insertSpacer(This, Index, Size) -> wxSizerItem() (see module wxSizerItem)

Types:

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

See external documentation.

insertStretchSpacer(This, Index) -> wxSizerItem() (see module wxSizerItem)

Types:

This = wxSizer()
Index = integer()

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

insertStretchSpacer(This, Index, Option::[Option]) -> wxSizerItem() (see module 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() (see module wxSizerItem)

Types:

This = wxSizer()
Item = wxSizerItem() (see module wxSizerItem)

See external documentation.

prepend(This, Width, Height) -> wxSizerItem() (see module 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, Option::[Option]) -> wxSizerItem() (see module wxSizerItem)

Types:

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

See external documentation.

prependSpacer(This, Size) -> wxSizerItem() (see module wxSizerItem)

Types:

This = wxSizer()
Size = integer()

See external documentation.

prependStretchSpacer(This) -> wxSizerItem() (see module wxSizerItem)

Types:

This = wxSizer()

Equivalent to prependStretchSpacer(This, []).

prependStretchSpacer(This, Option::[Option]) -> wxSizerItem() (see module 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() (see module wxWindow) | wxSizer()
Newwin = wxWindow() (see module wxWindow) | wxSizer()

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

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

Types:

This = wxSizer()
Oldwin = wxWindow() (see module wxWindow) | wxSizer()
Newwin = wxWindow() (see module 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() (see module wxWindow)

See external documentation.

setVirtualSizeHints(This, Window) -> ok

Types:

This = wxSizer()
Window = wxWindow() (see module 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, Option::[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()}.