Interface

AtrilDocumentSelection

since: 1.5.0

Description

interface AtrilDocument.Selection : GObject.Object
No description available.

Available since: 1.5.0

Prerequisite

In order to implement Selection, your type must inherit fromGObject.

Instance methods

ev_selection_get_selected_text
No description available.

since: 1.5.0

ev_selection_get_selection_region
No description available.

since: 1.5.0

ev_selection_render_selection
No description available.

since: 1.5.0

Interface structure

struct AtrilDocumentSelectionInterface {
  GTypeInterface base_iface;
  void (* render_selection) (
    EvSelection* selection,
    EvRenderContext* rc,
    cairo_surface_t** surface,
    EvRectangle* points,
    EvRectangle* old_points,
    EvSelectionStyle style,
    GdkColor* text,
    GdkColor* base
  );
  gchar* (* get_selected_text) (
    EvSelection* selection,
    EvPage* page,
    EvSelectionStyle style,
    EvRectangle* points
  );
  cairo_region_t* (* get_selection_region) (
    EvSelection* selection,
    EvRenderContext* rc,
    EvSelectionStyle style,
    EvRectangle* points
  );
  
}
No description available.
Interface members
base_iface
GTypeInterface
 No description available.
render_selection
void (* render_selection) (
    EvSelection* selection,
    EvRenderContext* rc,
    cairo_surface_t** surface,
    EvRectangle* points,
    EvRectangle* old_points,
    EvSelectionStyle style,
    GdkColor* text,
    GdkColor* base
  )
 No description available.
get_selected_text
gchar* (* get_selected_text) (
    EvSelection* selection,
    EvPage* page,
    EvSelectionStyle style,
    EvRectangle* points
  )
 No description available.
get_selection_region
cairo_region_t* (* get_selection_region) (
    EvSelection* selection,
    EvRenderContext* rc,
    EvSelectionStyle style,
    EvRectangle* points
  )
 No description available.

Virtual methods

AtrilDocument.Selection.get_selected_text
No description available.

since: 1.5.0

AtrilDocument.Selection.get_selection_region
No description available.

since: 1.5.0

AtrilDocument.Selection.render_selection
No description available.

since: 1.5.0