Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.3


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

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

Types:

This = wxSizer()
Size = integer()

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

Types:

This = wxSizer()

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

fitInside(This, Window) -> ok

Types:

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

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

Types:

This = wxSizer()

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

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

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

Types:

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

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

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

Types:

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

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

Types:

This = wxSizer()
Index = integer()

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

Types:

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

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

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

Types:

This = wxSizer()
Size = integer()

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

Types:

This = wxSizer()

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

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

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

setVirtualSizeHints(This, Window) -> ok

Types:

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

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