-
-
Notifications
You must be signed in to change notification settings - Fork 689
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2768 from freakboy3742/status_icons
Add status icons
- Loading branch information
Showing
55 changed files
with
1,961 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import toga | ||
|
||
|
||
class StatusIcon: | ||
def __init__(self, interface): | ||
self.interface = interface | ||
self.native = None | ||
|
||
def set_icon(self, icon): | ||
pass | ||
|
||
def create(self): | ||
toga.NotImplementedWarning.warn("Android", "Status Icons") | ||
|
||
def remove(self): | ||
pass # pragma: no cover | ||
|
||
|
||
class SimpleStatusIcon(StatusIcon): | ||
pass | ||
|
||
|
||
class MenuStatusIcon(StatusIcon): | ||
pass | ||
|
||
|
||
class StatusIconSet: | ||
def __init__(self, interface): | ||
self.interface = interface | ||
|
||
def create(self): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Apps can now add items to the system tray. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.