ju1ius
ju1ius
> Oh ok, pygobject approach seems to be more involved than I would like it to be, they probably have some custom code just for GST :/ No, the `Gst.Element.add_pad_template()`...
So, I just wrote script to inspect the class struct methods, and it appears they are all exposed in vala. Here's the output for the Gtk 3.0 module: ### CellAreaClass...
And here's the output for the Gst-1.0 module: ### DeviceProviderClass method: `add_metadata` symbol: `gst_device_provider_class_add_metadata` exposed by node-gtk: no * https://valadoc.org/gstreamer-1.0/Gst.DeviceProvider.add_metadata.html method: `add_static_metadata` symbol: `gst_device_provider_class_add_static_metadata` exposed by node-gtk: no * https://valadoc.org/gstreamer-1.0/Gst.DeviceProvider.add_static_metadata.html...
Output for the GObject 2.0 module: ### ObjectClass method: `find_property` symbol: `g_object_class_find_property` exposed by node-gtk: no * https://valadoc.org/gobject-2.0/GLib.ObjectClass.find_property.html method: `install_properties` symbol: `g_object_class_install_properties` exposed by node-gtk: no * https://valadoc.org/gobject-2.0/GLib.ObjectClass.install_properties.html method: `install_property`...
Using PyGObject: ```python import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk btn = Gtk.Button() print(btn.list_properties()) ``` ``` [, , , , , , , , , , , , ,...
> a gtype struct that isn't normally meant to be exposed in bindings In the light of the previous comments, I think you might want to reassess this statement (and...
@romgrk You might want to call `Gtk.init_check()` inside the override module. For reference, here is how [PyGObject does it](https://gitlab.gnome.org/GNOME/pygobject/-/blob/master/gi/overrides/Gtk.py#L1687).
Changing the grammar to: ``` // Tokens %token internal_option_ \(\?(?=-?[imsxJUX]) -> opt %token opt:internal_option -?[imsxJUX] -> opt %token opt:semicolon : -> default %token opt:_internal_option \) -> default // Rules internal_options:...
Hi, adding another test case to this issue: Using the native `DOMDocument::loadHTML()` implementation: ```php $doc = new DOMDocument(); $doc->loadHTML('Foo'); echo $doc->saveHTML(); ``` ```html Foo ``` Using this library's implementation: ```php...
Also, citing the spec for [tag omission](https://www.w3.org/TR/2014/REC-html5-20141028/syntax.html#syntax-tag-omission): > Omitting an element's start tag in the situations described below does not mean the element is not present; it is implied, but...