summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget_gtk.h')
-rw-r--r--views/widget/widget_gtk.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h
index e748945..4efe515 100644
--- a/views/widget/widget_gtk.h
+++ b/views/widget/widget_gtk.h
@@ -38,12 +38,17 @@ class WidgetGtk
// Type of widget.
enum Type {
// Used for popup type windows (bubbles, menus ...).
+ // NOTE: on X windows of this type can NOT get focus. If you need a popup
+ // like widget that can be focused use TYPE_WINDOW and set the window type
+ // to WINDOW_TYPE_CHROME_INFO_BUBBLE.
TYPE_POPUP,
- // A top level window with no title, no control buttons.
- // control.
+
+ // A top level window with no title or control buttons.
TYPE_WINDOW,
+
// A top level, decorated window.
TYPE_DECORATED_WINDOW,
+
// A child widget.
TYPE_CHILD
};