Skip to content

How to handle inheritance? #1441

@badcel

Description

@badcel

✔️ Supported, no warning
⚠️ Supported, raises a warning
❌ Not supported, raises an error
❔ Unclear, must still be specified

Current state Version 0.7.0

  • ✔️ Create C Object via generated factory methods
  • ✔️ Create C Object via parameterless constructor
  • ❌ Create C Object via NewWithProperties factory method
  • ✔️ Initialize subclass from base class parameterless constructor
  • ✔️ Initialize subclass from GObject.SubclassAttribute via custom constructor and this() constructor call
  • ✔️ Initialize subclass from GObject.SubclassAttribute via partial void Initialize() method
  • ❌ Initialize subclass from GObject.SubclassAttribute via custom or type specific NewWithProperties factory method
  • ✔️ Legacy Usage of Gtk.Builder to simulate s.th. similar to composite templates

Planned state Version 0.8.0

  • ✔️ Create C Object via generated factory methods
  • ⚠️ Create C Object via parameterless constructor (Use NewWithProperties static factory instead)
  • ✔️ Create C Object via NewWithProperties factory method
  • ⚠️ Initialize subclass from base class parameterless constructor (Use custom orNewWithProperties factory method)
  • ❌ Initialize subclass from GObject.SubclassAttribute via custom constructor and this() constructor call
  • ✔️ Initialize subclass from GObject.SubclassAttribute via partial void Initialize() method
  • ✔️ Initialize subclass from GObject.SubclassAttribute via custom or NewWithProperties factory method
  • ❌ Legacy Usage of Gtk.Builder to simulate s.th. similar to composite templates (Use composite templates instead or connect manually)

Planned state Version 0.9.0

  • ✔️ Create C Object via generated factory methods
  • ❌ Create C Object via parameterless constructor (Use NewWithProperties static factory instead)
  • ✔️ Create C Object via NewWithProperties factory method
  • ❌ Initialize subclass from base class parameterless constructor (Use custom orNewWithProperties factory method)
  • ❌ Initialize subclass from GObject.SubclassAttribute via custom constructor and this() constructor call
  • ✔️ Initialize subclass from GObject.SubclassAttribute via partial void Initialize() method
  • ✔️ Initialize subclass from GObject.SubclassAttribute via custom or type specific NewWithProperties factory method
  • ❌ Legacy Usage of Gtk.Builder to simulate s.th. similar to composite templates (Use composite templates instead or connect manually)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions