SourceCompletionItem
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , deprecated_since = "3.24" ) ]
public SourceCompletionItem (string label, string text, Pixbuf? icon, string? info)
[ Version ( deprecated = true , deprecated_since = "3.24" ) ]
public SourceCompletionItem (string label, string text, Pixbuf? icon, string? info)
Warning: SourceCompletionItem is deprecated since 3.24.
Create a new SourceCompletionItem with label label
,
icon icon
and extra information info
.
Note:
Use new2 instead.
Both icon
and info
can be null
in which case there will be no icon shown and no extra information
available.
Parameters:
label |
The item label. |
text |
The item text. |
icon |
The item icon. |
info |
The item extra information. |
Returns:
a new SourceCompletionItem. |