Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does somebody know what all these image/pixmap classes are?

classes image pixmap
0
10 Posted

Does somebody know what all these image/pixmap classes are?

0

GTK and GDK offer a number of classes that support drawing images. • GdkPixbuf: a client-side object that holds an image. The pixbuf is merely a holder for image data, which allows you to manipulate it, but has no facilities for rendering (being a client-side object, this is quite obvious). • GdkPixmap: a X server object that contains an image. Can not be rendered in itself, even though the image is stored on the server. Manipulating a GdkPixmap is slower than a pixbuf mainly because of the communication roundtrip with the server. • GdkDrawable: any X server object you can draw to, i.e. a GdkWindow or a GdkPixmap. A reference of the Drawable API is at [www.pygtk.org] • GtkImage: a GTK widget that renders an image based on a Pixmap or Pixbuf. The GtkImage differs from a regular Drawable in the sense that it implements an expose-event handler that takes care of redrawing its contents (based on its pixbuf or pixmap) when necessary. When using a Drawable (such as the DrawingArea) it is nec

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123