Re: [Java-gnome-developer] VButtonBox
Brought to you by:
afcowie
From: Nicholas R. <ni...@mn...> - 2004-10-29 22:06:11
|
try doing a verticalButtonBox.showAll() after the while loop. nick On Fri, 2004-10-29 at 17:25 -0400, Skip Coon wrote: > 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 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer -- |