Did you know ... Search Documentation:
pce.pl
PublicShow source
Source pce_thread(-Thread) is det
True if Thread is the Prolog thread that runs the graphics message loop.
See also
- pce_dispatch/1.
Source in_pce_thread_sync(:Goal) is semidet
Same as in_pce_thread/1, but wait for Goal to be completed. Success depends on the success of executing Goal. If Goal throws an exception, this exception is re-thrown by in_pce_thread/1.

Possible bindings of Goal are returned, but be aware that the term has been copied. If in_pce_thread_sync/1 is called in the thread running pce, it behaves as once/1.

Source prolog:locate_clauses(Term, Refs)[multifile]
Locate a list of clause-references from a method-specification like Class->Method.

see library(listing).

Re-exported predicates

The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.

Source pce_global(+Object, :Goal) is det
Register Goal to be a goal that creates @Reference
Source free(+Ref) is det
Delete object if it exists.
Source send(+Object, +Selector, +Arg...) is semidet
Succeeds if sending a message to Object with Selector and the given Arguments succeeds. Normally, goal_expansion/2 expands all these goals into send(Receiver, Method(Args...)).
Source get(+Object, :Selector, +Arg..., ?Rval) is semidet
See the comments with send/[3-12].

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source send(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
Source in_pce_thread(Arg1)
Source pce_prolog_class(Arg1)
Source pce_compiling(Arg1, Arg2)
Source pce_autoload_all
Source send_class(Arg1, Arg2, Arg3)
Source get(Arg1, Arg2, Arg3, Arg4, Arg5)
Source send(Arg1, Arg2, Arg3, Arg4)
Source new(Arg1, Arg2)
Source pce_open(Arg1, Arg2, Arg3)
Source send(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8)
Source pce_begin_class_definition(Arg1, Arg2, Arg3, Arg4)
Source pce_begin_recording(Arg1)
Source pce_autoload(Arg1, Arg2)
Source set_pce_thread
Source get(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
Source get_class(Arg1, Arg2, Arg3, Arg4)
Source send(Arg1, Arg2, Arg3, Arg4, Arg5)
Source pce_catch_error(Arg1, Arg2)
Source pce_extended_class(Arg1)
Source pce_term_expansion(Arg1, Arg2)
Source object(Arg1)
Source pce_dispatch
Source get(Arg1, Arg2, Arg3)
Source get(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
Source send(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
Source send(Arg1, Arg2)
Source pce_prolog_class(Arg1, Arg2)
Source pce_register_class(Arg1)
Source get(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8)
Source pce_compiling(Arg1)
Source object(Arg1, Arg2)
Source pce_end_recording