Hi,
I'm having a crack at wrapping a bit of the Clutter library. The
Clutter::Animator::set_key function is keeping me entertained at present. The
C function is:
ClutterAnimator* clutter_animator_set_key (ClutterAnimator *animator, GObject
*object, const gchar *property_name, guint mode,
On So, 2011-09-04 at 04:32 -0700, Ian Martin wrote:
The return value is a pointer to the object itself. In C I believe
this helps chain the function; I'm struggling to see why I'd bother in
C++. So can I change it to return void (or mabe bool?) or is that
messing with the library too much?
What documentation do I need to read in order to understand to detect
keyboard events (in particular, detecting and timing shift keys
depressions)? I don't see anything in the basic documentation, so I imagine
that keyboard handling must be the responsibility of one of the several
other packages
Yea, the documentation is a bit lacking in that part, I also had some
problems with that.
Here's an example, in my case to check for the esc key (and hide the window).
on constructor:
this-add_events( Gdk::KEY_PRESS_MASK );
this-signal_key_release_event().connect ( sigc::mem_fun(*this,
On Sun, Sep 4, 2011 at 10:37 PM, D. R. Evans doc.ev...@gmail.com wrote:
What documentation do I need to read in order to understand to detect
keyboard events (in particular, detecting and timing shift keys
depressions)?
I'm not 100% here, but I think the modifier keys (Shift, control, alt,