Class

AgsGuiCartesian

Description

class AgsGui.Cartesian : Gtk.Widget {
  widget: GtkWidget,
  flags: AgsCartesianFlags,
  x_margin: gdouble,
  y_margin: gdouble,
  center: gdouble,
  line_width: gdouble,
  point_radius: gdouble,
  font_size: gdouble,
  x_step_width: gdouble,
  y_step_height: gdouble,
  x_scale_step_width: gdouble,
  y_scale_step_height: gdouble,
  x_step: gdouble,
  y_step: gdouble,
  x_start: gdouble,
  x_end: gdouble,
  y_start: gdouble,
  y_end: gdouble,
  x_unit_x0: gdouble,
  x_unit_y0: gdouble,
  x_unit_size: gdouble,
  x_unit: gchar*,
  y_unit_x0: gdouble,
  y_unit_y0: gdouble,
  y_unit_size: gdouble,
  y_unit: gchar*,
  x_label_start: gdouble,
  x_label_step_width: gdouble,
  x_label: gchar**,
  y_label_start: gdouble,
  y_label_step_height: gdouble,
  y_label: gchar**,
  step_conversion_func: gdouble (* step_conversion_func) (
    gdouble current,
    gboolean is_abscissae,
    gpointer data
  ),
  translate_func: void (* translate_func) (
    gdouble x,
    gdouble y,
    gdouble* ret_x,
    gdouble* ret_y,
    gpointer data
  ),
  x_small_scale_func: gdouble (* x_small_scale_func) (
    gdouble value,
    gpointer data
  ),
  x_big_scale_func: gdouble (* x_big_scale_func) (
    gdouble value,
    gpointer data
  ),
  y_small_scale_func: gdouble (* y_small_scale_func) (
    gdouble value,
    gpointer data
  ),
  y_big_scale_func: gdouble (* y_big_scale_func) (
    gdouble value,
    gpointer data
  ),
  x_label_func: gchar* (* x_label_func) (
    gdouble value,
    gpointer data
  ),
  y_label_func: gchar* (* y_label_func) (
    gdouble value,
    gpointer data
  ),
  x_step_data: gpointer,
  x_step_factor: gdouble,
  y_step_data: gpointer,
  y_step_factor: gdouble,
  translate_data: gpointer,
  x_translate_point: gdouble,
  y_translate_point: gdouble,
  x_scale_data: gpointer,
  x_small_scale_factor: gdouble,
  x_big_scale_factor: gdouble,
  y_scale_data: gpointer,
  y_small_scale_factor: gdouble,
  y_big_scale_factor: gdouble,
  x_label_data: gpointer,
  x_label_factor: gdouble,
  x_label_precision: gdouble,
  y_label_data: gpointer,
  y_label_factor: gdouble,
  y_label_precision: gdouble,
  surface: cairo_surface_t*,
  plot: GList*
}
No description available.

Constructors

ags_cartesian_new

Create a new instance of AgsCartesian.

since: 3.0.0

Functions

ags_cartesian_linear_step_conversion_func

Perform linear step conversion.

since: 3.0.0

ags_cartesian_linear_translate_func

Perform linear translation.

since: 3.0.0

ags_cartesian_linear_x_big_scale_func

Labeling function of x big scale.

since: 3.0.0

ags_cartesian_linear_x_label_func

Format x label value appropriately.

since: 3.0.0

ags_cartesian_linear_x_small_scale_func

Labeling function of x small scale.

since: 3.0.0

ags_cartesian_linear_y_big_scale_func

Labeling function of y big scale.

since: 3.0.0

ags_cartesian_linear_y_label_func

Format y label value appropriately.

since: 3.0.0

ags_cartesian_linear_y_small_scale_func

Labeling function of y small scale.

since: 3.0.0

Instance methods

ags_cartesian_add_plot

Add plot to cartesian.

since: 3.0.0

ags_cartesian_fill_label

Fill x label if do_x_label, otherwise y label.

since: 3.0.0

ags_cartesian_get_center

Get center of cartesian.

since: 3.2.0

ags_cartesian_get_font_size

Get font size of cartesian.

since: 3.2.0

ags_cartesian_get_line_width

Get line width of cartesian.

since: 3.2.0

ags_cartesian_get_point_radius

Get point radius.

since: 3.2.0

