Hi, On Thu, 2004-04-08 at 00:24 +0800, Ranieri Oliveira wrote: > I am beginning in gtk, and am using one clist to show the data that > I catch of a data base mysql, but when they are many lines, clist does > not have a scroll bar, and with this I do not obtain to see the data > that are very in low. He would like to know if he has as to place a > scroll bar in clist. You probably should be using GtkTreeView and Gtk{List|Tree}Store instead of CList; there is an overview of using these in the GTK+ API documentation at http://developer.gnome.org/doc/API/2.0/gtk/TreeWidget.html and there is a full tutorial on the subject, written by Tim-Philipp MÃller, at http://scentric.net/tutorial/treeview-tutorial.html To get the scrollbar, you need to put your list widget inside a GtkScrolledWindow. HTH, -- m -- Mariano SuÃrez-Alvarez <mariano@xxxxxxxxx>
Attachment:
signature.asc
Description: This is a digitally signed message part