GwySelectionGraphLine — Single coordinate graph selection
GwySelection * | gwy_selection_graph_line_new () |
GwyOrientation | orientation | Read / Write |
struct | GwySelectionGraphLine |
struct | GwySelectionGraphLineClass |
GObject ╰── GwySelection ╰── GwySelectionGraphLine
GwySelectionGraphLine implements GwySerializable.
#include <libgwydgets/gwydgets.h>
GwySelectionGraphLine is used to represent signle coodinate (x
or y
)
graph selections. Selection data consists of signle coordinates.
If you obtain the selection from a graph widget it has the "orientation" property set for information. The orientation should be kept intact in this case as changing it is not meaningful. The graph keeps two distinct horizontal and vertical selection objects.
GwySelection *
gwy_selection_graph_line_new (void
);
Creates a new line-wise graph selection.
A new selection object.
Since: 2.1
struct GwySelectionGraphLine;
struct GwySelectionGraphLineClass { GwySelectionClass parent_class; };
“orientation”
property“orientation” GwyOrientation
The :orientation property represents the orientation of the selected lines.
The orientation is GWY_ORIENTATION_HORIZONTAL
for selections along the
x
-axis, i.e. vertical lines, and GWY_ORIENTATION_VERTICAL
for
selections along the y
-axis, i.e. horizontal lines.
Owner: GwySelectionGraphLine
Flags: Read / Write
Default value: GWY_ORIENTATION_HORIZONTAL
Since: 2.43