IF Computer > MINERVA > Manual > Reference > Gui Programming > guievent

guievent

MINERVA
ifcomputer logo
f
Expert Services on the Web

Package guievent:

:- builtin([
		actionListener_create / 2,
		adjustmentListener_create / 2,
		componentListener_create / 5,
		containerListener_create / 3,
		focusListener_create / 3,
		itemListener_create / 2,
		keyListener_create / 4,
		mouseListener_create / 6,
		mouseMotionListener_create / 3,
		textListener_create / 2,
		windowListener_create / 8
	]).

These predicates are used to create listeners for GUI objects. (cf JDK >= 1.1)

actionListener_create(
	+goal, -Listener)

adjustmentListener_create( +goal, -Listener)

componentListener_create( +shown_goal, +hidden_goal, +moved_goal, +resized_goal, -Listener)

containerListener_create( +added_goal, +removed_goal, -Listener)

focusListener_create( +gained_goal, +lost_goal, -Listener)

itemListener_create( +goal, -Listener)

keyListener_create( +pressed_goal, +released_goal, +typed_goal, -Listener)

mouseListener_create( +clicked_goal, +pressed_goal, +released_goal, +entered_goal, +exited_goal, -Listener)

mouseMotionListener_create( +dragged_goal, +moved_goal, -Listener)

textListener_create( +goal, -Listener)

windowListener_create( +activated_goal, +closed_goal, +closing_goal, +deactivated_goal, +deiconified_goal, +iconified_goal, +opened_goal, -Listener)

*_goal can be any term. If an event occurs it activates the term as a goal. If the term is a compound with a variable as its first argument, then this argument will be instantiated with the first argument.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/GuiProgramming/guievent/print_en.html
published 2012/5/21 update 1999/4/26 (c) 1996-2009 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS