Mercurial > dwindows
diff dw.h @ 2066:2c2530f8cbef
Initial design for system notification support on GTK.
Windows, Mac and possibly OS/2 Support will follow.
GTK support requires Glib 2.40 or higher.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 14 May 2020 01:52:27 +0000 |
parents | 48b91f535f82 |
children | ade83a05a7d8 |
line wrap: on
line diff
--- a/dw.h Mon Apr 27 08:55:40 2020 +0000 +++ b/dw.h Thu May 14 01:52:27 2020 +0000 @@ -1827,6 +1827,8 @@ HPRINT API dw_print_new(const char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata); int API dw_print_run(HPRINT print, unsigned long flags); void API dw_print_cancel(HPRINT print); +HWND API dw_notification_new(const char *title, HPIXMAP pixmap, const char *description, ...); +int API dw_notification_send(HWND notification); wchar_t * API dw_utf8_to_wchar(const char *utf8string); char * API dw_wchar_to_utf8(const wchar_t *wstring); /* Exported for language bindings */