SourceMarkAttributes
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_source_mark_attributes_get_type ()" ) ]
[ GIR ( name = "MarkAttributes" ) ]
public class SourceMarkAttributes : Object
[ GIR ( name = "MarkAttributes" ) ]
public class SourceMarkAttributes : Object
Namespace: Gtk
Package: gtksourceview-4
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.
Creation methods:
- public SourceMarkAttributes ()
Creates a new source mark attributes.
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 string get_tooltip_markup (SourceMark mark)
Queries for a tooltip by emitting a query_tooltip_markup signal.
- public string get_tooltip_text (SourceMark mark)
Queries for a tooltip by emitting a query_tooltip_text signal.
- 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.
Signals:
- public signal string query_tooltip_markup (SourceMark mark)
The code should connect to this signal to provide a tooltip for given
mark
. - public signal string query_tooltip_text (SourceMark mark)
The code should connect to this signal to provide a tooltip for given
mark
.
Inherited Members:
All known members inherited from class GLib.Object