Re: Python, GObject-Introspection, and WebKit.WebSettings



On 03/16/2011 10:19 AM, Tomeu Vizoso wrote:
On Wed, Mar 16, 2011 at 16:54, Smartboy<smartboyathome gmail com>  wrote:
But now, under introspection, I cannot use WebSettings, because on the third
line, there is no way to modify the properties
Can you paste here the part of WebKit-3.0.gir that describes the API
of WebSettings? There may be some problem introspecting that.

Regards,

Tomeu
Here's that part of the file:
<record name="WebSettings" c:type="WebKitWebSettings">
<field name="parent_instance" writable="1">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" writable="1">
<type name="WebSettingsPrivate" c:type="WebKitWebSettingsPrivate*"/>
</field>
</record>
<record name="WebSettingsClass" c:type="WebKitWebSettingsClass">
<field name="parent_class" writable="1">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved4" introspectable="0">
<callback name="_webkit_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebSettingsPrivate"
            c:type="WebKitWebSettingsPrivate"
            disguised="1">
</record>

Seems like its on WebKit's side then?


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