Suggestion
Object Hierarchy:
Description:
Namespace: Dazzle
Package: libdazzle-1.0
Content:
Properties:
- public Icon icon { owned get; }
- public string icon_name { get; set; }
- public string id { get; set; }
- public Icon secondary_icon { owned get; }
- public string secondary_icon_name { get; set; }
- public string subtitle { get; set; }
- public string title { get; set; }
Creation methods:
- public Suggestion ()
Methods:
- public virtual Icon? get_icon ()
Gets the icon for the suggestion, if any.
- public unowned string get_icon_name ()
- public virtual Surface? get_icon_surface (Widget widget)
This function allows subclasses to dynamicly generate content for the suggestion such as may be required when integrating with favicons or similar.
- public unowned string get_id ()
- public virtual Icon? get_secondary_icon ()
Gets the secondary icon for the suggestion, if any.
- public unowned string get_secondary_icon_name ()
- public virtual Surface? get_secondary_icon_surface (Widget widget)
This function allows subclasses to dynamicly generate content for the suggestion such as may be required when integrating with favicons or similar.
- public unowned string get_subtitle ()
- public unowned string get_title ()
- public void set_icon_name (string icon_name)
- public void set_id (string id)
- public void set_secondary_icon_name (string icon_name)
- public void set_subtitle (string subtitle)
- public void set_title (string title)
Signals:
- public virtual signal string replace_typed_text (string typed_text)
This function is meant to be used to replace the text in the entry with text that represents the suggestion most accurately.
- public virtual signal string suggest_suffix (string typed_text)
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.
Inherited Members:
All known members inherited from class GLib.Object