def on_emoji_selected(self, dummy_flowbox, flowbox_child):
'''
Signal handler for selecting an emoji in the flowbox
via the flowbox selection
Not called if long press gestures are used to show the
skin tone popovers. In that case, emoji selection is handled
in on_flowbox_event_box_button_release() instead.
:param dummy_flowbox: The flowbox displaying the Emoji
:type dummy_flowbox: Gtk.FlowBox object
:param flowbox_child: The child object containing the selected emoji
:type flowbox_child: Gtk.FlowBoxChild object
'''
if _ARGS.debug:
sys.stdout.write("on_emoji_selected()\n")
event_box = flowbox_child.get_child()
self._emoji_event_box_selected(event_box)
return Gdk.EVENT_PROPAGATE
评论列表
文章目录