1
0
forked from Yadciel/c_tray
Commit Graph

30 Commits

Author SHA1 Message Date
Nicolas Burrus
08ac69e02a Only process messages coming from the tray window. This avoids potential bugs where the tray loop would steal messages from other windows. 2021-11-09 11:59:07 +01:00
Andreas Opferkuch
2ae960fcfc [win] close menu if user clicks outside
See also here ("Important: If you implement a context menu, it's vital that you set your window to the foreground before calling TrackPopupMenu to ensure the menu closes properly."):
https://www.codeproject.com/Articles/4768/Basic-use-of-Shell-NotifyIcon-in-Win32
2018-07-29 14:41:25 +02:00
Jeremy Legendre
32f3bdb834 macOS version in obj-c runtime 2018-07-22 22:58:15 -04:00
Serge A. Zaitsev
f71d2ba1d9 added nested menus for macos 2017-01-12 13:31:17 +02:00
Serge A. Zaitsev
f0bdf44848 fixed id numbering in winapi that caused crashes on submenus 2017-01-12 13:15:12 +02:00
Serge A. Zaitsev
bf44ecfdb3 implemented nested submenus in winapi 2017-01-12 13:00:23 +02:00
Serge A. Zaitsev
a1e7598f44 moved submenu to the end of the struct to make menu desclaration look better, formatted 2017-01-12 12:48:32 +02:00
Serge A. Zaitsev
b677473cd4 simplified recusrive menus (gtk) 2017-01-12 12:44:31 +02:00
angelskieglazki
a66de7c433 1)deleted old struct; 2) formated code 2017-01-12 11:02:46 +03:00
Max
22f65a80a9 deleted old callback 2017-01-11 20:59:47 +03:00
Max
ed255d1a03 added recursive procedure for submenu. Used one struct for submenu: tray_menu 2017-01-11 20:57:36 +03:00
Max
26009610c1 create recursive for submenu 2017-01-11 18:27:30 +03:00
Max
ec1abb7520 some fix 2017-01-11 00:17:06 +03:00
angelskieglazki
a09222db55 added submenu 2017-01-10 17:47:28 +03:00
Max
19d958a831 some example for <Nested menus> 2017-01-10 00:43:05 +03:00
Serge A. Zaitsev
8a49d742e3 added nonblocking mode for windows imeplementation 2017-01-09 15:51:06 +02:00
Serge A. Zaitsev
00651bb416 fixed unused parameters in functions 2017-01-09 15:45:45 +02:00
Serge A. Zaitsev
8b67c98426 added stub implementation, added return status to winapi init function 2017-01-09 15:43:22 +02:00
Serge A. Zaitsev
3872bfcb4a fixed memory leak on windows; mac and gtk should be reference-counted 2017-01-09 15:37:34 +02:00
Serge A. Zaitsev
3bfe7aa50c fixed init status on macos, moved tray icon paths to #ifdef block 2017-01-09 14:49:57 +02:00
Serge A. Zaitsev
7911e64bf1 trying to make macos implementation for checked/disabled 2017-01-09 14:39:05 +02:00
Serge A. Zaitsev
7595585680 removed unused tooltip field 2017-01-09 14:35:05 +02:00
Serge A. Zaitsev
8708a93003 implemented checked/disabled items with winapi, fixed menu callback crashes 2017-01-09 14:33:49 +02:00
Serge A. Zaitsev
6ecca1fe68 added disabled/enabled flags for gtk implementation 2017-01-09 14:30:45 +02:00
Serge A. Zaitsev
1a4a1446f5 added separator items 2017-01-09 14:21:44 +02:00
Serge A. Zaitsev
14a8be3424 formatting changes 2017-01-08 15:34:25 +02:00
Serge A. Zaitsev
6534a32a20 added winapi implementation draft 2017-01-08 15:34:05 +02:00
Serge A. Zaitsev
12e79be088 changed formatting 2017-01-08 00:34:21 +02:00
Serge A. Zaitsev
fad5f0d87a added macos implementation draft 2017-01-08 00:33:15 +02:00
Serge A. Zaitsev
f027ece193 initial commit, gtk/appindicator implementation draft 2017-01-07 21:08:46 +02:00