[ CCode ( has_construct_function = false ) ]
public SourceCompletionItem.from_stock (string label, string text, string stock, string info)
Creates a new SourceCompletionItem from a stock item.
Use gtk_source_completion_item_new2 instead.
If label is null, the stock label will be used.
| label |
The item label. |
| text |
The item text. |
| stock |
The stock icon. |
| info |
The item extra information. |
|
a new SourceCompletionItem. |