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

wxErlang
Reference Manual
Version 0.99.2


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

new(Window, Flags) -> wxSizerItem()

Types:

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

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

Types:

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

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)

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)

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

Types:

This = wxSizerItem()

deleteWindows(This) -> ok

Types:

This = wxSizerItem()

detachSizer(This) -> ok

Types:

This = wxSizerItem()

getBorder(This) -> integer()

Types:

This = wxSizerItem()

getFlag(This) -> integer()

Types:

This = wxSizerItem()

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

Types:

This = wxSizerItem()

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

Types:

This = wxSizerItem()

getProportion(This) -> integer()

Types:

This = wxSizerItem()

getRatio(This) -> number()

Types:

This = wxSizerItem()

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

Types:

This = wxSizerItem()

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

Types:

This = wxSizerItem()

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

Types:

This = wxSizerItem()

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

Types:

This = wxSizerItem()

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

Types:

This = wxSizerItem()

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

Types:

This = wxSizerItem()

isSizer(This) -> boolean()

Types:

This = wxSizerItem()

isShown(This) -> boolean()

Types:

This = wxSizerItem()

isSpacer(This) -> boolean()

Types:

This = wxSizerItem()

isWindow(This) -> boolean()

Types:

This = wxSizerItem()

setBorder(This, Border) -> ok

Types:

This = wxSizerItem()
Border = integer()

setDimension(This, Pos, Size) -> ok

Types:

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

setFlag(This, Flag) -> ok

Types:

This = wxSizerItem()
Flag = integer()

setInitSize(This, X, Y) -> ok

Types:

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

setMinSize(This, Size) -> ok

Types:

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

setMinSize(This, X, Y) -> ok

Types:

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

setProportion(This, Proportion) -> ok

Types:

This = wxSizerItem()
Proportion = integer()

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

setSizer(This, Sizer) -> ok

Types:

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

setSpacer(This, Size) -> ok

Types:

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

setSpacer(This, Width, Height) -> ok

Types:

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

setWindow(This, Window) -> ok

Types:

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

show(This, Show) -> ok

Types:

This = wxSizerItem()
Show = boolean()

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

Destroys this object, do not use object again