User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.99

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

See external documentation.

new(Parent::wxWindow() (see module wxWindow), Id::integer(), Title::string()) -> wxDialog()

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

new(Parent::wxWindow() (see module wxWindow), Id::integer(), Title::string(), Options::[Option]) -> wxDialog()

Types:

Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}

See external documentation.

create(This::wxDialog(), Parent::wxWindow() (see module wxWindow), Id::integer(), Title::string()) -> bool()

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

create(This::wxDialog(), Parent::wxWindow() (see module wxWindow), Id::integer(), Title::string(), Options::[Option]) -> bool()

Types:

Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}

See external documentation.

createButtonSizer(This::wxDialog(), Flags::integer()) -> wxSizer() (see module wxSizer)

See external documentation.

createStdDialogButtonSizer(This::wxDialog(), Flags::integer()) -> wxStdDialogButtonSizer() (see module wxStdDialogButtonSizer)

See external documentation.

endModal(This::wxDialog(), RetCode::integer()) -> ok

See external documentation.

getAffirmativeId(This::wxDialog()) -> integer()

See external documentation.

getReturnCode(This::wxDialog()) -> integer()

See external documentation.

isModal(This::wxDialog()) -> bool()

See external documentation.

setAffirmativeId(This::wxDialog(), AffirmativeId::integer()) -> ok

See external documentation.

setReturnCode(This::wxDialog(), ReturnCode::integer()) -> ok

See external documentation.

show(This::wxDialog()) -> bool()

Equivalent to show(This, []).

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

Types:

Option = {show, bool()}

See external documentation.

showModal(This::wxDialog()) -> integer()

See external documentation.

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

Destroys this object, do not use object again