PapersDocument.Selection
Description: Reference for PapersDocument.Selection

### Interface

# PapersDocumentSelection

#### Description

    interface PapersDocument.Selection : GObject.Object

No description available.

#### Prerequisite

In order to implement Selection, your type must inherit from`GObject`.

#### Instance methods

###### pps_selection_get_selected_text

No description available.

###### pps_selection_get_selection_region

No description available.

###### pps_selection_render_selection

No description available.

#### Interface structure

    struct PapersDocumentSelectionInterface {
      GTypeInterface base_iface;
      void (* render_selection) (
        PpsSelection* selection,
        PpsRenderContext* rc,
        cairo_surface_t** surface,
        PpsRectangle* points,
        PpsRectangle* old_points,
        PpsSelectionStyle style,
        GdkRGBA* text,
        GdkRGBA* base
      );
      gchar* (* get_selected_text) (
        PpsSelection* selection,
        PpsPage* page,
        PpsSelectionStyle style,
        PpsRectangle* points
      );
      cairo_region_t* (* get_selection_region) (
        PpsSelection* selection,
        PpsRenderContext* rc,
        PpsSelectionStyle style,
        PpsRectangle* points
      );

    }

No description available.

###### Interface members

`base_iface` |
    GTypeInterface
| No description available.
`render_selection` |
    void (* render_selection) (
        PpsSelection* selection,
        PpsRenderContext* rc,
        cairo_surface_t** surface,
        PpsRectangle* points,
        PpsRectangle* old_points,
        PpsSelectionStyle style,
        GdkRGBA* text,
        GdkRGBA* base
      )
| No description available.
`get_selected_text` |
    gchar* (* get_selected_text) (
        PpsSelection* selection,
        PpsPage* page,
        PpsSelectionStyle style,
        PpsRectangle* points
      )
| No description available.
`get_selection_region` |
    cairo_region_t* (* get_selection_region) (
        PpsSelection* selection,
        PpsRenderContext* rc,
        PpsSelectionStyle style,
        PpsRectangle* points
      )
| No description available.

#### Virtual methods

###### PapersDocument.Selection.get_selected_text

No description available.

###### PapersDocument.Selection.get_selection_region

No description available.

###### PapersDocument.Selection.render_selection

No description available.