GTK+ Forums

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

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: goocanvas
PostPosted: Mon Mar 04, 2013 9:49 am 
Offline

Joined: Sun Oct 28, 2012 9:36 am
Posts: 4
Location: kampala
hi all,
i need your help regarding goocnavas draw and root items
i can draw using
item = goocanvas.Rect(parent = root,
x=event.x, y=event.y, width=10, height=10,
fill_color="black",
)
canvas.set_data(box_name, item)
where root is canvas.get_root_item().

my problem is, when i start drawing and my starting point is on another item, the other items before cannot be controlled. eg. a move event effect on an item to show action like item.line_width = 3, no such effect is seen if the line_width was, lets say 1.
thanks in advance

_________________
There are 10 types of people in the world,
Those who understand And and Not


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 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