Re: lookup_widget???



Hello Friends, 

--- Harring Figueiredo <harringf yahoo com> wrote:
 
 lookup_widget(.) is a function generated by glade.
Its definition and
decalration can be found on support.c and support.h
respectively.

Very well said that lookup_widget() is a function
provided by Glade and it can find out the widget by
its name given any widget in the Hierarchy.

Glade, and its lookup_widget can do this by using a
little overhead in the widget creation code it
supplies.

In the automatic generated interface code Glade
attaches all the child widgets with its parent by
using the 
g_object_set_data() function which is not necessary
normally if that child is not to be searched.  But
irrespective of the widget will be searched by name or
not its name is attached to the parent widget just to
support the function lookup_widget.

So if one has to use the lookup_widget() function he
has to use the interface code supplied by Glade,  or
attach the names of the children to the parent widget
just like Glade.

Regards

Tushar 


=====
____________________________________________________________
Full Name     : Tushar Vijay Joshi
Address       : 42/3  Ujjwal Nagar,  Wardha Road,  Nagpur  440 025
Contant Nos : (0) 91-712-2235940 (R) 91-712-2260565 (M) 98222-20365
Email           : tusharvjoshi yahoo com   YahooID: tusharvjoshi
Linux User# :  252476  Machine #: 187438, 187439

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



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