GtkEmojiChooser

GtkEmojiChooser — A popover to choose an Emoji character

Functions

Signals

void emoji-picked Run Last

Types and Values

  GtkEmojiChooser

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkPopover
                        ╰── GtkEmojiChooser

Implemented Interfaces

GtkEmojiChooser implements AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkNative.

Includes

#include <gtk/gtk.h>

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.

Functions

gtk_emoji_chooser_new ()

GtkWidget *
gtk_emoji_chooser_new (void);

Creates a new GtkEmojiChooser.

Returns

a new GtkEmojiChoser

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