[development discussion] Looking at the code, noticed that classes aren't being registered with GObject. What's the deal? #1614
Unanswered
alexispurslane
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to learn how to make my own TypeScript GNOME Extension and am using this repo as a reference. As a result, I have a few questions about two strange things I noticed.
First I noticed that none of your classes are being registered with GObject. That's a bit strange, but technically fine afaik because the GJS docs say that's only mandatory for subclasses of GObject.... which leads me to my second weird observation: none of your classes seem to be subclassing from GObject, even the ones that seem like they should, like the Indicator class. What's going on here? Don't you need to subclass from that stuff? That's how the GJS docs show creating Indicators by inheriting from an Indicator class...
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions