Closed anmaped closed 3 years ago
For python, it does the trick.
class (...)
def do_add_child(self, builder, child, t):
if child.get_name() != "GtkComboBoxText": # just an example with a ComboBox Widget
self.add(child)
def do_get_internal_child(self, builder, childname):
if childname == "combobox": # use with '<child internal-child="combobox"></child>'
return self.combobox;
else:
return None
thank you, fixed!