Info needed regarding gdk_pixbuf_get_depth



Hi,
    Is there any chance the depth of a drawable widget can be '0' ?  In the
following piece of code i am getting the depth value as zero for some
widgets (eg. buttons, label..).

   if (GDK_IS_DRAWABLE (widget))
   {
       depth = gdk_pixbuf_get_depth (widget);
    }

   Any idea what could be the problem?.

thanks in advance,
Santhana

**************************Disclaimer************************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************************


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