Re: Canvas basics



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jody Goldberg <jody gnome org> writes:

On Sat, Jan 08, 2005 at 11:26:45PM +0000, Roger Leigh wrote:

- gnome_canvas_item_new allows one to set object properties on the
  created item.  However, it does not pass them to g_object_new, so
  they can't be used as construction parameters.  (Though I can't
  remember why I wanted this now.)

That is indeed irritating.  Likely a throw back to the old
pre-gobject days that is still visible because canvas doesn't see
much maintenance.

Hi Jody,

In case you wanted this for FooCanvas, I've fixed libgnomecanvas up to
construct canvas items "properly", so you can make full use of
construction properties.  It replaces the hacky object initialisation
with a proper constructor and construction properties.

http://bugzilla.gnome.org/show_bug.cgi?id=166707


Regards,
Roger

- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFCCTGuVcFcaSW/uEgRAq5/AJ96NPu2QHM7EN8Qat6XeCag2AfBPwCcDVtY
IfAahxLyBMYl2ihY1IfNonM=
=D1H6
-----END PGP SIGNATURE-----



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