| Top |
GtkSourceCompletionItem * gtk_source_completion_item_new (const gchar *label,const gchar *text,GdkPixbuf *icon,const gchar *info);
Create a new GtkSourceCompletionItem with label label
, icon icon
and
extra information info
. Both icon
and info
can be NULL in which case
there will be no icon shown and no extra information available.
GtkSourceCompletionItem * gtk_source_completion_item_new_with_markup (const gchar *markup,const gchar *text,GdkPixbuf *icon,const gchar *info);
Create a new GtkSourceCompletionItem with markup label markup
, icon
icon
and extra information info
. Both icon
and info
can be NULL in
which case there will be no icon shown and no extra information available.
GtkSourceCompletionItem * gtk_source_completion_item_new_from_stock (const gchar *label,const gchar *text,const gchar *stock,const gchar *info);
Creates a new GtkSourceCompletionItem from a stock item. If label
is NULL,
the stock label will be used.
“info” property “info” gchar *
Optional extra information to be shown for this proposal.
Flags: Read / Write
Default value: NULL
“label” property “label” gchar *
Label to be shown for this proposal.
Flags: Read / Write
Default value: NULL
“markup” property “markup” gchar *
Label with markup to be shown for this proposal.
Flags: Read / Write
Default value: NULL