| Top |
Implemented Interfaces
GtkEmojiChooser implements AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkShortcutManager and GtkNative.
Description
The GtkEmojiChooser popover is used by text widgets such as GtkEntry or GtkTextView to offer users a convenient way to insert Emoji characters.
GtkEmojiChooser emits the “emoji-picked” signal when an Emoji is selected.
CSS nodes
1 2 3 4 5 |
popover ╰── box.emoji-toolbar ├── button.iamge-button.emoji-section ├── ... ╰── button.image-button.emoji-section |
Every GtkEmojiChooser consists of a main node called popover. The contents of the popover are largely implementation defined and supposed to inherit general styles. The bottom toolbar used to switch between different emoji categories consists of buttons with the .emoji-section style class and gets the .emoji-toolbar style class itself.
Functions
Signal Details
The “emoji-picked” signal
void user_function (GtkEmojiChooser *chooser, gchar *text, gpointer user_data)
The ::emoji-picked signal is emitted when the user selects an Emoji.
Parameters
chooser |
the GtkEmojiChooser |
|
text |
the Unicode sequence for the picked Emoji, in UTF-8 |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
