Re: query about editable



gdk_window_lookup() only works for windows which have been created by 
the program you call it from.

What are you trying to do? Maybe there is another way.

John


Jyothi wrote:
>     But I tried using it . gdk_window_lookup function is always returning
> zero. Is there any other function or any things I should do before using
> this function....


>>Jyothi wrote:
>>
>>>    I have a xid of a window. From that can I get to know that whether
>>>it is a entry or text.
>>
>>Hi, you could try:
>>
>>GdkWindow *gdk_window_lookup( int xid );
>>
>>to find the GdkWindow ... I'm not sure how you'd get the widget from
>>that. Maybe you could set the user_data for the windows for all your
>>entry/text widgets to point back to the widget? There's probably a
>>better way.
>>
>>John





========================================================== 
Aelbert Cuyp 13 February - 12 May 2002 

For information and tickets: 
http://www.nationalgallery.org.uk/exhibitions/cuyp/



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