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

wxErlang
Reference Manual
Version 1.7


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

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

Types:

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

new(Parent, Id, Title, Options::[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()}

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

Types:

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

create(This, Parent, Id, Title, Options::[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()}

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

Types:

This = wxFrame()

Equivalent to createStatusBar(This, []).

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

Types:

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

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

Types:

This = wxFrame()

Equivalent to createToolBar(This, []).

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

Types:

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

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

Types:

This = wxFrame()

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

Types:

This = wxFrame()

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

Types:

This = wxFrame()

getStatusBarPane(This) -> integer()

Types:

This = wxFrame()

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

Types:

This = wxFrame()

processCommand(This, Winid) -> boolean()

Types:

This = wxFrame()
Winid = integer()

sendSizeEvent(This) -> ok

Types:

This = wxFrame()

setMenuBar(This, Menubar) -> ok

Types:

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

setStatusBar(This, Statbar) -> ok

Types:

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

setStatusBarPane(This, N) -> ok

Types:

This = wxFrame()
N = integer()

setStatusText(This, Text) -> ok

Types:

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

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

Types:

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

setStatusWidths(This, Widths_field) -> ok

Types:

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

setToolBar(This, Toolbar) -> ok

Types:

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

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

Destroys this object, do not use object again