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

List of predicates for group GUI Support

[This is preliminary specification and subject to change.]

List of all groups


Type

Predicate

Parameters

Flow pattern

Description

determ

ezy_href_properties

WINDOW CTRLWIN,
STRING TITLE,
STRING URL

(i,i,i),(i,o,o)

Get/Set Href title and URL

determ

ezy_object_address

WINDOW CTRLWIN,
SLIST ADDRESS

(i,o)

Get full address of the WINDOW as list of parent names: ADDRESS = ["grand_parent"...,"parent","me"]

determ

ezy_object_border

WINDOW CTRLWIN,
EZY_BORDER BORDER

(i,o),(i,i)

Get/Set border of the WINDOW

determ

ezy_object_class

WINDOW CTRLWIN,
STRING TYPE

(i,o)

Get class name of the window

determ

ezy_object_color

STRING TITLE,
EZY_BORDER_COLOR IN,
EZY_BORDER_COLOR OUT

(i,i,o)

Choose color for the GUI element. Use EZY Prolog color selection mechanism

determ

ezy_object_data

WINDOW OBJECT_WIN,
SLIST ADDRESS,
EZY_GUI_VALUE REPLY_DATA

(i,i,o),(i,i,i)

Get/Set GUI element data. Use this call to read data from GUI element before closing dialog or to setup GUI element data on initialization stage.

determ

ezy_object_dragdrophandler

STRING EVENT_NAME

(i)

Define name of EZY Prolog predicate which will receive control on Drag and Drop event.

determ

ezy_object_font

WINDOW CTRLWIN,
EZY_FONT EZYFONT

(i,o),(i,i)

Get/Set object EZY FONT

determ

ezy_object_fontselect

WINDOW CTRLWIN,
EZY_FONT EZYFONT

(i,o)

Select EZY FONT via dialog

determ

ezy_object_get

WINDOW CTRLWIN,
SLIST ADDRESS,
WINDOW OBJECT_WINDOW

(i,i,o)

Get WINDOW defined by address and parent window

determ

ezy_object_handler

WINDOW CTRLWIN,
EHANDLER EVENT_HANDLER

(i,i)

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

determ

ezy_object_listener

SLIST ADDRESS,
EZY_LISTENER_TYPE ,
EZY_LISTENER

(i,i,i),(i,i,o)

Define name of EZY Prolog predicate which will listen for event

determ

ezy_object_name

WINDOW CTRLWIN,
STRING NAME

(i,o)

Get symbolic name of the WINDOW

determ

ezy_object_parent

WINDOW CTRLWIN,
STRING PARENT,
WINDOW PARENTWIN

(i,i,o)

Get parent by name of the current WINDOW. EZY Prolog will perform cascade search for parent. First WINDOW which has PARENT name will be returned as result of the call.

determ

ezy_object_rct

WINDOW CTRLWIN,
RCT RCT

(i,o),(i,i)

Get/Set object rectangle

determ

ezy_object_responder

SLIST ADDRESS,
EZY_RESPONDER_TYPE ,
EZY_RESPONDER

(i,i,i),(i,i,o)

Define name of EZY Prolog predicate which will respond for event

determ

ezy_object_show

WINDOW CTRLWIN,
INTEGER SHOW_HIDE

(i,i)

Controls visibility of the GUI element. SHOW_HIDE = 1 for making GUI element visible, SHOW_HIDE = 0 for making GUI element invisible

determ

ezy_object_text

WINDOW CTRLWIN,
STRING TEXT

(i,o),(i,i)

Get/Set text of the entry field

determ

ezy_object_tree

WINDOW CTRLWIN,
BROWSELIST_ITEM OBJECT_TREE

(i,o)

Get object control TREE


Copyright 1997-2013 EDMGROUP (Australia)