Scroll to navigation

wxGridBagSizer(3erl) Erlang Module Definition wxGridBagSizer(3erl)

NAME

wxGridBagSizer - See external documentation: wxGridBagSizer.

DESCRIPTION

See external documentation: wxGridBagSizer.

This class is derived (and can use functions) from:
wxFlexGridSizer
wxGridSizer
wxSizer

DATA TYPES

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

Equivalent to new([]).

new(Options::[Option]) -> wxGridBagSizer()

Types:

Option = {vgap, integer()} | {hgap, integer()}

See external documentation.

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

Types:

This = wxGridBagSizer()
Item = wxSizerItem:wxSizerItem() | wxGBSizerItem:wxGBSizerItem()

See external documentation.

add(This, Width, Height) -> wxSizerItem:wxSizerItem()
add(This, Window, Pos) -> wxSizerItem:wxSizerItem()
add(This, Window, Height::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxGridBagSizer()
Width = integer()
Height = integer()
This = wxGridBagSizer()
Window = wxWindow:wxWindow() | wxSizer:wxSizer()
Pos = {R::integer(), C::integer()}
This = wxGridBagSizer()
Window = wxWindow:wxWindow() | wxSizer:wxSizer()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}

See external documentation.
Also:
add(This, Window, Pos) -> wxSizerItem:wxSizerItem() when
This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()};
(This, Window, [Option]) -> wxSizerItem:wxSizerItem() when
This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(),
Option :: {'proportion', integer()}
| {'flag', integer()}
| {'border', integer()}
| {'userData', wx:wx_object()}.

add(This, Width, Height, Pos) -> wxSizerItem:wxSizerItem()
add(This, Width, Height, Pos::[Option]) -> wxSizerItem:wxSizerItem()
add(This, Window, Pos, Pos::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxGridBagSizer()
Width = integer()
Height = integer()
Pos = {R::integer(), C::integer()}
This = wxGridBagSizer()
Width = integer()
Height = integer()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}
This = wxGridBagSizer()
Window = wxWindow:wxWindow() | wxSizer:wxSizer()
Pos = {R::integer(), C::integer()}
Option = {span, {RS::integer(), CS::integer()}} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}

See external documentation.
Also:
add(This, Width, Height, [Option]) -> wxSizerItem:wxSizerItem() when
This::wxGridBagSizer(), Width::integer(), Height::integer(),
Option :: {'proportion', integer()}
| {'flag', integer()}
| {'border', integer()}
| {'userData', wx:wx_object()};
(This, Window, Pos, [Option]) -> wxSizerItem:wxSizerItem() when
This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()},
Option :: {'span', {RS::integer(), CS::integer()}}
| {'flag', integer()}
| {'border', integer()}
| {'userData', wx:wx_object()}.

add(This, Width, Height, Pos, Options::[Option]) -> wxSizerItem:wxSizerItem()

Types:

This = wxGridBagSizer()
Width = integer()
Height = integer()
Pos = {R::integer(), C::integer()}
Option = {span, {RS::integer(), CS::integer()}} | {flag, integer()} | {border, integer()} | {userData, wx:wx_object()}

See external documentation.

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

Types:

This = wxGridBagSizer()

See external documentation.

checkForIntersection(This, Item) -> boolean()

Types:

This = wxGridBagSizer()
Item = wxGBSizerItem:wxGBSizerItem()

Equivalent to checkForIntersection(This, Item, []).

checkForIntersection(This, Pos, Span) -> boolean()
checkForIntersection(This, Item, Span::[Option]) -> boolean()

Types:

This = wxGridBagSizer()
Pos = {R::integer(), C::integer()}
Span = {RS::integer(), CS::integer()}
This = wxGridBagSizer()
Item = wxGBSizerItem:wxGBSizerItem()
Option = {excludeItem, wxGBSizerItem:wxGBSizerItem()}

See external documentation.
Also:
checkForIntersection(This, Item, [Option]) -> boolean() when
This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem(),
Option :: {'excludeItem', wxGBSizerItem:wxGBSizerItem()}.

checkForIntersection(This, Pos, Span, Options::[Option]) -> boolean()

Types:

This = wxGridBagSizer()
Pos = {R::integer(), C::integer()}
Span = {RS::integer(), CS::integer()}
Option = {excludeItem, wxGBSizerItem:wxGBSizerItem()}

See external documentation.

findItem(This, Window) -> wxGBSizerItem:wxGBSizerItem()

Types:

This = wxGridBagSizer()
Window = wxWindow:wxWindow() | wxSizer:wxSizer()

See external documentation.

findItemAtPoint(This, Pt) -> wxGBSizerItem:wxGBSizerItem()

Types:

This = wxGridBagSizer()
Pt = {X::integer(), Y::integer()}

See external documentation.

findItemAtPosition(This, Pos) -> wxGBSizerItem:wxGBSizerItem()

Types:

This = wxGridBagSizer()
Pos = {R::integer(), C::integer()}

See external documentation.

findItemWithData(This, UserData) -> wxGBSizerItem:wxGBSizerItem()

Types:

This = wxGridBagSizer()
UserData = wx:wx_object()

See external documentation.

getCellSize(This, Row, Col) -> {W::integer(), H::integer()}

Types:

This = wxGridBagSizer()
Row = integer()
Col = integer()

See external documentation.

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

Types:

This = wxGridBagSizer()

See external documentation.

getItemPosition(This, Index) -> {R::integer(), C::integer()}
getItemPosition(This, Window) -> {R::integer(), C::integer()}

Types:

This = wxGridBagSizer()
Index = integer()
This = wxGridBagSizer()
Window = wxWindow:wxWindow() | wxSizer:wxSizer()

See external documentation.
Also:
getItemPosition(This, Window) -> {R::integer(), C::integer()} when
This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer().

getItemSpan(This, Index) -> {RS::integer(), CS::integer()}
getItemSpan(This, Window) -> {RS::integer(), CS::integer()}

Types:

This = wxGridBagSizer()
Index = integer()
This = wxGridBagSizer()
Window = wxWindow:wxWindow() | wxSizer:wxSizer()

See external documentation.
Also:
getItemSpan(This, Window) -> {RS::integer(), CS::integer()} when
This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer().

setEmptyCellSize(This, Sz) -> ok

Types:

This = wxGridBagSizer()
Sz = {W::integer(), H::integer()}

See external documentation.

setItemPosition(This, Index, Pos) -> boolean()
setItemPosition(This, Window, Pos) -> boolean()

Types:

This = wxGridBagSizer()
Index = integer()
Pos = {R::integer(), C::integer()}
This = wxGridBagSizer()
Window = wxWindow:wxWindow() | wxSizer:wxSizer()
Pos = {R::integer(), C::integer()}

See external documentation.
Also:
setItemPosition(This, Window, Pos) -> boolean() when
This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()}.

setItemSpan(This, Index, Span) -> boolean()
setItemSpan(This, Window, Span) -> boolean()

Types:

This = wxGridBagSizer()
Index = integer()
Span = {RS::integer(), CS::integer()}
This = wxGridBagSizer()
Window = wxWindow:wxWindow() | wxSizer:wxSizer()
Span = {RS::integer(), CS::integer()}

See external documentation.
Also:
setItemSpan(This, Window, Span) -> boolean() when
This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Span::{RS::integer(), CS::integer()}.

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

Destroys this object, do not use object again

AUTHORS

<>

wx 1.9.2