SourceCompletionItem.with_markup
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , deprecated_since = "3.24" ) ]
public SourceCompletionItem.with_markup (string markup, string text, Pixbuf? icon, string? info)
[ 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
.
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:
markup |
The item markup label. |
text |
The item text. |
icon |
The item icon. |
info |
The item extra information. |
Returns:
a new SourceCompletionItem. |