Skip to content

Commit

Permalink
Merge pull request #39 from EricForgy/close
Browse files Browse the repository at this point in the history
Add a "close" method to the API
  • Loading branch information
Varanas committed Dec 29, 2015
2 parents e826a43 + 9a23f85 commit 23b6552
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/AtomShell/window.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using ..Blink
import Blink: js, jsstring, id
import Base: position, size
import Base: position, size, close

export Window, flashframe, shell, progress, title,
centre, floating, loadurl, opentools, closetools, tools,
Expand Down Expand Up @@ -111,6 +111,9 @@ tools(win::Window) =
front(win::Window) =
@dot win showInactive()

close(win::Window) =
@dot win close()

# Window content APIs

active(::Void) = false
Expand Down

0 comments on commit 23b6552

Please sign in to comment.