Dr. Salewski
Dr. Salewski
I just did a short test, intel skylake i7, gcc 5.4. Only modified your example.c a bit like this: ```c #include #include "clhash.h" int main() { void * random =...
With latest GObject we get this error.
```nim proc gtk_entry_set_icon_from_icon_name(self: ptr Entry00; iconPos: EntryIconPosition; iconName: cstring) {. importc, libprag.} proc setIconFromIconName*(self: Entry; iconPos: EntryIconPosition; iconName: cstring = "") = gtk_entry_set_icon_from_icon_name(cast[ptr Entry00](self.impl), iconPos, safeStringToCString(iconName)) ``` I would guess...
Recently we get a question how we can port low level C code examples to gintro, like the listviewclocks.c example. See https://github.com/StefanSalewski/gintro/issues/134#issuecomment-852328853 Unfortunately gintro does not support yet all the...
https://developer.gnome.org/gtk4/stable/GtkExpression.html#gtk-expression-bind ```nim proc `bind`*(self: Expression; target: gobject.Object; property: cstring; this: gobject.Object = nil): ExpressionWatch = fnew(result, gBoxedFreeGtkExpressionWatch) result.impl = gtk_expression_bind(cast[ptr Expression00](self.impl), cast[ptr gobject.Object00](target.impl), property, if this.isNil: nil else: cast[ptr gobject.Object00](this.impl))...
There is a bug in template gobjectTemp(): untyped for gintro
Simplest example is https://developer.gnome.org/glib/stable/glib-GVariant.html#g-variant-get-string const gchar * g_variant_get_string (GVariant *value, gsize *length); In C we can pass NULL for gsize if we are not interested in actual length. In Nim...
See https://discourse.gnome.org/t/gtk4-tests-simple-c-program-does-not-terminate-when-closing-window-with-nim-bindings/3547
Extending the existing mconnect() makro in gimpl.nim does not work currently due to https://github.com/nim-lang/Nim/issues/14605 So we can not really examine the user provided function to see if a var parameter...
Like https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-get-action-group Make the proxy object nil, add test like .isNil or raise exception or ...?