User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.5

Expand All
Contract All

Table of Contents

# wxGridBagSizer

### MODULE

wxGridBagSizer

### MODULE SUMMARY

See external documentation: wxGridBagSizer.

### DESCRIPTION

See external documentation: wxGridBagSizer.

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

### DATA TYPES

wxGridBagSizer()

  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::wxGridBagSizer(), Item::wxSizerItem() (see module wxSizerItem) | wxGBSizerItem() (see module wxGBSizerItem)) -> wxSizerItem() (see module wxSizerItem)

See external documentation.

add(This::wxGridBagSizer(), X::integer() | term(), X::integer() | term()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.
Alternatives:

add(This::wxGridBagSizer(), Width::integer(), Height::integer()) -> add(This,Width,Height, [])

add(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(),C::integer()}) -> add(This,Window,Pos, [])

add(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), [Option]) -> wxSizerItem:wxSizerItem()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}

add(This::wxGridBagSizer(), X::integer() | term(), X::integer() | term(), X::term()) -> wxSizerItem() (see module wxSizerItem)

See external documentation.
Alternatives:

add(This::wxGridBagSizer(), Width::integer(), Height::integer(), Pos::{R::integer(),C::integer()}) -> add(This,Width,Height,Pos, [])

add(This::wxGridBagSizer(), Width::integer(), Height::integer(), [Option]) -> wxSizerItem:wxSizerItem()
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}

add(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(),C::integer()}, [Option]) -> wxSizerItem:wxSizerItem()
Option = {span, {RS::integer(),CS::integer()}} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}

add(This::wxGridBagSizer(), Width::integer(), Height::integer(), Pos::{R::integer(), C::integer()}, Options::[Option]) -> wxSizerItem() (see module wxSizerItem)

Types:

Option = {span, {RS::integer(), CS::integer()}} | {flag, integer()} | {border, integer()} | {userData, wx() (see module wx)}

See external documentation.

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

See external documentation.

checkForIntersection(This::wxGridBagSizer(), Item::wxGBSizerItem() (see module wxGBSizerItem)) -> bool()

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

checkForIntersection(This::wxGridBagSizer(), X::term(), X::term()) -> bool()

See external documentation.
Alternatives:

checkForIntersection(This::wxGridBagSizer(), Pos::{R::integer(),C::integer()}, Span::{RS::integer(),CS::integer()}) -> checkForIntersection(This,Pos,Span, [])

checkForIntersection(This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem(), [Option]) -> bool()
Option = {excludeItem, wxGBSizerItem:wxGBSizerItem()}

checkForIntersection(This::wxGridBagSizer(), Pos::{R::integer(), C::integer()}, Span::{RS::integer(), CS::integer()}, Options::[Option]) -> bool()

Types:

Option = {excludeItem, wxGBSizerItem() (see module wxGBSizerItem)}

See external documentation.

findItem(This::wxGridBagSizer(), Window::wxWindow() (see module wxWindow) | wxSizer() (see module wxSizer)) -> wxGBSizerItem() (see module wxGBSizerItem)

See external documentation.

findItemAtPoint(This::wxGridBagSizer(), Pt::{X::integer(), Y::integer()}) -> wxGBSizerItem() (see module wxGBSizerItem)

See external documentation.

findItemAtPosition(This::wxGridBagSizer(), Pos::{R::integer(), C::integer()}) -> wxGBSizerItem() (see module wxGBSizerItem)

See external documentation.

findItemWithData(This::wxGridBagSizer(), UserData::wx() (see module wx)) -> wxGBSizerItem() (see module wxGBSizerItem)

See external documentation.

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

See external documentation.

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

See external documentation.

getItemPosition(This::wxGridBagSizer(), X::integer() | term()) -> {R::integer(), C::integer()}

See external documentation.
Alternatives:

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

getItemPosition(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer()) -> {R::integer(),C::integer()}

getItemSpan(This::wxGridBagSizer(), X::integer() | term()) -> {RS::integer(), CS::integer()}

See external documentation.
Alternatives:

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

getItemSpan(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer()) -> {RS::integer(),CS::integer()}

setEmptyCellSize(This::wxGridBagSizer(), Sz::{W::integer(), H::integer()}) -> ok

See external documentation.

setItemPosition(This::wxGridBagSizer(), X::integer() | term(), Pos::{R::integer(), C::integer()}) -> bool()

See external documentation.
Alternatives:

setItemPosition(This::wxGridBagSizer(), Index::integer(), Pos::{R::integer(),C::integer()}) -> bool()

setItemPosition(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(),C::integer()}) -> bool()

setItemSpan(This::wxGridBagSizer(), X::integer() | term(), Span::{RS::integer(), CS::integer()}) -> bool()

See external documentation.
Alternatives:

setItemSpan(This::wxGridBagSizer(), Index::integer(), Span::{RS::integer(),CS::integer()}) -> bool()

setItemSpan(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Span::{RS::integer(),CS::integer()}) -> bool()

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

Destroys this object, do not use object again