Desktop.Env (Desktop v1.4.2) View Source
Env holds any needed :wx / Desktop application state. Currently it keeps track of
* The open Dekstop.Window(s),
* OS Application events (such as when a file is dragged on the application icon)
* The :wx environment
* The dbus connection (sni) on linux
Also it has a global connect() method to allow binding of :wx event callbacks using this long lived process as reference.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Wrapper around wx.subscribe()
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Wrapper around wx.subscribe()
Will send to the calling process events in the form:
{:print_file, [filename]}
{:open_file, [filename]}
{:open_url, [filename]}
{:new_file, []}