-
+
774 const std::string& app_name,
775 const std::string& icon_path=
"",
776 LONG menu_x_margin=5,
777 LONG menu_y_margin=5,
-
-
+
+
780 unsigned char opacity=255,
781 bool round_corner=
true) {
@@ -1523,8 +1523,8 @@
virtual ~FluentTray() noexcept
Definition fluent_tray.hpp:752
std::vector< FluentMenu >::iterator end() noexcept
Returns an iterator to the end of menus.
Definition fluent_tray.hpp:1192
FluentTray & operator=(const FluentTray &)=delete
+
bool create_tray(const std::string &app_name, const std::string &icon_path="", LONG menu_x_margin=5, LONG menu_y_margin=5, LONG menu_x_pad=10, LONG menu_y_pad=5, unsigned char opacity=255, bool round_corner=true)
Initialize tray and create icon on tray.
Definition fluent_tray.hpp:773
bool show_menu_window()
Show the menu window above the tray icon.
Definition fluent_tray.hpp:1014
-
bool create_tray(const std::string &app_name, const std::string &icon_path="", LONG menu_x_margin=5, LONG menu_y_margin=5, LONG menu_x_pad=5, LONG menu_y_pad=5, unsigned char opacity=255, bool round_corner=true)
Initialize tray and create icon on tray.
Definition fluent_tray.hpp:773
void stop() noexcept
Exit the tray successfully.
Definition fluent_tray.hpp:1176
FluentTray & operator=(FluentTray &&)=default
bool add_menu(const std::string &label_text="", const std::string &icon_path="", bool toggleable=false, const std::string &checkmark="✓", const std::function< bool(void)> &callback=[] {return true ;}, const std::function< bool(void)> &unchecked_callback=[] {return true ;})
Add a menu in order from the top.
Definition fluent_tray.hpp:906
diff --git a/docs/functions.html b/docs/functions.html
index 3a1cf8f..9555706 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -97,7 +97,7 @@
- c -
diff --git a/docs/functions_func.html b/docs/functions_func.html
index 0f6e625..6107dd3 100644
--- a/docs/functions_func.html
+++ b/docs/functions_func.html
@@ -97,7 +97,7 @@
- c -
diff --git a/docs/index.html b/docs/index.html
index 0f29727..2982400 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -110,7 +110,7 @@
-
+
tray.add_menu("Home", "demo/assets/fa-home.ico") ;
@@ -132,7 +132,7 @@
return 0 ;
}
Class with information on the entire tray.
Definition fluent_tray.hpp:688
-bool create_tray(const std::string &app_name, const std::string &icon_path="", LONG menu_x_margin=5, LONG menu_y_margin=5, LONG menu_x_pad=5, LONG menu_y_pad=5, unsigned char opacity=255, bool round_corner=true)
Initialize tray and create icon on tray.
Definition fluent_tray.hpp:773
+bool create_tray(const std::string &app_name, const std::string &icon_path="", LONG menu_x_margin=5, LONG menu_y_margin=5, LONG menu_x_pad=10, LONG menu_y_pad=5, unsigned char opacity=255, bool round_corner=true)
Initialize tray and create icon on tray.
Definition fluent_tray.hpp:773
Fluent Design-based GUI Library for System Tray Applications.