GtkSource.Map

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Scrollable Gtk.Scrollable GObject.GInterface->Gtk.Scrollable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.TextView Gtk.TextView Gtk.Container->Gtk.TextView Gtk.Scrollable->Gtk.TextView GtkSource.View GtkSource.View Gtk.TextView->GtkSource.View Gtk.Widget->Gtk.Container GtkSource.Map GtkSource.Map GtkSource.View->GtkSource.Map

Subclasses:

None

Methods

Inherited:

GtkSource.View (36), Gtk.TextView (73), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Scrollable (9)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

get_view ()

set_view (view)

Virtual Methods

Inherited:

GtkSource.View (6), Gtk.TextView (13), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), Gtk.Scrollable (1)

Properties

Inherited:

GtkSource.View (15), Gtk.TextView (21), Gtk.Container (3), Gtk.Widget (39), Gtk.Scrollable (4)

Name

Type

Flags

Short Description

font-desc

Pango.FontDescription

r/w

The Pango font description to use.

view

GtkSource.View

r/w

The view this widget is mapping.

Style Properties

Inherited:

Gtk.TextView (1), Gtk.Widget (17)

Signals

Inherited:

GtkSource.View (11), Gtk.TextView (16), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

GtkSource.View (11), Gtk.TextView (16), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent_instance

GtkSource.View

r

Class Details

class GtkSource.Map(**kwargs)
Bases:

GtkSource.View

Abstract:

No

Structure:

GtkSource.MapClass

classmethod new()
Returns:

a new GtkSource.Map.

Return type:

Gtk.Widget

Creates a new GtkSource.Map.

New in version 3.18.

get_view()
Returns:

a GtkSource.View or None.

Return type:

GtkSource.View or None

Gets the GtkSource.Map :view property, which is the view this widget is mapping.

New in version 3.18.

set_view(view)
Parameters:

view (GtkSource.View) – a GtkSource.View

Sets the view that self will be doing the mapping to.

New in version 3.18.

Property Details

GtkSource.Map.props.font_desc
Name:

font-desc

Type:

Pango.FontDescription

Default Value:

None

Flags:

READABLE, WRITABLE

The Pango font description to use.

GtkSource.Map.props.view
Name:

view

Type:

GtkSource.View

Default Value:

None

Flags:

READABLE, WRITABLE

The view this widget is mapping.