ags_cartesian_get_surface

Get cairo surface of cartesian.

since: 3.2.0

ags_cartesian_get_x_big_scale_factor

Get x big scale factor of cartesian.

since: 3.2.0

ags_cartesian_get_x_end

Get x end of cartesian.

since: 3.2.0

ags_cartesian_get_x_label

Get x label of cartesian.

since: 3.2.0

ags_cartesian_get_x_label_factor

Get x label factor of cartesian.

since: 3.2.0

ags_cartesian_get_x_label_precision

Get x label precision of cartesian.

since: 3.2.0

ags_cartesian_get_x_label_start

Get x label start of cartesian.

since: 3.2.0

ags_cartesian_get_x_label_step_width

Get x label step width.

since: 3.2.0

ags_cartesian_get_x_margin

Get x margin of cartesian.

since: 3.2.0

ags_cartesian_get_x_scale_step_width

Get x scale step width of cartesian.

since: 3.2.0

ags_cartesian_get_x_small_scale_factor

Get x small scale factor of cartesian.

since: 3.2.0

ags_cartesian_get_x_start

Get x start of cartesian.

since: 3.2.0

ags_cartesian_get_x_step

Get x step of cartesian.

since: 3.2.0

ags_cartesian_get_x_step_factor

Get x step factor of cartesian.

since: 3.2.0

ags_cartesian_get_x_step_width

Get x step width of cartesian.

since: 3.2.0

ags_cartesian_get_x_unit

Get x unit of cartesian.

since: 3.2.0

ags_cartesian_get_x_unit_size

Get x unit size of cartesian.

since: 3.2.0

ags_cartesian_get_x_unit_x0

Get x unit x0 of cartesian.

since: 3.2.0

ags_cartesian_get_x_unit_y0

Get x unit y0 of cartesian.

since: 3.2.0

ags_cartesian_get_y_big_scale_factor

Get y big scale factor of cartesian.

since: 3.2.0

ags_cartesian_get_y_end

Get y end of cartesian.

since: 3.2.0

ags_cartesian_get_y_label

Get y label of cartesian.

since: 3.2.0

ags_cartesian_get_y_label_factor

Get y label factor of cartesian.

since: 3.2.0

ags_cartesian_get_y_label_precision

Get y label precision of cartesian.

since: 3.2.0

ags_cartesian_get_y_label_start

Get y label start of cartesian.

since: 3.2.0

ags_cartesian_get_y_label_step_height

Get y label step height of cartesian.

since: 3.2.0

ags_cartesian_get_y_margin

Get y margin of cartesian.

since: 3.2.0

ags_cartesian_get_y_scale_step_height

Get y scale step height of cartesian.

since: 3.2.0

ags_cartesian_get_y_small_scale_factor

Get y small scale factor of cartesian.

since: 3.2.0

ags_cartesian_get_y_start

Get y start of cartesian.

since: 3.2.0

ags_cartesian_get_y_step

Get y step of cartesian.

since: 3.2.0

ags_cartesian_get_y_step_factor

Get y step factor of cartesian.

since: 3.2.0

ags_cartesian_get_y_step_height

Get y step height.

since: 3.2.0

ags_cartesian_get_y_unit

Get y unit of cartesian.

since: 3.2.0

ags_cartesian_get_y_unit_size

Get y unit size of cartesian.

since: 3.2.0

ags_cartesian_get_y_unit_x0

Get y unit x0 of cartesian.

since: 3.2.0

ags_cartesian_get_y_unit_y0

Get y unit y0 of cartesian.

since: 3.2.0

ags_cartesian_reallocate_label

Reallocate x label if do_x_label, otherwise y label.

since: 3.0.0

ags_cartesian_remove_plot

Remove plot from cartesian.

since: 3.0.0

ags_cartesian_set_center

Set center of cartesian.

since: 3.2.0

ags_cartesian_set_font_size

Set font size of cartesian.

since: 3.2.0

ags_cartesian_set_line_width

Set line width of cartesian.

since: 3.2.0

ags_cartesian_set_point_radius

Set point radius.

since: 3.2.0

ags_cartesian_set_x_big_scale_factor

Set x big scale factor of cartesian.

since: 3.2.0

ags_cartesian_set_x_end

Set x end of cartesian.

since: 3.2.0

ags_cartesian_set_x_label

