GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Jul 31, 2014 11:42 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GnomeCanvas rect::get_bounds returns 0s
PostPosted: Thu Jan 24, 2008 11:53 pm 
Offline

Joined: Thu Sep 28, 2006 7:05 pm
Posts: 4
I'm writing in OCaml using lablgtk2. When I create a rectangle and ask for the bounds, I always get [0,0,0,0] regardless of what the coordinates for the rectangle are. The rectangle appears correct in the canvas.

Does anyone know why this would happen? I'd rather not use polygons for everything but I guess that that is an option.

Thanks.

_________________
~evlich


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 25, 2008 12:10 am 
Offline

Joined: Thu Sep 28, 2006 7:05 pm
Posts: 4
Looking around more I've noticed that GnomeCanvas is deprecated. What is its replacement?

_________________
~evlich


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google Adsense [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group