SourceMarkAttributes
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_source_mark_attributes_get_type ()" ) ]
[ GIR ( name = "MarkAttributes" ) ]
public class SourceMarkAttributes : Object
Content:
Properties:
- public RGBA background { owned get; set; }
A color used for background of a line.
- public Icon gicon { get; set; }
A Icon that may be a base of a rendered
icon.
- public string icon_name { get; set; }
An icon name that may be a base of a rendered icon.
- public Pixbuf pixbuf { get; set; }
A Pixbuf that may be a base of a rendered
icon.
- public string stock_id { get; set; }
A stock id that may be a base of a rendered icon.
Creation methods:
Methods:
- public bool get_background (out RGBA background)
Stores background color in background
.
- public unowned Icon get_gicon ()
Gets a Icon to be used as a base for
rendered icon.
- public unowned string get_icon_name ()
Gets a name of an icon to be used as a base for rendered icon.
- public unowned Pixbuf get_pixbuf ()
Gets a Pixbuf to be used as a base for
rendered icon.
- public unowned string get_stock_id ()
Gets a stock id of an icon used by this attributes.
- public string get_tooltip_markup (SourceMark mark)
- public string get_tooltip_text (SourceMark mark)
- public unowned Pixbuf render_icon (Widget widget, int size)
Renders an icon of given size.
- public void set_background (RGBA background)
Sets background color to the one given in background
.
- public void set_gicon (Icon gicon)
Sets an icon to be used as a base for rendered icon.
- public void set_icon_name (string icon_name)
Sets a name of an icon to be used as a base for rendered icon.
- public void set_pixbuf (Pixbuf pixbuf)
Sets a pixbuf to be used as a base for rendered icon.
- public void set_stock_id (string stock_id)
Sets stock id to be used as a base for rendered icon.
Signals:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref