[Glade-users] Widget namespaces



Hi there,
Is there any possibility to get something like namespaces? In one
project I have several windows, each contains an "Ok" and "Cancel"
buttons. Those names are bOk and bCancel. The problem is that when I
call:
refXml->get_widget("bOk", m_bOk);
I get the first bOk widget from the .glade file. I wouldn't like to
use widget names like window1_bOk, window2_bOk etc. Instead I'd like
the get_widget method to allow passing a namespace or sth.

Best regards,
tom




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