On 2009-04-06 08:49+0930 Jonathan Woithe wrote: > Hi guys > >>> Alan W. Irwin wrote: >>>> [...] So its a bit confusing, but in device >>>> mode we provide device facilities to PLplot, while in bindings mode we >>>> provide PLplot facilities to the GUI application. >>> >>> This is also true for the Cairo drivers, which can be used to provide PLplot >>> facilities to a GTK application (via the extcairo driver). >> >> To help keep people (including me :-) ) better informed about this important >> feature, it would be good to implement a simple GTK/extcairo example >> application. I am thinking of something similar to >> examples/c/plplotcanvas_demo.c (which demonstrates the GNOME2 bindings >> capability) or examples/c++/wxPLplotDemo.cpp (which demonstrates the >> wxwidgets bindings capability). > > I think we're talking about the "extcairo" driver I submitted about a year > or so ago, aren't we? As part of that submission I included an example > application which did precisely what you are asking for here. If it's not > in the repo I guess it got overlooked by whoever merged the driver patch.
> The name of the file was extXdrawable_demo.c. Hi Jonathan: Thanks for that additional information. I have found that demo now. It's in examples/c/cairo. I overlooked it because it was not incorporated into our build system (nothing built or installed), but I will take responsibility for addressing that issue. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel