Re: Pixmap reference count



Bryan Brown wrote:

With gtk 1.2 is there a way to get the reference count on a pixmap?  I
don't see an obvious function that does that.

Hi, Bryan
/* You have to include private gdk header: */
#include <gdk/gdkprivate.h>
/* and make a cast: */
((GdkWindowPrivate*)pixmap)->ref_count

/* Olexiy */





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