![]() |
![]() |
![]() |
Gwyddion Widgets Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libgwydgets/gwydgets.h>
enum GwyAxisScaleFormat;
enum Gwy3DMovement;
enum Gwy3DProjection;
enum Gwy3DVisualization;
enum Gwy3DViewLabel;
enum GwyUnitsPlacement;
enum GwyHScaleStyle;
enum GwyGraphStatusType;
enum GwyGraphGridType;
enum GwyGraphPointType;
enum GwyGraphCurveType;
enum GwyGraphLabelPosition;
enum GwyGraphModelExportStyle;
enum GwyLayerBasicRangeType;
enum GwyCurveType;
enum GwyCurveChannel;
const GwyEnum * gwy_graph_curve_type_get_enum (void
);
enum GwyMarkerOperationType;
enum GwyDataViewLayerType;
enum GwyTicksStyle;
typedef enum { GWY_AXIS_SCALE_FORMAT_AUTO, GWY_AXIS_SCALE_FORMAT_EXP, GWY_AXIS_SCALE_FORMAT_INT } GwyAxisScaleFormat;
Labeled axis tick mark format.
typedef enum { /*< lowercase_name=gwy_3d_movement >*/ GWY_3D_MOVEMENT_NONE = 0, GWY_3D_MOVEMENT_ROTATION, GWY_3D_MOVEMENT_SCALE, GWY_3D_MOVEMENT_DEFORMATION, GWY_3D_MOVEMENT_LIGHT } Gwy3DMovement;
The type of 3D view change that happens when user drags it with mouse.
typedef enum { /*< lowercase_name=gwy_3d_projection >*/ GWY_3D_PROJECTION_ORTHOGRAPHIC = 0, GWY_3D_PROJECTION_PERSPECTIVE } Gwy3DProjection;
3D View projection type.
typedef enum { /*< lowercase_name=gwy_3d_visualization >*/ GWY_3D_VISUALIZATION_GRADIENT = 0, GWY_3D_VISUALIZATION_LIGHTING, GWY_3D_VISUALIZATION_OVERLAY } Gwy3DVisualization;
3D View data visualization type.
typedef enum { /*< lowercase_name=gwy_3d_view_label >*/ GWY_3D_VIEW_LABEL_X = 0, GWY_3D_VIEW_LABEL_Y, GWY_3D_VIEW_LABEL_MIN, GWY_3D_VIEW_LABEL_MAX, GWY_3D_VIEW_NLABELS } Gwy3DViewLabel;
3D View label type.
typedef enum { GWY_UNITS_PLACEMENT_NONE, GWY_UNITS_PLACEMENT_AT_ZERO } GwyUnitsPlacement;
Units placement on a GwyRuler.
typedef enum { GWY_HSCALE_DEFAULT = 0, GWY_HSCALE_LOG = 1, GWY_HSCALE_SQRT = 2, GWY_HSCALE_NO_SCALE = 6, GWY_HSCALE_WIDGET = 7, GWY_HSCALE_WIDGET_NO_EXPAND = 8, GWY_HSCALE_CHECK = 1024 } GwyHScaleStyle;
Options controlling gwy_table_attach_hscale()
behaviour.
Default label, hscale, spinbutton, and units widget row. | |
Hscale is logarithmic. | |
Hscale is square root. | |
There is no hscale. | |
An user-specified widget is used in place of hscale and spinbutton. | |
An user-specified widget is used in place of hscale and spinbutton, and it is left-aligned instead of taking all the alloted space. | |
The label is actually a check button that controls sensitivity of the row. |
typedef enum { GWY_GRAPH_STATUS_PLAIN, GWY_GRAPH_STATUS_XSEL, GWY_GRAPH_STATUS_YSEL, GWY_GRAPH_STATUS_POINTS, GWY_GRAPH_STATUS_ZOOM, GWY_GRAPH_STATUS_XLINES, GWY_GRAPH_STATUS_YLINES } GwyGraphStatusType;
typedef enum { GWY_GRAPH_GRID_NONE, GWY_GRAPH_GRID_AUTO, GWY_GRAPH_GRID_USER } GwyGraphGridType;
typedef enum { GWY_GRAPH_POINT_SQUARE = 0, GWY_GRAPH_POINT_CROSS = 1, GWY_GRAPH_POINT_CIRCLE = 2, GWY_GRAPH_POINT_STAR = 3, GWY_GRAPH_POINT_TIMES = 4, GWY_GRAPH_POINT_TRIANGLE_UP = 5, GWY_GRAPH_POINT_TRIANGLE_DOWN = 6, GWY_GRAPH_POINT_DIAMOND = 7, GWY_GRAPH_POINT_FILLED_SQUARE = 8, GWY_GRAPH_POINT_DISC = 9, GWY_GRAPH_POINT_FILLED_CIRCLE = GWY_GRAPH_POINT_DISC, GWY_GRAPH_POINT_FILLED_TRIANGLE_UP = 10, GWY_GRAPH_POINT_FILLED_TRIANGLE_DOWN = 11, GWY_GRAPH_POINT_FILLED_DIAMOND = 12, GWY_GRAPH_POINT_TRIANGLE_LEFT = 13, GWY_GRAPH_POINT_FILLED_TRIANGLE_LEFT = 14, GWY_GRAPH_POINT_TRIANGLE_RIGHT = 15, GWY_GRAPH_POINT_FILLED_TRIANGLE_RIGHT = 16, GWY_GRAPH_POINT_ASTERISK = 17 } GwyGraphPointType;
typedef enum { GWY_GRAPH_CURVE_HIDDEN = 0, GWY_GRAPH_CURVE_POINTS = 1, GWY_GRAPH_CURVE_LINE = 2, GWY_GRAPH_CURVE_LINE_POINTS = 3 } GwyGraphCurveType;
Graph curve plotting type.
typedef enum { GWY_GRAPH_LABEL_NORTHEAST = 0, GWY_GRAPH_LABEL_NORTHWEST = 1, GWY_GRAPH_LABEL_SOUTHEAST = 2, GWY_GRAPH_LABEL_SOUTHWEST = 3, GWY_GRAPH_LABEL_USER = 4 } GwyGraphLabelPosition;
typedef enum { GWY_GRAPH_MODEL_EXPORT_ASCII_PLAIN = 0, GWY_GRAPH_MODEL_EXPORT_ASCII_GNUPLOT = 1, GWY_GRAPH_MODEL_EXPORT_ASCII_CSV = 2, GWY_GRAPH_MODEL_EXPORT_ASCII_ORIGIN = 3, GWY_GRAPH_MODEL_EXPORT_ASCII_POSIX = 1024, } GwyGraphModelExportStyle;
typedef enum { GWY_LAYER_BASIC_RANGE_FULL, GWY_LAYER_BASIC_RANGE_FIXED, GWY_LAYER_BASIC_RANGE_AUTO, GWY_LAYER_BASIC_RANGE_ADAPT } GwyLayerBasicRangeType;
Types of color gradient mapping in GwyLayerBasic.
Color gradient is uniformly mapped to range from data minimum to maximum. | |
Color gradient is uniformly mapped to a fixed range, independent on data. | |
Color gradient is uniformly mapped to a range inside which most of data points lie, that is height distribution tails are cut off. | |
Color range is mapped nonuniformly,
see gwy_pixbuf_draw_data_field_adaptive() .
|
typedef enum { GWY_CURVE_TYPE_LINEAR, GWY_CURVE_TYPE_SPLINE, GWY_CURVE_TYPE_FREE } GwyCurveType;
Curve drawing type in GwyCurve.
typedef enum { GWY_CURVE_CHANNEL_RED, GWY_CURVE_CHANNEL_GREEN, GWY_CURVE_CHANNEL_BLUE } GwyCurveChannel;
const GwyEnum * gwy_graph_curve_type_get_enum (void
);
Returns GwyEnum for GwyGraphCurveType enum type.
typedef enum { GWY_MARKER_OPERATION_MOVE, GWY_MARKER_OPERATION_ADD, GWY_MARKER_OPERATION_REMOVE } GwyMarkerOperationType;
GwyMarkerBox operation type (for validation).
typedef enum { GWY_DATA_VIEW_LAYER_BASE, GWY_DATA_VIEW_LAYER_ALPHA, GWY_DATA_VIEW_LAYER_TOP } GwyDataViewLayerType;
GwyDataView layer identification.
typedef enum { GWY_TICKS_STYLE_NONE, GWY_TICKS_STYLE_CENTER, GWY_TICKS_STYLE_AUTO } GwyTicksStyle;
Axis ticks style (used in GwyColorAxis).