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