Re: [gtk-list] Table question



Mike Lindahl <mlindahl@phoenix.Princeton.EDU>
>I put the table into a ScrolledWindow and have a button that
>the user can press to add another element to the table.  However, I cannot
>figure out how to get the table/scrolled window to update its display when
>the button is pressed. 

Hi Mike, I have something like this working in my app ... I used nested tables
to make a gtkctree which can hold any widget. I expand the table with
gtk_table_resize(), then attach the new widget with gtk_table_attach(), and it
all seems to work fine. Hope this helps,

John
--
John Cupitt, john.cupitt@ng-london.org.uk, +44 (0)171 930 2108
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN



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