PlexyDesk : GPU accelerated Display Server for GNU/Linux and BSD
Search
PlexyDesk
Not logged in
Talk
Contributions
Create account
Log in
Open Desktop Systems Journal
Main page
Documentation
Architecture
Development
Components
News
Gallery
Community
Page
Discussion
Read
Edit
Edit source
View history
Editing
PlexyUI API
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== App lifecycle == These functions manage the lifetime of a PlexyDesk application object and its main loop. === <code>plexy_app_create</code> === <pre>PlexyApp* plexy_app_create(const char* name);</pre> Create a top-level PlexyDesk application object. ==== Parameters ==== {| class="wikitable" |- ! Parameter !! Type !! Description |- | <code>name</code> || <code>const char*</code> || Human-readable name used to identify the application. |} * '''Returns:''' A new <code>PlexyApp</code> handle. === <code>plexy_app_run</code> === <pre>void plexy_app_run(PlexyApp* app);</pre> Enter the application event loop and keep the UI running until it exits. ==== Parameters ==== {| class="wikitable" |- ! Parameter !! Type !! Description |- | <code>app</code> || <code>PlexyApp*</code> || Application handle that owns the operation. |} === <code>plexy_app_quit</code> === <pre>void plexy_app_quit(PlexyApp* app);</pre> Request that the application event loop stops. ==== Parameters ==== {| class="wikitable" |- ! Parameter !! Type !! Description |- | <code>app</code> || <code>PlexyApp*</code> || Application handle that owns the operation. |} === <code>plexy_app_destroy</code> === <pre>void plexy_app_destroy(PlexyApp* app);</pre> Release the application object and its remaining resources. ==== Parameters ==== {| class="wikitable" |- ! Parameter !! Type !! Description |- | <code>app</code> || <code>PlexyApp*</code> || Application handle that owns the operation. |}
Summary:
Please note that all contributions to PlexyDesk - Display Server for GNU/Linux may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)