wxErlang

Reference Manual

Version 1.8.1

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

Types

This = 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()}

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

Types

This = wxSizer()
Size = integer()

addStretchSpacer(This) -> wxSizerItem:wxSizerItem()

Types

This = wxSizer()

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

Types

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

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

Types

This = wxSizer()

clear(This) -> ok

Types

This = wxSizer()

Equivalent to clear(This, []).

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

Types

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

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

fitInside(This, Window) -> ok

Types

This = wxSizer()

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

Types

This = wxSizer()

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

Types

This = 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()
Option = {recursive, boolean()}

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

Types

This = wxSizer()

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

Types

This = wxSizer()

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

Types

This = wxSizer()

hide(This, Window) -> boolean()

Types

This = wxSizer()

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

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

Types

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

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

Types

This = wxSizer()
Index = integer()

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

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

Types

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

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

Types

This = wxSizer()
Index = integer()

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

Types

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

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

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

Types

This = wxSizer()

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

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

Types

This = wxSizer()
Size = integer()

prependStretchSpacer(This) -> wxSizerItem:wxSizerItem()

Types

This = wxSizer()

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

Types

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

recalcSizes(This) -> ok

Types

This = wxSizer()

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

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()
Option = {recursive, boolean()}

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

Types

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

setMinSize(This, Size) -> ok

Types

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

setMinSize(This, Width, Height) -> ok

Types

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

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

setVirtualSizeHints(This, Window) -> ok

Types

This = wxSizer()

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