mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	feat(tray): implement tooltips (text only) for tray items
This commit is contained in:
		| @@ -16,6 +16,11 @@ | ||||
|  | ||||
| namespace waybar::modules::SNI { | ||||
|  | ||||
| struct ToolTip { | ||||
|   Glib::ustring icon_name; | ||||
|   Glib::ustring text; | ||||
| }; | ||||
|  | ||||
| class Item : public sigc::trackable { | ||||
|  public: | ||||
|   Item(const std::string&, const std::string&, const Json::Value&); | ||||
| @@ -41,6 +46,7 @@ class Item : public sigc::trackable { | ||||
|   std::string                  attention_movie_name; | ||||
|   std::string                  icon_theme_path; | ||||
|   std::string                  menu; | ||||
|   ToolTip                      tooltip; | ||||
|   DbusmenuGtkMenu*             dbus_menu = nullptr; | ||||
|   Gtk::Menu*                   gtk_menu = nullptr; | ||||
|   /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aleksei Bavshin
					Aleksei Bavshin