diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-08-19 14:06:47 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-04-23 18:54:43 -0400 |
commit | 1104a8fdb7c19822faf7cdf737cae43a06615742 (patch) | |
tree | 656a5ecc89557c2bcb46766163dee8fd47c11331 /gtk/ui/gtkemojicompletion.ui | |
parent | e283ed55232fe183ed3f762824364eff96d88f33 (diff) | |
download | gtk+-1104a8fdb7c19822faf7cdf737cae43a06615742.tar.gz |
Add an emoji completion popup
This widget provides entry completion-like functionality
for Emoji codes like :grin: or :kiss:.
Diffstat (limited to 'gtk/ui/gtkemojicompletion.ui')
-rw-r--r-- | gtk/ui/gtkemojicompletion.ui | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk/ui/gtkemojicompletion.ui b/gtk/ui/gtkemojicompletion.ui new file mode 100644 index 0000000000..f7a5e1baea --- /dev/null +++ b/gtk/ui/gtkemojicompletion.ui @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface domain="gtk40"> + <template class="GtkEmojiCompletion" parent="GtkPopover"> + <property name="modal">0</property> + <style> + <class name="emoji-completion"/> + </style> + <child> + <object class="GtkListBox" id="list"> + <property name="selection-mode">none</property> + <property name="activate-on-single-click">1</property> + <signal name="row-activated" handler="row_activated"/> + </object> + </child> + </template> +</interface> |