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

wxErlang
Reference Manual
Version 1.7


Expand All
Contract All

Table of Contents

wxCloseEvent

MODULE

wxCloseEvent

MODULE SUMMARY

See external documentation: wxCloseEvent.

DESCRIPTION

See external documentation: wxCloseEvent.

Use wxEvtHandler:connect/3 with EventType:

close_window, end_session, query_end_session

See also the message variant #wxClose{} event record type.

This class is derived (and can use functions) from:
wxEvent

DATA TYPES

wxCloseEvent()

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

canVeto(This) -> boolean()

Types:

This = wxCloseEvent()

getLoggingOff(This) -> boolean()

Types:

This = wxCloseEvent()

setCanVeto(This, CanVeto) -> ok

Types:

This = wxCloseEvent()
CanVeto = boolean()

setLoggingOff(This, LogOff) -> ok

Types:

This = wxCloseEvent()
LogOff = boolean()

veto(This) -> ok

Types:

This = wxCloseEvent()

Equivalent to veto(This, []).

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

Types:

This = wxCloseEvent()
Option = {veto, boolean()}