mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-01 00:12:42 +01:00 
			
		
		
		
	feat(Tray): handle click
This commit is contained in:
		| @@ -33,10 +33,14 @@ class Item { | ||||
|   private: | ||||
|     static void proxyReady(GObject* obj, GAsyncResult* res, gpointer data); | ||||
|     static void getAll(GObject* obj, GAsyncResult* res, gpointer data); | ||||
|     static void handleActivate(GObject*, GAsyncResult*, gpointer); | ||||
|     static void handleSecondaryActivate(GObject*, GAsyncResult*, gpointer); | ||||
|  | ||||
|     void updateImage(); | ||||
|     Glib::RefPtr<Gdk::Pixbuf> extractPixBuf(GVariant* variant); | ||||
|     Glib::RefPtr<Gdk::Pixbuf> getIconByName(std::string name, int size); | ||||
|     bool handleClick(GdkEventButton* const& /*ev*/); | ||||
|  | ||||
|     Glib::Dispatcher* dp_; | ||||
|     GCancellable* cancellable_ = nullptr; | ||||
|     SnOrgKdeStatusNotifierItem* proxy_ = nullptr; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexis
					Alexis