Exhuming this old thread with apparently no final answer.
I found that one of the issue in the initial code was the call to
modify_font.
I replaced it with a call to set_font_description on the layout.
This is the working code, that takes markup into account:
def get_pango_string_size
That's great!
Man, you rock :-)
Thanks
-David
> Hi,
>
> Quoting "David ROY" :
>> I had to restart with a fresh new install of every GTK stuff but I now
>> have it working.
>
> Great :)
>
>> One thing, I used to install the "pygtk +
t
find any other way to install glade for Python on Windows than using the
"pygtk + glade" distribution.
So I had to copy/paste "glade.pyd" from an old install directly in
C:\Python26\Lib\site-packages\gtk-2.0\gtk, which is kinda dirty.
Met Vriendelijke Groeten
-David
> Hi,
&
and see your changes in pygobject and pygtk, I'm very
curious to understand :-)
Thanks
-David
> Hi,
>
> Quoting "David ROY" :
>> I'm trying to compile a Python package that uses pygtk and it's
>> codegen/argtypes facilities (the package is pygoocanvas).
Hi Dieter,
In fact that's what I'm already doing. Thus I have no issue with the types
registered in arg-types.py, such as BoundsPtrArg or
GooCanvasBoundPtrParam.
The problem is that I don't see where "GValue*" is registered (or more
precisely, where it should be registered and why it isn't).
Is
Hi,
I'm trying to compile a Python package that uses pygtk and it's
codegen/argtypes facilities (the package is pygoocanvas).
I succeeded both on Linux and Windows (after having a hard time on
Windows) but I still have some virtual accessors and interfaces not being
created, on both platforms.
T