User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.5

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::wxSizer(), Window::wxWindow() (see module wxWindow) | wxSizer()) -> wxSizerItem() (see module wxSizerItem)

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

add(This::wxSizer(), X::integer() | term(), X::integer() | term()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.
Alternatives:

add(This::wxSizer(), Width::integer(), Height::integer()) -> add(This,Width,Height, [])

add(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}

add(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem:wxSizerItem()

add(This::wxSizer(), Width::integer(), Height::integer(), Options::[Option]) -> wxSizerItem() (see module wxSizerItem)

Types:

Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx() (see module wx)}

See external documentation.

addSpacer(This::wxSizer(), Size::integer()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.

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

Equivalent to addStretchSpacer(This, []).

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

Types:

Option = {prop, integer()}

See external documentation.

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

See external documentation.

clear(This::wxSizer()) -> ok

Equivalent to clear(This, []).

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

Types:

Option = {delete_windows, bool()}

See external documentation.

detach(This::wxSizer(), X::integer() | term()) -> bool()

See external documentation.
Alternatives:

detach(This::wxSizer(), Index::integer()) -> bool()

detach(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> bool()

fit(This::wxSizer(), Window::wxWindow() (see module wxWindow)) -> {W::integer(), H::integer()}

See external documentation.

fitInside(This::wxSizer(), Window::wxWindow() (see module wxWindow)) -> ok

See external documentation.

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

See external documentation.

getItem(This::wxSizer(), X::term() | integer()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.
Alternatives:

getItem(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> getItem(This,Window, [])

getItem(This::wxSizer(), Index::integer()) -> wxSizerItem:wxSizerItem()

getItem(This::wxSizer(), Window::wxWindow() (see module wxWindow) | wxSizer(), Options::[Option]) -> wxSizerItem() (see module wxSizerItem)

Types:

Option = {recursive, bool()}

See external documentation.

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

See external documentation.

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

See external documentation.

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

See external documentation.

hide(This::wxSizer(), X::term() | integer()) -> bool()

See external documentation.
Alternatives:

hide(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> hide(This,Window, [])

hide(This::wxSizer(), Index::integer()) -> bool()

hide(This::wxSizer(), Window::wxWindow() (see module wxWindow) | wxSizer(), Options::[Option]) -> bool()

Types:

Option = {recursive, bool()}

See external documentation.

insert(This::wxSizer(), Index::integer(), X::term()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.
Alternatives:

insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer()) -> insert(This,Index,Window, [])

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

insert(This::wxSizer(), Index::integer(), X::integer() | term(), X::integer() | term()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.
Alternatives:

insert(This::wxSizer(), Index::integer(), Width::integer(), Height::integer()) -> insert(This,Index,Width,Height, [])

insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}

insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem:wxSizerItem()

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

Types:

Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx() (see module wx)}

See external documentation.

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

See external documentation.

insertStretchSpacer(This::wxSizer(), Index::integer()) -> wxSizerItem() (see module wxSizerItem)

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

insertStretchSpacer(This::wxSizer(), Index::integer(), Options::[Option]) -> wxSizerItem() (see module wxSizerItem)

Types:

Option = {prop, integer()}

See external documentation.

isShown(This::wxSizer(), X::integer() | term()) -> bool()

See external documentation.
Alternatives:

isShown(This::wxSizer(), Index::integer()) -> bool()

isShown(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> bool()

layout(This::wxSizer()) -> ok

See external documentation.

prepend(This::wxSizer(), X::term()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.
Alternatives:

prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> prepend(This,Window, [])

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

prepend(This::wxSizer(), X::integer() | term(), X::integer() | term()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.
Alternatives:

prepend(This::wxSizer(), Width::integer(), Height::integer()) -> prepend(This,Width,Height, [])

prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}

prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem:wxSizerItem()

prepend(This::wxSizer(), Width::integer(), Height::integer(), Options::[Option]) -> wxSizerItem() (see module wxSizerItem)

Types:

Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx() (see module wx)}

See external documentation.

prependSpacer(This::wxSizer(), Size::integer()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.

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

Equivalent to prependStretchSpacer(This, []).

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

Types:

Option = {prop, integer()}

See external documentation.

recalcSizes(This::wxSizer()) -> ok

See external documentation.

remove(This::wxSizer(), X::integer() | wxSizer()) -> bool()

See external documentation.
Alternatives:

remove(This::wxSizer(), Index::integer()) -> bool()

remove(This::wxSizer(), Sizer::wxSizer()) -> bool()

replace(This::wxSizer(), X::term() | integer(), X::term()) -> bool()

See external documentation.
Alternatives:

replace(This::wxSizer(), Oldwin::wxWindow:wxWindow() | wxSizer(), Newwin::wxWindow:wxWindow() | wxSizer()) -> replace(This,Oldwin,Newwin, [])

replace(This::wxSizer(), Index::integer(), Newitem::wxSizerItem:wxSizerItem()) -> bool()

replace(This::wxSizer(), Oldwin::wxWindow() (see module wxWindow) | wxSizer(), Newwin::wxWindow() (see module wxWindow) | wxSizer(), Options::[Option]) -> bool()

Types:

Option = {recursive, bool()}

See external documentation.

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

See external documentation.

setMinSize(This::wxSizer(), Size::{W::integer(), H::integer()}) -> ok

See external documentation.

setMinSize(This::wxSizer(), Width::integer(), Height::integer()) -> ok

See external documentation.

setItemMinSize(This::wxSizer(), X::integer() | term(), Size::{W::integer(), H::integer()}) -> bool()

See external documentation.
Alternatives:

setItemMinSize(This::wxSizer(), Index::integer(), Size::{W::integer(),H::integer()}) -> bool()

setItemMinSize(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Size::{W::integer(),H::integer()}) -> bool()

setItemMinSize(This::wxSizer(), X::integer() | term(), Width::integer(), Height::integer()) -> bool()

See external documentation.
Alternatives:

setItemMinSize(This::wxSizer(), Index::integer(), Width::integer(), Height::integer()) -> bool()

setItemMinSize(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Width::integer(), Height::integer()) -> bool()

setSizeHints(This::wxSizer(), Window::wxWindow() (see module wxWindow)) -> ok

See external documentation.

setVirtualSizeHints(This::wxSizer(), Window::wxWindow() (see module wxWindow)) -> ok

See external documentation.

show(This::wxSizer(), X::integer() | term() | bool()) -> bool() | bool() | ok

See external documentation.
Alternatives:

show(This::wxSizer(), Index::integer()) -> show(This,Index, [])

show(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> show(This,Window, [])

show(This::wxSizer(), Show::bool()) -> ok

show(This::wxSizer(), X::integer() | term(), Options::[Option]) -> bool()

See external documentation.
Alternatives:

show(This::wxSizer(), Index::integer(), [Option]) -> bool()
Option = {show, bool()}

show(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> bool()
Option = {show, bool()} | {recursive, bool()}