Replies: 2 comments
-
|
Thanks for the suggestion. I had been thinking about this for a while, since most other GObject bindings have property support. Happy to say that this has been added with giD 0.9.6. Only thing missing now are GObject virtual class methods. I plan on adding that for the next release. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Amazing! I am closing this thread as there is no point in discussing this further... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Yes, we do have setX and getX methods generated, but I want to start discussion whether it is a good idea to generate "proper" D properties that we can use too. So instead of
window.setTitle(myWindowTitle);we can writewindow.title = myWindowTitle;instead, orstring mainWinTitle = window.title;instead of using getTitle(). Yes, it will add extra complexity to gidgen but I think it is worth it. Also if user uses thewithstatement thatwindow.disappears too, leaving justtitle = "hello world";for an example.Beta Was this translation helpful? Give feedback.
All reactions