How to emit signals on an object
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 491
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
Does LGI support emitting existing signals on an object? I have an object type that has two signals associated with it according to the result of GObject.signal_list_ids(), but I do not know how to emit those signals on an instance of the object. I have tried calling obj:on_<signal>() but just get an error saying no 'on_<signal>'.
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 checking the LGI object and signal API around GObject.signal_list_ids() and the attempted obj:on_() call. Determine whether existing signals can be emitted on an object, then document the supported invocation or clarify the limitation and expected error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- api
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100