An open API service indexing awesome lists of open source software.

https://github.com/emilebosch/osx-traykit

A webkit browser in your tray! Inspired from menubar-webkit but in Xamarin.
https://github.com/emilebosch/osx-traykit

Last synced: 3 months ago
JSON representation

A webkit browser in your tray! Inspired from menubar-webkit but in Xamarin.

Awesome Lists containing this project

README

        

# OSX-Traykit in Xamarin

Embed simple sites in your tray! Inspired by the excellent menubar-webkit.

## Exposed JS methods

Following methods are exposed to control the traykit from JS via the `window.tray`

Show the tray

```
window.tray.show()
```

Hide the tray

```
window.tray.window.hide()
```

Make the tray permanent

```
window.tray.setPinned(true/false)
```

Set the user agent

```
window.tray.setUserAgent('useragentstring')
```

Alert the user

````
window.tray.alert('title','message')
````

Send a notificaiton to the notification center

```
window.tray.notify('title','message')
```

Set a hotkey

```
window.tray.setHotkey({key:'', cb: func(){})
```