Top |
GtkSourceCompletionItemGtkSourceCompletionItem — Simple implementation of GtkSourceCompletionProposal |
Functions
Description
The GtkSourceCompletionItem class is a simple implementation of the GtkSourceCompletionProposal interface.
Functions
gtk_source_completion_item_new ()
GtkSourceCompletionItem *
gtk_source_completion_item_new (void
);
Creates a new GtkSourceCompletionItem. The desired properties need to be set afterwards.
Since: 4.0
gtk_source_completion_item_set_label ()
void gtk_source_completion_item_set_label (GtkSourceCompletionItem *item
,const gchar *label
);
Since: 3.24
gtk_source_completion_item_set_markup ()
void gtk_source_completion_item_set_markup (GtkSourceCompletionItem *item
,const gchar *markup
);
Since: 3.24
gtk_source_completion_item_set_text ()
void gtk_source_completion_item_set_text (GtkSourceCompletionItem *item
,const gchar *text
);
Since: 3.24
gtk_source_completion_item_set_icon ()
void gtk_source_completion_item_set_icon (GtkSourceCompletionItem *item
,GdkPixbuf *icon
);
Since: 3.24
gtk_source_completion_item_set_icon_name ()
void gtk_source_completion_item_set_icon_name (GtkSourceCompletionItem *item
,const gchar *icon_name
);
Since: 3.24
gtk_source_completion_item_set_gicon ()
void gtk_source_completion_item_set_gicon (GtkSourceCompletionItem *item
,GIcon *gicon
);
Since: 3.24
gtk_source_completion_item_set_info ()
void gtk_source_completion_item_set_info (GtkSourceCompletionItem *item
,const gchar *info
);
Since: 3.24
Property Details
The “gicon”
property
“gicon” GIcon *
The GIcon for the icon to be shown for this proposal.
Flags: Read / Write
Since: 3.18
The “icon”
property
“icon” GdkPixbuf *
The GdkPixbuf for the icon to be shown for this proposal.
Flags: Read / Write
The “icon-name”
property
“icon-name” gchar *
The icon name for the icon to be shown for this proposal.
Flags: Read / Write
Default value: NULL
Since: 3.18
The “info”
property
“info” gchar *
Optional extra information to be shown for this proposal.
Flags: Read / Write
Default value: NULL
The “label”
property
“label” gchar *
Label to be shown for this proposal.
Flags: Read / Write
Default value: NULL
The “markup”
property
“markup” gchar *
Label with markup to be shown for this proposal.
Flags: Read / Write
Default value: NULL