GScalar.fromPointer constructor

GScalar.fromPointer(
  1. Pointer<GScalar> ptr, [
  2. bool attach = true
])

Implementation

GScalar.fromPointer(super.ptr, [bool attach = true]) : super.fromPointer() {
  if (attach) {
    finalizer.attach(this, ptr.cast());
  }
}