mgkuhn / Desktop.jl

Basic GUI desktop interactions such as opening a browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desktop

Stable Dev Build Status

This Julia package provides functions for basic GUI Desktop interactions:

  • checking if the current process has access to a desktop environment
  • opening a URL with a web browser
  • opening a file with the desktop environment's default application

Example

using Desktop
if hasdesktop()
   browse_url("https://julialang.org/")
else
   @info("No desktop environment available.")
end

About

Basic GUI desktop interactions such as opening a browser

License:MIT License


Languages

Language:Julia 100.0%