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

wxErlang
Reference Manual
Version 0.98.4


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::wxWindow() (see module wxWindow), Id::integer(), Title::string()) -> wxDialog()

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

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

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

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

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

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

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

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

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

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

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

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

Equivalent to show(This, []).

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

Types:

Option = {show, bool()}

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

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

Destroys this object, do not use object again