Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tray Icon Widget #481

Closed
7 tasks
ibigpapa opened this issue May 14, 2018 · 1 comment
Closed
7 tasks

Tray Icon Widget #481

ibigpapa opened this issue May 14, 2018 · 1 comment

Comments

@ibigpapa
Copy link
Contributor

ibigpapa commented May 14, 2018

Tray Icon Proposal

Tray Icons are usually used to show an application is running but not display a window. Sometimes the window is visible with the TrayIcon as well. The Icon also usually allows for a context menu to select some actions.

Proposed Properties

  • TrayIcon.Icon
    • Description: Sets the Icon
    • Type: src.core.toga.widgets.icon
    • Access: RW
  • TrayIcon.Title
    • Description: Sets the Title
    • Type: Str
    • Access: RW
  • TrayIcon.Tooltip
    • Description: Sets the Tooltip (some platforms may not support this)
    • Type: Str (or New Widget)
    • Access: RW
  • TrayIcon.Menu
    • Description: Adds a context menu widget
    • Type: ContextMenu (New Widget)
    • Access: RW
  • Review all implementations to ensure Proposed abstraction is generic enough.
  • Create a ContextMenu widget
  • Create Implementation in Windows forms
  • Create Implementation in MacOS
  • Create Implementation in IOS
  • Create Implementation in Android
  • Create Implementation in GTK

Resources

@ibigpapa
Copy link
Contributor Author

closing this one in favor of continuing thread on #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant