Text
Layout
Class
constructor
parent_
class
name
allocate_
child
changed
free_
line_
data
get_
log_
attrs
invalidate
invalidate_
cursors
invalidated
GJS API Reference
Gtk-2.0
Gtk
TextLayoutClass
Class TextLayoutClass
Hierarchy
TextLayoutClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
allocate_
child
changed
free_
line_
data
get_
log_
attrs
invalidate
invalidate_
cursors
invalidated
Constructors
constructor
new
Text
Layout
Class
(
)
:
TextLayoutClass
Returns
TextLayoutClass
Properties
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
allocate_
child
allocate_
child
(
layout
:
TextLayout
, child
:
Gtk
.
Widget
, x
:
number
, y
:
number
)
:
void
Parameters
layout:
TextLayout
child:
Gtk
.
Widget
x:
number
y:
number
Returns
void
changed
changed
(
layout
:
TextLayout
, y
:
number
, old_height
:
number
, new_height
:
number
)
:
void
Parameters
layout:
TextLayout
y:
number
old_height:
number
new_height:
number
Returns
void
free_
line_
data
free_
line_
data
(
layout
:
TextLayout
, line
:
TextLine
, line_data
:
TextLineData
)
:
void
Parameters
layout:
TextLayout
line:
TextLine
line_data:
TextLineData
Returns
void
get_
log_
attrs
get_
log_
attrs
(
layout
:
TextLayout
, line
:
TextLine
, attrs
:
LogAttr
, n_attrs
:
number
)
:
void
Parameters
layout:
TextLayout
line:
TextLine
attrs:
LogAttr
n_attrs:
number
Returns
void
invalidate
invalidate
(
layout
:
TextLayout
, start
:
Gtk
.
TextIter
, end
:
Gtk
.
TextIter
)
:
void
Parameters
layout:
TextLayout
start:
Gtk
.
TextIter
end:
Gtk
.
TextIter
Returns
void
invalidate_
cursors
invalidate_
cursors
(
layout
:
TextLayout
, start
:
Gtk
.
TextIter
, end
:
Gtk
.
TextIter
)
:
void
Parameters
layout:
TextLayout
start:
Gtk
.
TextIter
end:
Gtk
.
TextIter
Returns
void
invalidated
invalidated
(
layout
:
TextLayout
)
:
void
Parameters
layout:
TextLayout
Returns
void
Text
Layout
Class
constructor
parent_
class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