Gnm.TextView

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.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gnm.TextView Gnm.TextView Gtk.Box Gtk.Box Gtk.Box->Gnm.TextView Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

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

class

new ()

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

attributes

Pango.AttrList

r/w

A Pango.AttrList derived from the buffer content.

text

str

r/w

The text content

wrap

Gtk.WrapMode

r/w

The wrapping mode

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Short Description

changed

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Class Details

class Gnm.TextView(*args, **kwargs)
Bases:

Gtk.Box

Abstract:

No

classmethod new()
Returns:

a new Gnm.TextView.

Return type:

Gnm.TextView

Signal Details

Gnm.TextView.signals.changed(text_view)
Signal Name:

changed

Flags:

RUN_LAST

Parameters:

text_view (Gnm.TextView) – The object which received the signal

Property Details

Gnm.TextView.props.attributes
Name:

attributes

Type:

Pango.AttrList

Default Value:

None

Flags:

READABLE, WRITABLE

A Pango.AttrList derived from the buffer content.

Gnm.TextView.props.text
Name:

text

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

The text content

Gnm.TextView.props.wrap
Name:

wrap

Type:

Gtk.WrapMode

Default Value:

Gtk.WrapMode.WORD

Flags:

READABLE, WRITABLE

The wrapping mode