-
Notifications
You must be signed in to change notification settings - Fork 46
Closed as duplicate of#1430
Labels
EnhancementNew feature or requestNew feature or request
Milestone
Description
While trying to implement TreeSelection, I ran into an issue where I needed to get a GObject of some (theoretically) unknown type and return it as an interface. We should make Try/WrapPointerAs support returning interfaces as well as objects.
After #102, I think interfaces are the only "big thing" left in terms of type integration before we've covered most of the GObject type system. Let's use this to track interface support.
To Do:
- Support interface properties (GInterface propertiesย #104)
- Support interfaces in
Try/WrapPointerAs - Allow user to implement GInterfaces for their subclasses
- This will need to be done during type registration for GObject to recognise it
Future:
- Allow the user to export custom C# interfaces as GInterfaces?
- Would be similar to object registration
- Prefix interfaces with
Ifor consistency- Would be done alongside the generator rewrite
badcel and na2axl
Metadata
Metadata
Assignees
Labels
EnhancementNew feature or requestNew feature or request