1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:17:35 +00:00

LibGUI: Add context_menu_event to GTreeView

This commit is contained in:
Tommy Nguyen 2019-12-12 04:48:49 -05:00 committed by Andreas Kling
parent b32e961a84
commit f26548395e
2 changed files with 15 additions and 0 deletions

View file

@ -18,6 +18,7 @@ protected:
virtual void keydown_event(GKeyEvent&) override;
virtual void did_update_selection() override;
virtual void did_update_model() override;
virtual void context_menu_event(GContextMenuEvent&) override;
private:
GModelIndex index_at_content_position(const Point&, bool& is_toggle) const;