fa1e862259
Fügt Unterstützung für Linksklick-Aktionen hinzu
...
Ermöglicht die Ausführung einer Callback-Funktion beim Linksklick auf das Tray-Icon. Dies bietet erweiterte Interaktionsmöglichkeiten mit der Anwendung über das Tray-Icon. Zusätzlich wird das Problem behoben, dass das Icon nicht freigegeben wird und somit nicht korrekt zerstört wird.
2026-02-02 21:15:52 +01:00
Dmitry Mikushin
801d928305
Correcting warnings in the public API, correcting errors on Windows
2022-02-19 17:53:45 +01:00
Niklas Voss
e09fdcf96e
Ported darwin C-code to Objective-C, separating all three implementations into individual files
2021-11-09 18:07:33 +01:00
intika
4e35f0b7d0
update checkbox implementation
2021-11-09 12:57:56 +01:00
Oscar Morante
2348a1a5c8
fix all menu items have a check box (gtk)
2021-11-09 12:54:17 +01:00
Andreas Opferkuch
2d4e78c1f2
Set tooltip in tray_update instead of tray_init
2021-11-09 12:47:46 +01:00
Andreas Opferkuch
4fd58d2a5c
Make the tooltip optional by checking for NULL and empty string
2021-11-09 12:47:46 +01:00
Andreas Opferkuch
5cc49f2f32
Add support for a tooltip (Windows only currently)
2021-11-09 12:47:46 +01:00
Rodrigo Madera
185ec37d3e
Make tray_menu::text a const char* for correctness.
2021-11-09 12:24:49 +01:00
Rodrigo Madera
1180ae4db3
Make tray::icon a const char* for correctness.
2021-11-09 12:24:49 +01:00
Rodrigo Madera
06c28f035f
Produce a compile-time error if none of the three implementations were requested.
2021-11-09 12:24:49 +01:00
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