Suggestion
Object Hierarchy:
Dazzle.Suggestion
Dazzle.Suggestion
Dazzle.Suggestion
GLib.Object
GLib.Object
GLib.Object->Dazzle.Suggestion
Description:
[ CCode ( type_id = "dzl_suggestion_get_type ()" ) ]public class Suggestion : Object
Content:
Properties:
Creation methods:
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
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref