Question..




Some dumb questions:

#1. What is a visual? I'm having trouble finding any documentation on
the details of such things.

#2. What exactly does the following code do?

  gnomefe_depth = gdk_visual_get_best_depth();
  gnomefe_visual = gdk_visual_get_best_with_depth(gnomefe_depth);

  gtk_widget_set_default_visual(gnomefe_visual);

#3. Why is this code better/different/worse than the above?

  gtk_widget_push_visual(gdk_imlib_get_visual());
  gtk_widget_push_colormap(gdk_imlib_get_colormap());



Thanks,
	Michael.



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