gtksourceviewmm
2.10.3
|
#include <gtksourceviewmm/sourcecompletionitem.h>
Public Member Functions | |
GtkSourceCompletionItem* | gobj () |
Provides access to the underlying C GObject. | |
const GtkSourceCompletionItem* | gobj () const |
Provides access to the underlying C GObject. | |
GtkSourceCompletionItem* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::PropertyProxy < Glib::RefPtr< Gdk::Pixbuf > > | property_icon () |
Icon to be shown for this item. | |
Glib::PropertyProxy_ReadOnly < Glib::RefPtr< Gdk::Pixbuf > > | property_icon () const |
Icon to be shown for this item. | |
Glib::PropertyProxy < Glib::ustring > | property_info () |
Info to be shown for this item. | |
Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_info () const |
Info to be shown for this item. | |
Glib::PropertyProxy < Glib::ustring > | property_label () |
Label to be shown for this item. | |
Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_label () const |
Label to be shown for this item. | |
Glib::PropertyProxy < Glib::ustring > | property_markup () |
Markup to be shown for this item. | |
Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_markup () const |
Markup to be shown for this item. | |
Glib::PropertyProxy < Glib::ustring > | property_text () |
Item text. | |
Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_text () const |
Item text. | |
Static Public Member Functions | |
static Glib::RefPtr < SourceCompletionItem > | create (const Glib::ustring& label, const Glib::ustring& text, const Glib::RefPtr< const Gdk::Pixbuf >& icon, const Glib::ustring& info) |
Create a new SourceCompletionItem with label label, icon icon and extra information info. | |
static Glib::RefPtr < SourceCompletionItem > | create (const SourceMarkup& markup, const Glib::ustring& text, const Glib::RefPtr< const Gdk::Pixbuf >& icon, const Glib::ustring& info) |
Create a new SourceCompletionItem with markup label markup, icon icon and extra information info. | |
static Glib::RefPtr < SourceCompletionItem > | create (const Glib::ustring& label, const Glib::ustring& text, const Gtk::StockID& stock, const Glib::ustring& info) |
Creates a new SourceCompletionItem from a stock item. | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr < gtksourceview::SourceCompletionItem > | wrap (GtkSourceCompletionItem* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
static Glib::RefPtr<SourceCompletionItem> gtksourceview::SourceCompletionItem::create | ( | const Glib::ustring & | label, |
const Glib::ustring & | text, | ||
const Glib::RefPtr< const Gdk::Pixbuf > & | icon, | ||
const Glib::ustring & | info | ||
) | [static] |
Create a new SourceCompletionItem with label label, icon icon and extra information info.
; If icon is empty, then there will be no icon shown. If info is empty, then no extra information will be available.
label | The item label. |
text | The item text. |
icon | The item icon. |
info | The item extra information. |
static Glib::RefPtr<SourceCompletionItem> gtksourceview::SourceCompletionItem::create | ( | const SourceMarkup& | markup, |
const Glib::ustring & | text, | ||
const Glib::RefPtr< const Gdk::Pixbuf > & | icon, | ||
const Glib::ustring & | info | ||
) | [static] |
Create a new SourceCompletionItem with markup label markup, icon icon and extra information info.
If icon is empty, then there will be no icon shown. If info is empty, then no extra information will be available.
markup | The item markup label. |
text | The item text. |
icon | The item icon. |
info | The item extra information. |
static Glib::RefPtr<SourceCompletionItem> gtksourceview::SourceCompletionItem::create | ( | const Glib::ustring & | label, |
const Glib::ustring & | text, | ||
const Gtk::StockID & | stock, | ||
const Glib::ustring & | info | ||
) | [static] |
Creates a new SourceCompletionItem from a stock item.
If label is empty, then stock label will be used.
label | The item label. |
text | The item text. |
stock | The stock icon. |
info | The item extra information. |
Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > gtksourceview::SourceCompletionItem::property_icon | ( | ) |
Icon to be shown for this item.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> > gtksourceview::SourceCompletionItem::property_icon | ( | ) | const |
Icon to be shown for this item.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustring> gtksourceview::SourceCompletionItem::property_info | ( | ) |
Info to be shown for this item.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> gtksourceview::SourceCompletionItem::property_info | ( | ) | const |
Info to be shown for this item.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustring> gtksourceview::SourceCompletionItem::property_label | ( | ) |
Label to be shown for this item.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> gtksourceview::SourceCompletionItem::property_label | ( | ) | const |
Label to be shown for this item.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustring> gtksourceview::SourceCompletionItem::property_markup | ( | ) |
Markup to be shown for this item.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> gtksourceview::SourceCompletionItem::property_markup | ( | ) | const |
Markup to be shown for this item.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustring> gtksourceview::SourceCompletionItem::property_text | ( | ) |
Item text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> gtksourceview::SourceCompletionItem::property_text | ( | ) | const |
Item text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::RefPtr< gtksourceview::SourceCompletionItem > wrap | ( | GtkSourceCompletionItem * | object, |
bool | take_copy = false |
||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |