diff options
Diffstat (limited to 'vcl/inc/unx/gtk/gtksalmenu.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtksalmenu.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx index 966b7f8fd73d..84696597bbc6 100644 --- a/vcl/inc/unx/gtk/gtksalmenu.hxx +++ b/vcl/inc/unx/gtk/gtksalmenu.hxx @@ -47,6 +47,8 @@ private: bool mbMenuBar; bool mbNeedsUpdate; + bool mbReturnFocusToDocument; + GtkWidget* mpMenuBarContainerWidget; GtkWidget* mpMenuBarWidget; GtkWidget* mpCloseButton; Menu* mpVCLMenu; @@ -115,9 +117,13 @@ public: void CreateMenuBarWidget(); void DestroyMenuBarWidget(); + gboolean SignalKey(GdkEventKey* pEvent); + void ReturnFocus(); virtual bool ShowNativePopupMenu(FloatingWindow * pWin, const Rectangle& rRect, FloatWinPopupFlags nFlags) override; virtual void ShowCloseButton(bool bShow) override; + virtual bool CanGetFocus() const override; + virtual bool TakeFocus() override; }; class GtkSalMenuItem : public SalMenuItem |