ObjectExpressionProtocol

public protocol ObjectExpressionProtocol : ExpressionProtocol

A GObject value in a GtkExpression.

The ObjectExpressionProtocol protocol exposes the methods and properties of an underlying GtkObjectExpression instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see ObjectExpression. Alternatively, use ObjectExpressionRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GtkObjectExpression instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • object_expression_ptr Default implementation

    Typed pointer to the underlying GtkObjectExpression instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GtkObjectExpression instance.

    Declaration

    Swift

    var object_expression_ptr: UnsafeMutablePointer<GtkObjectExpression>! { get }
  • Required Initialiser for types conforming to ObjectExpressionProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

ObjectExpression Class: ObjectExpressionProtocol extension (methods and fields)

  • getObject() Extension method

    Gets the object that the expression evaluates to.

    Declaration

    Swift

    @inlinable
    func getObject() -> GLibObject.ObjectRef!
  • object Extension method

    Gets the object that the expression evaluates to.

    Declaration

    Swift

    @inlinable
    var object: GLibObject.ObjectRef! { get }