diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-07-29 12:31:20 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-29 12:31:20 -0300 |
commit | 0fcc28b6f370c478d1990af51070f9fbee531c20 (patch) | |
tree | d00c731ee1e6c762c53a04c6833b7c7f59cc8c58 /scene/gui/tabs.h | |
parent | d2aaf460fbb5d743adae1ea079a24cdd834d659f (diff) | |
parent | 1bb13e95a89c57996d6d6d937e49a6329c03d940 (diff) | |
download | redot-engine-0fcc28b6f370c478d1990af51070f9fbee531c20.tar.gz |
Merge pull request #15269 from ianb96/context_menu_improvements
Context Menu Improvements
Diffstat (limited to 'scene/gui/tabs.h')
-rw-r--r-- | scene/gui/tabs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/gui/tabs.h b/scene/gui/tabs.h index 3b38e7f2cb..e204f4364b 100644 --- a/scene/gui/tabs.h +++ b/scene/gui/tabs.h @@ -83,6 +83,8 @@ private: int rb_hover; bool rb_pressing; + bool select_with_rmb; + int cb_hover; bool cb_pressing; CloseButtonDisplayPolicy cb_displaypolicy; @@ -150,6 +152,9 @@ public: void set_tabs_rearrange_group(int p_group_id); int get_tabs_rearrange_group() const; + void set_select_with_rmb(bool p_enabled); + bool get_select_with_rmb() const; + void ensure_tab_visible(int p_idx); void set_min_width(int p_width); |