Closed jwharm closed 1 year ago
This adds a new @Property annotation that can be used with getter and setter methods in Java code to define GObject properties.
@Property
Example usage:
@Property(name = "n-items", type = ParamSpecInt.class, writable = false) public int getNItems() { return items.size(); }
The property definitions in the ListIndexModel utility class now use this annotation.
ListIndexModel
This adds a new
@Property
annotation that can be used with getter and setter methods in Java code to define GObject properties.Example usage:
The property definitions in the
ListIndexModel
utility class now use this annotation.