AdjustmentRef

public struct AdjustmentRef : AdjustmentProtocol, GWeakCapturing

The GtkAdjustment object represents a value which has an associated lower and upper bound, together with step and page increments, and a page size. It is used within several GTK+ widgets, including GtkSpinButton, GtkViewport, and GtkRange (which is a base class for GtkScrollbar and GtkScale).

The GtkAdjustment object does not update the value itself. Instead it is left up to the owner of the GtkAdjustment to control the value.

The AdjustmentRef type acts as a lightweight Swift reference to an underlying GtkAdjustment instance. It exposes methods that can operate on this data type through AdjustmentProtocol conformance. Use AdjustmentRef only as an unowned reference to an existing GtkAdjustment instance.

  • ptr
    Untyped pointer to the underlying `GtkAdjustment` instance.
    

    For type-safe access, use the generated, typed pointer adjustment_ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

Adjustment Class