PCE version 4C man_modulenamespaceid_tablemodified current_idOIxNclass/applicationN referenceC hash_tablerefersizeOIxNbothI sNM.application.S.initialiseCman_method_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherit diagnosticsdefaultsbugsOIxNM.application.S.initialiseRICdateOIx2‘Õ&N initialisenCstringOIxgCreate an application with the given name. The application is added to the chain object @applications.nnnnnsNV.application.kindCman_variable_card identifiermodule last_modifiednamesummary descriptionsee_alsoinheritdefaultsOIxNV.application.kindRIOIx=ëuòNkindnOIxÐIf `user', (default), the methods and predicates called as a result of event-handling by windows and frames of the application can be debugged. If `service', all Prolog and XPCE activity will be run in `system' mode to avoid debugging the XPCE environments tools, while trying to debug the user application. Timer objects are not covered by this flag as they do not belong to an application. They provide the `timer->service' method to turn them into a service.nnnsNV.application.nameOI xNV.application.nameRIOI x2‘Õ¯NnamenOI x7Identifier name of the application. Currently not used.nnnsNM.application.S.deleteOI xNM.application.S.deleteRIOI x2‘ÖJNdeletenOIx Remove frame from the application. Associating a frame with another application object will automatically delete it from the application it was a <-member of. This method may be redefined to keep track of the applications, but *must* call the super-implementation.nnnnnsNM.application.G.containsOIxNM.application.G.containsRIOIx2‘ÕûNcontainsnOIx;Implementation of `visual <-contains', returning <-members.nnnnnsNV.application.modalOIxNV.application.modalRIOIx2‘ÏNmodalnOIx Frame that currently acts as modal window for the application. This implies that no window in another frame object can receive events. See also `frame->modal'.nnnsNM.application.S.appendOIxNM.application.S.appendRIOIx2‘ÕØNappendnOIxvAdd frame to the application. See also `frame ->application', and the `application' argument of `frame ->initialise'.nnnnnsNM.application.G.memberOIxNM.application.G.memberRIOIx2‘ÕWNmembernOIx5Find a member frame object with given `frame <-name'.nnnnnsN C.applicationCman_class_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherituser_interfacebugsOIxN C.applicationRIOIx2‘ÔäN applicationnOIxÊAn application object defines a collection of cooperating frame objects. Applications are new as of XPCE version 4.9, and therefore do not yet have a stable definition. It is however assumed that the current implementation will only be enhanced with new, compatible, features. Applications are designed to deal with the following issues: # Find frames belonging to the application Using the <-member method, frames that constitute an application can find each other. See also `frame<->name' and `graphical<-application'. # Define the scope of `modal' frames Frames may be defined modal over the other frames in the application. See `frame ->modal'. # Define general application properties XPCE itself uses applications of <-kind: service to realise the programming environment, and avoid the environment from tracing and debugging itself. Normally, applications are created explicitely, often as global named objects. Frames are attached to it using the application initialisation argument application: :- pce_global(@my_application, make_my_application). make_my_application(App) :- new(App, application(mine)), ... ... new(F, frame('My title', application := @my_application)), ...nnnnsNV.application.icon_imageOIxNV.application.icon_imageRIOIx^«ü=N icon_imagenOI x¹When set, all frames of this application use the same icon and frames are created using the _NET_WM_PID property, which causes e.g., Ubuntu Dock to group the framed under one dock icon.nnnsNM.application.S.unlinkOI!xNM.application.S.unlinkRIOI"x2‘ÕšNunlinknOI#xIDestroying an application will invoke `frame ->destroy' on all <-members.nnnnnsNM.application.S.resetOI$xNM.application.S.resetRIOI%x2‘×HNresetnOI&xOImplementation of `visual <-reset'. Removes any possible <-modal frame object.nnnnnsNV.application.membersOI'xNV.application.membersRIOI(x2‘ÖeNmembersnOI)xPChain holding member frames. This chain is maintained by ->delete and ->append.nnnXaCnumberOI*xx