User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.99.2

Expand All
Contract All

Table of Contents

# wxFrame

### MODULE

wxFrame

### MODULE SUMMARY

See external documentation: wxFrame.

### DESCRIPTION

See external documentation: wxFrame.

This class is derived (and can use functions) from:
wxTopLevelWindow
wxWindow
wxEvtHandler

### DATA TYPES

wxFrame()

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

See external documentation.

new(Parent, Id, Title) -> wxFrame()

Types:

Parent = wxWindow() (see module wxWindow)
Id = integer()
Title = chardata() (see module unicode)

Equivalent to new(Parent, Id, Title, []).

new(Parent, Id, Title, Option::[Option]) -> wxFrame()

Types:

Parent = wxWindow() (see module wxWindow)
Id = integer()
Title = chardata() (see module unicode)
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}

See external documentation.

create(This, Parent, Id, Title) -> boolean()

Types:

This = wxFrame()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Title = chardata() (see module unicode)

Equivalent to create(This, Parent, Id, Title, []).

create(This, Parent, Id, Title, Option::[Option]) -> boolean()

Types:

This = wxFrame()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Title = chardata() (see module unicode)
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}

See external documentation.

createStatusBar(This) -> wxStatusBar() (see module wxStatusBar)

Types:

This = wxFrame()

Equivalent to createStatusBar(This, []).

createStatusBar(This, Option::[Option]) -> wxStatusBar() (see module wxStatusBar)

Types:

This = wxFrame()
Option = {number, integer()} | {style, integer()} | {id, integer()}

See external documentation.

createToolBar(This) -> wxToolBar() (see module wxToolBar)

Types:

This = wxFrame()

Equivalent to createToolBar(This, []).

createToolBar(This, Option::[Option]) -> wxToolBar() (see module wxToolBar)

Types:

This = wxFrame()
Option = {style, integer()} | {id, integer()}

See external documentation.

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

Types:

This = wxFrame()

See external documentation.

getMenuBar(This) -> wxMenuBar() (see module wxMenuBar)

Types:

This = wxFrame()

See external documentation.

getStatusBar(This) -> wxStatusBar() (see module wxStatusBar)

Types:

This = wxFrame()

See external documentation.

getStatusBarPane(This) -> integer()

Types:

This = wxFrame()

See external documentation.

getToolBar(This) -> wxToolBar() (see module wxToolBar)

Types:

This = wxFrame()

See external documentation.

processCommand(This, Winid) -> boolean()

Types:

This = wxFrame()
Winid = integer()

See external documentation.

sendSizeEvent(This) -> ok

Types:

This = wxFrame()

See external documentation.

setMenuBar(This, Menubar) -> ok

Types:

This = wxFrame()
Menubar = wxMenuBar() (see module wxMenuBar)

See external documentation.

setStatusBar(This, Statbar) -> ok

Types:

This = wxFrame()
Statbar = wxStatusBar() (see module wxStatusBar)

See external documentation.

setStatusBarPane(This, N) -> ok

Types:

This = wxFrame()
N = integer()

See external documentation.

setStatusText(This, Text) -> ok

Types:

This = wxFrame()
Text = chardata() (see module unicode)

Equivalent to setStatusText(This, Text, []).

setStatusText(This, Text, Option::[Option]) -> ok

Types:

This = wxFrame()
Text = chardata() (see module unicode)
Option = {number, integer()}

See external documentation.

setStatusWidths(This, Widths_field) -> ok

Types:

This = wxFrame()
Widths_field = [integer()]

See external documentation.

setToolBar(This, Toolbar) -> ok

Types:

This = wxFrame()
Toolbar = wxToolBar() (see module wxToolBar)

See external documentation.

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

Destroys this object, do not use object again