Implementing Interfaces with Properties
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 491
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to implement an Interface that has a property, I checked in the examples and tests but this seems to be missing from them.
The API I'm using is self._class.override_property() but I can't seem to figure out what the arguments should be, I keep getting an error along the lines of:
bad argument #2 to 'override_property' (GObject.ObjectClass expected, got table))
Is this just something missing in the bindings or am I missing the magic parameter?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the examples and tests for interface implementations, then inspect the self._class.override_property() entry point and its expected arguments. Determine whether interface properties are unsupported or whether the reported argument error reflects incorrect usage; done means the supported behavior is demonstrated by a passing example or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100