Gtk.MessageDialog.New can only use 0 arguments #877
-
Unlike the constructor mentioned in the official docs, it appears that Gtk.MessageDialog.New() can only use 0 arguments. The official docs state that Furthermore, it does state that "This method is not directly available to language bindings." in the official docs. Could this be why it can only show as 0 arguments when attempting to use the I am aware there's a So I'm really curious, was |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the issue with that method is that The workaround would be to use the default constructor and then set the necessary properties afterwards |
Beta Was this translation helpful? Give feedback.
Yes variadic parameters are not supported currently, so the constructor is missing.
The documentation comment regarding "not available to language bindings" states that this function is not part of the typelib file. As gir.core does not use the typelib file the comment does not apply.