Set x label of cartesian.

since: 3.2.0

ags_cartesian_set_x_label_factor

Set x label factor of cartesian.

since: 3.2.0

ags_cartesian_set_x_label_precision

Set x label precision of cartesian.

since: 3.2.0

ags_cartesian_set_x_label_start

Set x label start of cartesian.

since: 3.2.0

ags_cartesian_set_x_label_step_width

Set x label step width of cartesian.

since: 3.2.0

ags_cartesian_set_x_margin

Set x margin of cartesian.

since: 3.2.0

ags_cartesian_set_x_scale_step_width

Set x scale step width of cartesian.

since: 3.2.0

ags_cartesian_set_x_small_scale_factor

Set x small scale factor of cartesian.

since: 3.2.0

ags_cartesian_set_x_start

Set x start of cartesian.

since: 3.2.0

ags_cartesian_set_x_step

Set x step of cartesian.

since: 3.2.0

ags_cartesian_set_x_step_factor

Set x step factor of cartesian.

since: 3.2.0

ags_cartesian_set_x_step_width

Set x step width of cartesian.

since: 3.2.0

ags_cartesian_set_x_unit

Set x unit of cartesian.

since: 3.2.0

ags_cartesian_set_x_unit_size

Set x unit size of cartesian.

since: 3.2.0

ags_cartesian_set_x_unit_x0

Set x unit x0 of cartesian.

since: 3.2.0

ags_cartesian_set_x_unit_y0

Set x unit y0 of cartesian.

since: 3.2.0

ags_cartesian_set_y_big_scale_factor

Set y big scale factor of cartesian.

since: 3.2.0

ags_cartesian_set_y_end

Set y end of cartesian.

since: 3.2.0

ags_cartesian_set_y_label

Set y label of cartesian.

since: 3.2.0

ags_cartesian_set_y_label_factor

Set y label factor of cartesian.

since: 3.2.0

ags_cartesian_set_y_label_precision

Set y label precision of cartesian.

since: 3.2.0

ags_cartesian_set_y_label_start

Set y label start of cartesian.

since: 3.2.0

ags_cartesian_set_y_label_step_height

Set y label step height of cartesian.

since: 3.2.0

ags_cartesian_set_y_margin

Set y margin of cartesian.

since: 3.2.0

ags_cartesian_set_y_scale_step_height

Set y scale step height of cartesian.

since: 3.2.0

ags_cartesian_set_y_small_scale_factor

Set y small scale factor of cartesian.

since: 3.2.0

ags_cartesian_set_y_start

Set y start of cartesian.

since: 3.2.0

ags_cartesian_set_y_step

Set y step of cartesian.

since: 3.2.0

ags_cartesian_set_y_step_factor

Set y step factor of cartesian.

since: 3.2.0

ags_cartesian_set_y_step_height

Set y step height of cartesian.

since: 3.2.0

ags_cartesian_set_y_unit

Set y unit of cartesian.

since: 3.2.0

ags_cartesian_set_y_unit_size

Set y unit size of cartesian.

since: 3.2.0

ags_cartesian_set_y_unit_x0

Set y unit x0 of cartesian.

since: 3.2.0

ags_cartesian_set_y_unit_y0

Set y unit y0 of cartesian.

since: 3.2.0

Methods inherited from GtkWidget (160)

Please see GtkWidget for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GtkAccessible (10)
gtk_accessible_get_accessible_role

Retrieves the GtkAccessibleRole for the given GtkAccessible.

gtk_accessible_reset_property

Resets the accessible property to its default value.

gtk_accessible_reset_relation

Resets the accessible relation to its default value.

gtk_accessible_reset_state

Resets the accessible state to its default value.

gtk_accessible_update_property

Updates a list of accessible properties.

gtk_accessible_update_property_value

Updates an array of accessible properties.

gtk_accessible_update_relation

Updates a list of accessible relations.

gtk_accessible_update_relation_value

Updates an array of accessible relations.

gtk_accessible_update_state

Updates a list of accessible states. See the GtkAccessibleState documentation for the value types of accessible states.

gtk_accessible_update_state_value

Updates an array of accessible states.

Methods inherited from GtkBuildable (1)
gtk_buildable_get_buildable_id

Gets the ID of the buildable object.

Properties

AgsGui.Cartesian:center

The center of lines.

since: 3.0.0

AgsGui.Cartesian:font-size

The font’s size to draw labels and units.

since: 3.0.0

AgsGui.Cartesian:line-width

The line width.

since: 3.0.0

AgsGui.Cartesian:plot

The GList-struct containig AgsPlot.

since: 4.0.0

AgsGui.Cartesian:point-radius

The points radius.

since: 3.0.0

AgsGui.Cartesian:surface

The cairo surface.

since: 4.0.0

AgsGui.Cartesian:translate-data

The data to pass to translate function.

since: 4.0.0

AgsGui.Cartesian:x-big-scale-factor

The scale factor to use with x big scale function.

since: 4.0.0

AgsGui.Cartesian:x-end

The x end.

since: 3.0.0

AgsGui.Cartesian:x-label

The x labels as a string array.

since: 3.0.0

AgsGui.Cartesian:x-label-data

The data to pass to x label conversion function.

since: 4.0.0

AgsGui.Cartesian:x-label-factor

The factor to use with x label function.

since: 4.0.0

AgsGui.Cartesian:x-label-precision

The precision to use with x label function.

since: 4.0.0

AgsGui.Cartesian:x-label-start

The x label start position.

since: 3.0.0

AgsGui.Cartesian:x-label-step-width

The x label step width.

since: 3.0.0

AgsGui.Cartesian:x-margin

The horizontal x margin.

since: 3.0.0

AgsGui.Cartesian:x-scale-data

The data to pass to x scale conversion function.

since: 4.0.0

AgsGui.Cartesian:x-scale-step-width

The width of a x scale step.

since: 3.0.0

AgsGui.Cartesian:x-small-scale-factor

The scale factor to use with x small scale function.

since: 4.0.0

AgsGui.Cartesian:x-start

The x start.

since: 3.0.0

AgsGui.Cartesian:x-step

The x step.

since: 3.0.0

AgsGui.Cartesian:x-step-data

The data to pass to x step conversion function.

since: 4.0.0

AgsGui.Cartesian:x-step-factor

The step factor to use with x step conversion function.

since: 4.0.0

AgsGui.Cartesian:x-step-width

The width of a x step.

since: 3.0.0

AgsGui.Cartesian:x-translate-point

The x translate point.

since: 4.0.0

AgsGui.Cartesian:x-unit

The x unit label.

since: 3.0.0

AgsGui.Cartesian:x-unit-size

The x unit’s size.

since: 4.0.0

AgsGui.Cartesian:x-unit-x0

The x unit’s x0 position.

since: 3.0.0

AgsGui.Cartesian:x-unit-y0

The x unit’s y0 position.

since: 3.0.0

AgsGui.Cartesian:y-big-scale-factor

The scale factor to use with y big scale function.

since: 4.0.0

AgsGui.Cartesian:y-end

The y end.

since: 3.0.0

AgsGui.Cartesian:y-label

The y labels as a string array.

since: 3.0.0

AgsGui.Cartesian:y-label-data

The data to pass to y label conversion function.

since: 4.0.0

AgsGui.Cartesian:y-label-factor

The factor to use with y label function.

since: 4.0.0

AgsGui.Cartesian:y-label-precision

The precision to use with y label function.

since: 4.0.0

AgsGui.Cartesian:y-label-start

The y label start position.

since: 3.0.0

AgsGui.Cartesian:y-label-step-height

The y label step height.

since: 3.0.0

AgsGui.Cartesian:y-margin

The horizontal y margin.

since: 3.0.0

AgsGui.Cartesian:y-scale-data

The data to pass to y scale conversion function.

since: 4.0.0

AgsGui.Cartesian:y-scale-step-height

The height of a y scale step.

since: 3.0.0

AgsGui.Cartesian:y-small-scale-factor

The scale factor to use with y small scale function.

since: 4.0.0

AgsGui.Cartesian:y-start

The y start.

since: 3.0.0

AgsGui.Cartesian:y-step

The y step.

since: 3.0.0

AgsGui.Cartesian:y-step-data

The data to pass to y step conversion function.

since: 4.0.0

AgsGui.Cartesian:y-step-factor

The step factor to use with y step conversion function.

since: 4.0.0

AgsGui.Cartesian:y-step-height

The height of a y step.

since: 3.0.0

AgsGui.Cartesian:y-translate-point

The y translate point.

since: 4.0.0

AgsGui.Cartesian:y-unit

The y unit label.

since: 3.0.0

AgsGui.Cartesian:y-unit-size

The y unit’s size.

since: 4.0.0

AgsGui.Cartesian:y-unit-x0

The y unit’s x0 position.

since: 3.0.0

AgsGui.Cartesian:y-unit-y0

The y unit’s y0 position.

since: 3.0.0

Properties inherited from GtkWidget (34)
Gtk.Widget:can-focus

Whether the widget or any of its descendents can accept the input focus.

Gtk.Widget:can-target

Whether the widget can receive pointer events.

Gtk.Widget:css-classes

A list of css classes applied to this widget.

Gtk.Widget:css-name

The name of this widget in the CSS tree.

Gtk.Widget:cursor

The cursor used by widget.

Gtk.Widget:focus-on-click

Whether the widget should grab focus when it is clicked with the mouse.

Gtk.Widget:focusable

Whether this widget itself will accept the input focus.

Gtk.Widget:halign

How to distribute horizontal space if widget gets extra space.

Gtk.Widget:has-default

Whether the widget is the default widget.

Gtk.Widget:has-focus

Whether the widget has the input focus.

Gtk.Widget:has-tooltip

Enables or disables the emission of the ::query-tooltip signal on widget.

Gtk.Widget:height-request

Override for height request of the widget.

Gtk.Widget:hexpand

Whether to expand horizontally.

Gtk.Widget:hexpand-set

Whether to use the hexpand property.

Gtk.Widget:layout-manager

The GtkLayoutManager instance to use to compute the preferred size of the widget, and allocate its children.

Gtk.Widget:margin-bottom

Margin on bottom side of widget.

Gtk.Widget:margin-end

Margin on end of widget, horizontally.

Gtk.Widget:margin-start

Margin on start of widget, horizontally.

Gtk.Widget:margin-top

Margin on top side of widget.

Gtk.Widget:name

The name of the widget.

Gtk.Widget:opacity

The requested opacity of the widget.

Gtk.Widget:overflow

How content outside the widget’s content area is treated.

Gtk.Widget:parent

The parent widget of this widget.

Gtk.Widget:receives-default

Whether the widget will receive the default action when it is focused.

Gtk.Widget:root

The GtkRoot widget of the widget tree containing this widget.

Gtk.Widget:scale-factor

The scale factor of the widget.

Gtk.Widget:sensitive

Whether the widget responds to input.

Gtk.Widget:tooltip-markup

Sets the text of tooltip to be the given string, which is marked up with Pango markup.

Gtk.Widget:tooltip-text

Sets the text of tooltip to be the given string.

Gtk.Widget:valign

How to distribute vertical space if widget gets extra space.

Gtk.Widget:vexpand

Whether to expand vertically.

Gtk.Widget:vexpand-set

Whether to use the vexpand property.

Gtk.Widget:visible

Whether the widget is visible.

Gtk.Widget:width-request

Override for width request of the widget.

Properties inherited from GtkAccessible (1)
Gtk-4.0.Accessible:accessible-role

The accessible role of the given GtkAccessible implementation.

Signals

Signals inherited from GtkWidget (13)
GtkWidget::destroy

Signals that all holders of a reference to the widget should release the reference that they hold.

GtkWidget::direction-changed

Emitted when the text direction of a widget changes.

GtkWidget::hide

Emitted when widget is hidden.

GtkWidget::keynav-failed

Emitted if keyboard navigation fails.

GtkWidget::map

Emitted when widget is going to be mapped.

GtkWidget::mnemonic-activate

Emitted when a widget is activated via a mnemonic.

GtkWidget::move-focus

Emitted when the focus is moved.

GtkWidget::query-tooltip

Emitted when the widgets tooltip is about to be shown.

GtkWidget::realize

Emitted when widget is associated with a GdkSurface.

GtkWidget::show

Emitted when widget is shown.

GtkWidget::state-flags-changed

Emitted when the widget state changes.

GtkWidget::unmap

Emitted when widget is going to be unmapped.

GtkWidget::unrealize

Emitted when the GdkSurface associated with widget is destroyed.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AgsGuiCartesianClass {
  GtkWidgetClass widget;
  
}
No description available.
Class members
widget: GtkWidgetClass
No description available.