User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.0

Expand All
Contract All

Table of Contents

# wxSizerItem

### MODULE

wxSizerItem

### MODULE SUMMARY

See external documentation: wxSizerItem.

### DESCRIPTION

See external documentation: wxSizerItem.

### DATA TYPES

wxSizerItem()

  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

new() -> wxSizerItem()

See external documentation.

new(Window, Flags) -> wxSizerItem()

Types:

Window = wxWindow() (see module wxWindow) | wxSizer() (see module wxSizer)
Flags = wxSizerFlags() (see module wxSizerFlags)

See external documentation.

new(Width, Height, Flags) -> wxSizerItem()

Types:

Width = integer()
Height = integer()
Flags = wxSizerFlags() (see module wxSizerFlags)

See external documentation.

new(Window, Proportion, Flag, Border, UserData) -> wxSizerItem()

Types:

Window = wxWindow() (see module wxWindow) | wxSizer() (see module wxSizer)
Proportion = integer()
Flag = integer()
Border = integer()
UserData = wx_object() (see module wx)

See external documentation.

new(Width, Height, Proportion, Flag, Border, UserData) -> wxSizerItem()

Types:

Width = integer()
Height = integer()
Proportion = integer()
Flag = integer()
Border = integer()
UserData = wx_object() (see module wx)

See external documentation.

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

Types:

This = wxSizerItem()

See external documentation.

deleteWindows(This) -> ok

Types:

This = wxSizerItem()

See external documentation.

detachSizer(This) -> ok

Types:

This = wxSizerItem()

See external documentation.

getBorder(This) -> integer()

Types:

This = wxSizerItem()

See external documentation.

getFlag(This) -> integer()

Types:

This = wxSizerItem()

See external documentation.

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

Types:

This = wxSizerItem()

See external documentation.

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

Types:

This = wxSizerItem()

See external documentation.

getProportion(This) -> integer()

Types:

This = wxSizerItem()

See external documentation.

getRatio(This) -> number()

Types:

This = wxSizerItem()

See external documentation.

getRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}

Types:

This = wxSizerItem()

See external documentation.

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

Types:

This = wxSizerItem()

See external documentation.

getSizer(This) -> wxSizer() (see module wxSizer)

Types:

This = wxSizerItem()

See external documentation.

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

Types:

This = wxSizerItem()

See external documentation.

getUserData(This) -> wx_object() (see module wx)

Types:

This = wxSizerItem()

See external documentation.

getWindow(This) -> wxWindow() (see module wxWindow)

Types:

This = wxSizerItem()

See external documentation.

isSizer(This) -> boolean()

Types:

This = wxSizerItem()

See external documentation.

isShown(This) -> boolean()

Types:

This = wxSizerItem()

See external documentation.

isSpacer(This) -> boolean()

Types:

This = wxSizerItem()

See external documentation.

isWindow(This) -> boolean()

Types:

This = wxSizerItem()

See external documentation.

setBorder(This, Border) -> ok

Types:

This = wxSizerItem()
Border = integer()

See external documentation.

setDimension(This, Pos, Size) -> ok

Types:

This = wxSizerItem()
Pos = {X::integer(), Y::integer()}
Size = {W::integer(), H::integer()}

See external documentation.

setFlag(This, Flag) -> ok

Types:

This = wxSizerItem()
Flag = integer()

See external documentation.

setInitSize(This, X, Y) -> ok

Types:

This = wxSizerItem()
X = integer()
Y = integer()

See external documentation.

setMinSize(This, Size) -> ok

Types:

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

See external documentation.

setMinSize(This, X, Y) -> ok

Types:

This = wxSizerItem()
X = integer()
Y = integer()

See external documentation.

setProportion(This, Proportion) -> ok

Types:

This = wxSizerItem()
Proportion = integer()

See external documentation.

setRatio(This, Ratio) -> ok

Types:

This = wxSizerItem()
Ratio = number()

See external documentation.
Also:
setRatio(This, Size) -> ok when
This::wxSizerItem(), Size::{W::integer(), H::integer()}.

setRatio(This, Width, Height) -> ok

Types:

This = wxSizerItem()
Width = integer()
Height = integer()

See external documentation.

setSizer(This, Sizer) -> ok

Types:

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

See external documentation.

setSpacer(This, Size) -> ok

Types:

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

See external documentation.

setSpacer(This, Width, Height) -> ok

Types:

This = wxSizerItem()
Width = integer()
Height = integer()

See external documentation.

setWindow(This, Window) -> ok

Types:

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

See external documentation.

show(This, Show) -> ok

Types:

This = wxSizerItem()
Show = boolean()

See external documentation.

destroy(This::wxSizerItem()) -> ok

Destroys this object, do not use object again