Re: Editing table with Gtk+



Le mardi 06 septembre 2005 �3:34 -0300, romildo uber com br a �it :
> Hello.
> 
> I want to write a small program to edit a
> simple table in Gtk+. The table corresponds
> to a simple database stored in a text file.
> Each line of the file is a record. Each colum
> of the file is a field.
> 
> I want to edit the table in a Gtk+ widget.
> It should support adding new records, deleting
> records and changing record fields.
> 
> Which widget is easier for implementing this
> program? Maybe there is a simple example program
> ilustrating what I looking for. Any comments?

Use GtkTreeView and GtkListStore. You can find samples in gtk-demo.




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