aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface-gtk.h')
-rw-r--r--src/interface-gtk.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/interface-gtk.h b/src/interface-gtk.h
index 6c8e055..ac242f2 100644
--- a/src/interface-gtk.h
+++ b/src/interface-gtk.h
@@ -116,8 +116,15 @@ public:
inline void
popup_show_impl(void)
{
+ /* FIXME: scroll through popup contents */
gtk_widget_show(popup_widget);
}
+ /* implementation of Interface::popup_is_shown() */
+ inline bool
+ popup_is_shown_impl(void)
+ {
+ return gtk_widget_get_visible(popup_widget);
+ }
/* implementation of Interface::popup_clear() */
void popup_clear_impl(void);