[Glade-users] Widget namespaces

Tomek Lorek tlorek at gmail.com
Sun Feb 18 08:29:53 EST 2007


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


More information about the Glade-users mailing list