gir_ffi icon indicating copy to clipboard operation
gir_ffi copied to clipboard

Auto-generate bindings for GObject based libraries at run time using FFI

Results 10 gir_ffi issues
Sort by recently updated
recently updated
newest added

Hello, **In further update:** I think I've figured out the porting here, at least insofar as for using GtkWidgetClass in gir_ffi-gtk3. In some abbreviated documentation, the ported class (previously using...

documentation

GirFFI uses user_data arguments internally to clean up callbacks in the destroy notification. They should not be exposed to Ruby blocks that implement the callback logic.

Methods that return booleans and have a name like `is_something` should be aliased to predicate methods, like `something?`.

After #147 is merged, properties in, e.g., `Gst::FakeSink` can be accessed with `#get_property`. However, we can fetch a list of properties through `GObject::ObjectClass#list_properties`, and perhaps also through `GObject::Interface#list_properties`, which allows...

Enums are currently modules. Instead, they should be classes and their values should be instances of these classes. Basically, GirFFI should match Ruby-GNOME2's handling of this.

GObject emits a warning when accessing a property the wrong way (e.g., reading a property that is not readable). GirFFI should check this in advance and raise an exception.

feature

Right now, many overrides do this: ```ruby setup_method! :foo remove_method :foo ``` This is silly.

If a Ruby wrapper already exists for a given GObject, GirFFI should not create a new wrapper but instead return the existing one. Ruby-GNOME2 and PyGobject store the wrapper in...

I'm trying to create an instance of a GObject-derived type (defined in Ruby) in C code. If that type has a property of type GObject (i..e reference counted) the reference...

bug

I'd like develop some Nautilus extension in Ruby (not in C or Python). I wonder if I could do that with ruby-gir-ffi. I think I could use Nautilus objects but...

feature