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

wxErlang
Reference Manual
Version 1.7


Expand All
Contract All

Table of Contents

wxDialog

MODULE

wxDialog

MODULE SUMMARY

See external documentation: wxDialog.

DESCRIPTION

See external documentation: wxDialog.

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

DATA TYPES

wxDialog()

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

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

Types:

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

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

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 = wxDialog()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Title = chardata() (see module unicode)

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

Types:

This = wxDialog()
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()}

createButtonSizer(This, Flags) -> wxSizer() (see module wxSizer)

Types:

This = wxDialog()
Flags = integer()

createStdDialogButtonSizer(This, Flags) -> wxStdDialogButtonSizer() (see module wxStdDialogButtonSizer)

Types:

This = wxDialog()
Flags = integer()

endModal(This, RetCode) -> ok

Types:

This = wxDialog()
RetCode = integer()

getAffirmativeId(This) -> integer()

Types:

This = wxDialog()

getReturnCode(This) -> integer()

Types:

This = wxDialog()

isModal(This) -> boolean()

Types:

This = wxDialog()

setAffirmativeId(This, AffirmativeId) -> ok

Types:

This = wxDialog()
AffirmativeId = integer()

setReturnCode(This, ReturnCode) -> ok

Types:

This = wxDialog()
ReturnCode = integer()

show(This) -> boolean()

Types:

This = wxDialog()

Equivalent to show(This, []).

show(This, Options::[Option]) -> boolean()

Types:

This = wxDialog()
Option = {show, boolean()}

showModal(This) -> integer()

Types:

This = wxDialog()

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

Destroys this object, do not use object again