Re: GDK question

GdkPixmap's are actually special GdkWindows that are not displayed to the
screen and do not have to be redrawn when they get obscured.  So you can
use the standard gdk_window functions for some of this.  What you are
probably looking for is:
  gdk_window_get_size(pixmap, &width, &height);

The gdk_pixmap_create_from_xpm function will use the current directory to
find the pixmap.  Consider using the gnome_pixmap_file() function to find
the pixmap.



On Fri, 1 Oct 1999, Arjan Scherpenisse wrote:

> Hi, two newbie questions (i suppose):
> *** i'm trying to get the size of a GdkPixmap i've loaded with
> gdk_pixmap_create_from_xpm() but i don't know the function to do it.
> I've already browsed the documentation, but no results. Can somebody
> point me in the right direction?
> *** When I load the GdkPixmap with gdk_pixmap_create_from_xpm, how do i
> know where, e.g. in which path(s), the program will search for the
> pixmap? I suppose there is a standard for this one.
> thanx,
> -- 
> Arjan Scherpenisse,
> ICQ# 27592135
> -- 
> To unsubscribe: mail with "unsubscribe"
> as the Subject.

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