Re: query about editable



Hi,

    Thanks for the help..

    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....

Thanks,
Jyothi.





John Cupitt ng-london org uk wrote:

> 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]