Hi everyone!
 
Im having this very simple toolbar with a toolbutton in it...
i need my toolbutton to be draggeable, so i set the toolitem method set_use_drag_window..
 
my problem: when i set the toolbutton as draggeable, it..stops being a button!
i can not click it, it has no relief, it is just like a little icon into the toolbar...
 
is there anyway of making a toolbutton draggeable and yet be able to click in it?
 
 
iconw = gtk.Image() 
iconw.set_from_file("gtk.xpm")
label = "something"
toolbutton = gtk.ToolButton(iconw, label)
toolbutton.set_use_drag_window(True)       
self.toolbar.insert(toolbutton, -1)
toolbutton.show()
iconw.show()
 
 
Thank you very much to all of you!!
 
Carl
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to