Re: Replacing Test::WWW::Selenium::Catalyst with Gtk3::WebKit

On 2011-11-28 at 11:25, Torsten Schoenfeld wrote:
You can also read struct fields by accessing the correct union member:


But there's no support for setting struct fields yet.  (You can of
course assign something to $event->key->{keyval}, but that won't
change the underlying event object at the moment.)

GTK+, like Clutter did for the same reasons, recently[0] got a bunch of
accessor methods that take a generic GdkEvent*.

I'd really recommend using the methods instead of using direct union
access, even in C.




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