[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtkmm
Subject:    Re: Wrapping Clutter functions.
From:       Jens Georg <mail () jensge ! org>
Date:       2011-09-04 12:05:15
Message-ID: 1315137916.9924.1.camel () laptop-jge
[Download RAW message or body]

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?

Why wouldn't it be nice to have the possibility of saying
animator.set_key().set_key().set_key()... ?

Looks quite C++.

_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic