Commit Graph

279 Commits

Author SHA1 Message Date
nathan
09143f7630 API cleanup, WIP adding widgets to the menu (on pause because of
problems with the enter key not responding after this). Updated test
examples.
2016-10-10 22:40:39 +02:00
nathan
84a7fb77af Added more comments 2016-10-10 22:08:54 +02:00
nathan
96a89a3f44 Code polish. Fixed focus change issues when adding widgets 2016-10-10 17:10:59 +02:00
nathan
89405a6cd1 Cleaned heirarchy, fixed shutdown methods 2016-10-10 11:07:01 +02:00
nathan
85f47eee6a Removed unnecessary code 2016-10-10 01:16:12 +02:00
nathan
919120701d Added SystemTray.setEnabled(). Updated test examples. 2016-10-10 01:15:32 +02:00
nathan
53a9110605 Clean API 2016-10-10 00:30:40 +02:00
nathan
68a9e4edd7 Comments 2016-10-09 23:11:55 +02:00
nathan
2e9201f692 Code polish/refactor. Removed GTK menu stuff 2016-10-09 22:42:44 +02:00
nathan
c2881e54fd Added more C examples 2016-10-09 22:39:45 +02:00
nathan
fbf528d0ca WIP AppIndicators using swing menu 2016-10-09 20:20:23 +02:00
nathan
b936a4cd76 Migrated GtkStatusIcon to use swing menus instead of GTK menus. The
swing menus are the "golden standard", becuase we can controll 100%
of it.
2016-10-09 16:28:32 +02:00
nathan
0e56ca199a Organized swing menu logic 2016-10-09 15:56:58 +02:00
nathan
b976338b46 Removed unneeded API 2016-10-09 15:42:01 +02:00
nathan
e7b98d9f1c Fixed obliterate for sub-menus 2016-10-09 15:41:42 +02:00
nathan
11c3dd6296 Import order 2016-10-09 15:33:03 +02:00
nathan
1a35cb8726 API CHANGE (setIcon -> setImage) for API consistency with how
menus/entries get their image set. Class heirarchy is now consistent
with all menu types (system tray + sub-menus)
2016-10-08 23:54:45 +02:00
nathan
87222f8483 AppIndicator does not support BOLD text in menus, since we cater to
the lowest common denominator, we remove bold text for status. We
change to use a menu separator to define a "status" at the top of the
 menu
2016-10-08 23:32:21 +02:00
nathan
82ab3fc7bd Code polish, cleaned up comments 2016-10-08 21:53:43 +02:00
nathan
381e629e72 Code polish 2016-10-08 21:50:37 +02:00
nathan
000d069bfc windows/mac swing menus working with keyboard navigation/mnemonics 2016-10-08 21:47:53 +02:00
nathan
d4ac42d21f WIP adding mnemonic support for windows/mac 2016-10-08 17:42:05 +02:00
nathan
f0fe9fa9a2 Fixed issue with keyboard navigation/mnemonics on popup window. 2016-10-08 17:41:21 +02:00
nathan
f2065a59fa Added mnemonic support for linux 2016-10-08 00:18:17 +02:00
nathan
bdf76e13fd Added extra configuration checks when running windows/mac for
unsupported tray types.
2016-10-05 11:58:33 +02:00
nathan
53ece33ac5 Adjusted scaling factor for mac 2016-10-05 11:54:28 +02:00
nathan
42d053398f Fixed issues with windows/mac 2016-10-04 16:59:22 +02:00
nathan
62c73e8f32 Fixed gtk entry/sub-menu removal for SWT. code polish 2016-10-04 15:36:00 +02:00
nathan
b8cd5c875f Code polish 2016-10-04 00:21:40 +02:00
nathan
049d5b2109 Fixed issue with new dispatch methods + SWT 2016-10-04 00:21:29 +02:00
nathan
af131eb805 Fixed issue when obliterating menus (via swt). It is now "correct" in
that it won't try to create/delete menus when obliterating
 them+children
2016-10-04 00:20:55 +02:00
nathan
6f11bb9e9a Fixed typo in instructions 2016-10-04 00:18:23 +02:00
nathan
4bbe713519 Updated examples to include new functionality 2016-10-03 23:58:25 +02:00
nathan
7e2834c0cb Added setEnabled() for menu+entries, misc bug fixes for windows 2016-10-03 23:12:00 +02:00
nathan
ad8cd3709c Consolidated gtk menu (so the menuentry has the entry+menu) 2016-10-03 22:29:33 +02:00
nathan
b1398392c7 Fixed windows problem 2016-10-03 22:28:24 +02:00
nathan
b41c62c898 WIP menu cleanup 2016-10-03 20:14:09 +02:00
nathan
14ff3fae06 Fixed issues with submenu's and our popup auto-hide tracker 2016-09-29 13:07:58 +02:00
nathan
05231587d2 Code polish, fixed newly craeted JPopupMenu border + margin info. 2016-09-29 03:23:33 +02:00
nathan
b354daab68 WIP swing submenus 2016-09-29 03:00:29 +02:00
nathan
7509d7c960 Code polish 2016-09-29 02:59:59 +02:00
nathan
8d564675f8 Code polish 2016-09-29 02:07:43 +02:00
nathan
bf3cb8de11 Refactored out Menu object (from the SystemTray object). Converted
SystemTray into a crossPlatform proxy. WIP submenus
2016-09-29 01:44:11 +02:00
nathan
de8d1d8b07 Fixed swing border/margins for menus/entries 2016-09-28 18:35:25 +02:00
nathan
4b10ff9eac Added comments 2016-09-28 18:34:38 +02:00
nathan
3673ed878c Fixed "Status" menu entries so they are consistent with all other
entries (in terms of x-platform/type)
2016-09-28 18:34:27 +02:00
nathan
2fdad344c1 Code polish 2016-09-28 18:33:45 +02:00
nathan
e30033c7ff Fixed order of destroying widgets 2016-09-28 18:33:29 +02:00
nathan
280da3b0b0 Code polish 2016-09-28 17:20:13 +02:00
nathan
e1e0bafd01 Added comments 2016-09-28 17:19:48 +02:00