Selection
Interface
constructor
base_
iface
name
get_
selected_
text
get_
selection_
region
render_
selection
GJS API Reference
EvinceDocument-3.0
EvinceDocument
SelectionInterface
Class SelectionInterface
Hierarchy
SelectionInterface
Index
Constructors
constructor
Properties
base_
iface
name
Methods
get_
selected_
text
get_
selection_
region
render_
selection
Constructors
constructor
new
Selection
Interface
(
)
:
SelectionInterface
Returns
SelectionInterface
Properties
base_
iface
base_
iface
:
TypeInterface
Static
name
name
:
string
Methods
get_
selected_
text
get_
selected_
text
(
selection
:
EvinceDocument
.
Selection
, page
:
EvinceDocument
.
Page
, style
:
EvinceDocument
.
SelectionStyle
, points
:
EvinceDocument
.
Rectangle
)
:
string
Parameters
selection:
EvinceDocument
.
Selection
page:
EvinceDocument
.
Page
style:
EvinceDocument
.
SelectionStyle
points:
EvinceDocument
.
Rectangle
Returns
string
get_
selection_
region
get_
selection_
region
(
selection
:
EvinceDocument
.
Selection
, rc
:
RenderContext
, style
:
EvinceDocument
.
SelectionStyle
, points
:
EvinceDocument
.
Rectangle
)
:
cairo
.
Region
Parameters
selection:
EvinceDocument
.
Selection
rc:
RenderContext
style:
EvinceDocument
.
SelectionStyle
points:
EvinceDocument
.
Rectangle
Returns
cairo
.
Region
render_
selection
render_
selection
(
selection
:
EvinceDocument
.
Selection
, rc
:
RenderContext
, surface
:
cairo
.
Surface
, points
:
EvinceDocument
.
Rectangle
, old_points
:
EvinceDocument
.
Rectangle
, style
:
EvinceDocument
.
SelectionStyle
, text
:
Gdk
.
Color
, base
:
Gdk
.
Color
)
:
void
Parameters
selection:
EvinceDocument
.
Selection
rc:
RenderContext
surface:
cairo
.
Surface
points:
EvinceDocument
.
Rectangle
old_points:
EvinceDocument
.
Rectangle
style:
EvinceDocument
.
SelectionStyle
text:
Gdk
.
Color
base:
Gdk
.
Color
Returns
void
Selection
Interface
constructor
base_
iface
name
get_
selected_
text
get_
selection_
region
render_
selection
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InR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