Re: query about editable



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]