Re: help with gtk/gdk/imlib



>  why is there a GnomePixmap and a GtkPixmap ?

Basically, GnomePixmap is a higher-level thing.  It lets you just do

	GtkWidget *pixmap = gnome_pixmap_new_from_file ("picture.jpg");

insert it into a container, and forget about it.  In addition, you can
reload new images into a GnomePixmap and ask it to rescale them.
Also, GnomePixmap uses an X window of its own so that you can have
better display quality on multivisual displays -- usually your Gtk
windows will run in a fast pseudocolor visual while the GnomePixmaps
will run in a higher-quality TrueColor visual or what have you.

  Federico



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