Copyright (1999-2008) EDMGROUP Pty Ltd - EZY Prolog Reference

 ezy_object_handler

[This is preliminary specification and subject to change.]

Group

GUI Support  (more...)

Type

determ

Syntax

ezy_object_handler( WINDOW CTRLWIN, EHANDLER EVENT_HANDLER)

Flow patterns

(i,i)

 

Description:

Set user predicate as event handler for the window.
Use this call to track user actions on GUI.

Sample:

 OK_ADDR = [TOP_FRAME,buttons,Ok],
 ezy_object_get( WINDOW,OK_ADDR,OK_WINDOW),
 ezy_object_handler(OK_WINDOW,handler_ok),
 ..

Copyright 1997-2013 EDMGROUP (Australia)