Sets our main struct and passes it to the parent class.
Gets the icon for the suggestion, if any.
This function allows subclasses to dynamicly generate content for the suggestion such as may be required when integrating with favicons or similar.
the main Gtk struct as a void*
Get the main Gtk struct
This function is meant to be used to replace the text in the entry with text that represents the suggestion most accurately. This happens when the user presses tab while typing a suggestion. For example, if typing "gno" in the entry, you might have a suggest_suffix of "me.org" so that the user sees "gnome.org". But the replace_typed_text might include more data such as "https://gnome.org" as it more closely represents the suggestion.
This function requests potential text to append to @typed_text to make it more clear to the user what they will be activating by selecting this suggestion. For example, if they start typing "gno", a potential suggested suffix might be "me.org" to create "gnome.org".
the main Gtk struct