Hey All,
I am using glade to build my gui and I am wondering how to dynamically
add buttons to a VButtonBox. This is what I have tried to do so far:
Iterator iterator = nodes.iterator();
while(iterator.hasNext()){
Hashtable hash = (Hashtable)iterator.next();
verticalButtonBox.add(new Button());
rightTextBuffer.insertText((String)hash.get("description") +"\n");
}
Unfortunately, the new buttons do not get added. Any help would be
greatly appreciated.
scoon
|