aboutsummaryrefslogtreecommitdiff
path: root/src/Focusable.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Focusable.hh')
-rw-r--r--src/Focusable.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Focusable.hh b/src/Focusable.hh
index 679e00b..fd0705b 100644
--- a/src/Focusable.hh
+++ b/src/Focusable.hh
@@ -54,8 +54,10 @@ public:
54 54
55 /// @return true if the focusable has input focus 55 /// @return true if the focusable has input focus
56 virtual bool isFocused() const { return m_focused; } 56 virtual bool isFocused() const { return m_focused; }
57 /// @return return true if it can be focused 57 /// @return true if it can be focused
58 virtual bool acceptsFocus() const { return true; } 58 virtual bool acceptsFocus() const { return true; }
59 /// @return true if temporarily prevented from being focused
60 virtual bool isModal() const { return false; }
59 61
60 /// @return true if icon button should appear focused 62 /// @return true if icon button should appear focused
61 bool getAttentionState() const { return m_attention_state; } 63 bool getAttentionState() const { return m_attention_state; }