Re: print a gtk window

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Please stick to English in this mailing list as that is the official
language of this list.)

Unfortunately for creating plots, I am not aware of any package that
support the cairo backend, as Jean-Pierre suggested. I have actually
started working on porting GtkPlot to use cairo, but that still isn't
finished. So if Silvia doesn't want to draw the axis, grid, plot
points, etc herself, it is still easier to use the postscript output
from GtkPlot. On the other hand if the graphics is based on graphical
primitives, then cairo certainly is the way to go.

Regards,
Dov

On 9/21/06, Jean-pierre Martineau
<jean-pierre.martineau@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Sylvia Lopez a écrit :
>
> > Hello,
> >
> > I'm programming a gtk application who generate a window with labels
> > and plots (gtkplot.h).
> > My question is : what the way for printing a gtk window ? i wan't add
> > a button "print this page" that print this window of results.
> > is there a particular library ? ...
> >
> > Thanks for all.
> >
> > //en francais
> >
> > Bonjour,
> >
> > Je cherche à imprimer une fenetre gtk contenant des graphes et des
> > labels.
> > J'ai "fouillé" un peu sur internet sans trouver quoi que ce soit. Si
> > quelqu'un sait comment imprimer les fenetres gtk ...
> >
> > Merci d'avance
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list@xxxxxxxxx
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> >
> Bonjour, plusieurs solutions:
>
> - Si on gère complètement le dessin utiliser la nouvelle architecture
> d'impression de gtk 2.10 qui permet grace a cairo (dessin) d'afficher du
> dessin dans une fenetre et de l'imprimer via le gestionnaire
> d'impression ou un fichier pdf.
> - Dans les version précédente cela pouvait se faire via gnoma grace à la
> librairie gnome-print (maintenant abandonné dans nouvelle version gnome
> car gtk 2.10 le permet) et ceci en correspondance avec le widget de
> dessin de gnome qui partage du code avec gnome-print
> - Une solution arcaïque consiste a faire une image de la window (xpm) et
> l'imprimer via les commande unix ou autre.
>
> cordialement
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux