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

Properties

Inherited:GtkSource.View (16), 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)

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.