On Wed, Jul 2, 2014 at 11:02 PM, Farrukh <[email protected]> wrote:
> Sir i have found your demo (PieChart), thank you for pointing in the > right direction. > There are also a whole bunch more Demos in with the source, here: http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/FloatCanvas/Demos/ you can pull that whole directory down with SVN: svn co http://svn.wxwidgets.org/svn/wx/wxPython/3rdParty/FloatCanvas/ FloatCanvas -Chris > On 02-Jul-14 8:34 PM, Chris Barker wrote: > > On Tue, Jul 1, 2014 at 10:21 PM, Farrukh <[email protected]> > wrote: > >> I am working with FloatCanvas, I am adding FloatCanvas.Rectangle to a >> list and that list to listbox when any element in list box is selected >> that specific shape is then redrawn as selected. >> But now i want to make selection by mouse left click so my question: "Is >> there a way to select a shape by just mouse left click > > > I'm not sure what you mean by "select", but you can bind any of the > mouse events to an object, so you can call any funciton you want when an > object is clicked on -- the callback function gets a reference to the > object clicked, so you can know what it is. > > See the Demo, or even better, the collection of small demos in the > source, for examples. > > -Chris > > > > > >> and so that i can >> proceed by redrawing shape as fit with codition. >> >> Farrukh >> >> --- >> This email is free from viruses and malware because avast! Antivirus >> protection is active. >> http://www.avast.com >> >> _______________________________________________ >> FloatCanvas mailing list >> [email protected] >> http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas >> > > > > -- > > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > [email protected] > > > _______________________________________________ > FloatCanvas mailing > [email protected]http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas > > > > > ------------------------------ > <http://www.avast.com/> > > This email is free from viruses and malware because avast! Antivirus > <http://www.avast.com/> protection is active. > > > _______________________________________________ > FloatCanvas mailing list > [email protected] > http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas > > -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected]
_______________________________________________ FloatCanvas mailing list [email protected] http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
