Re: GObject Introspection



Hello Christoph

eog's API currently isn't available for reuse by other applications. The reason is mostly that it wasn't really setup to be used independently.
The components are not as separated as they need to be for that.
Another reason is that API stability isn't really an issue that way (although I think practically it has been pretty stable for some time now).

GObject Introspection is only used to make its plugin API available to Python (and _javascript_) plugins. This makes plugins like the Python Console pretty useful.

However, if you only want to fit an image into a given area the GtkImage widget from GTK+ might be all you need. 

Regards

Felix

Am Samstag, den 31.10.2015, 12:50 +0100 schrieb Christoph Schulz:
Hello Felix

Especially the outside availability is interesting to me, it would be a very nice widget/API thing to display images in general and fit them automatically if the widget is resized :D
Am I allowed to ask whether there is a reason that's not "public"? I don't understand GObject introspection so far yet, so sorry if it's trivial in that context ^^

Greetings
Christoph
Am Freitag, den 30.10.2015, 19:32 +0100 schrieb Felix Riemann:
Hello Christoph


Yes, GObject introspection is still working in eog. However, it is not available outside of eog, like for example the introspection for GTK+. eog offers introspection only for its plugins.


The Python Console plugin allows 'direct' access to it. I am not sure about how well _javascript_ is supported right now. I think I remember some kind of JS engine change in libpeas, the library that provides the plugin support for eog.


Regards,


Felix


Am Donnerstag, den 29.10.2015, 20:30 +0100 schrieb Christoph Schulz:
Hello EoG People,

is the GObject Introspection for EoG still available? I tested python and gjs, both haven't :/

Gnome 3.14.4
Debian Jessie 8.2

Greetings
_______________________________________________
eog-list mailing list
eog-list gnome org
https://mail.gnome.org/mailman/listinfo/eog-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]