SourceCompletionItem.this

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.

  1. this(GtkSourceCompletionItem* gtkSourceCompletionItem, bool ownedRef)
  2. this(string label, string text, Pixbuf icon, string info, bool markup)
    class SourceCompletionItem
    this
    (
    string label
    ,
    string text
    ,,
    string info
    ,
    bool markup = false
    )
  3. this(string label, string text, string stock, string info)
  4. this()

Parameters

label string

The item label.

text string

The item text.

icon Pixbuf

The item icon. [allow-none]

info string

The item extra information. [allow-none]

markup bool

If true label will be treated as markup. using gtk_source_completion_item_new_with_markup.

Throws

ConstructionException GTK+ fails to create the object.

Meta