scrollable list widget



hi,

I just started working with Gtk+2 using C-Code. I created a list
with 3 columns inside of a gtk_scrolled_window. I can scroll the
list but while scrolling, the header-line moves out of the shown
window-part.

I create the header lines with

cell1 = gtk_cell_renderer_text_new();
columnA = gtk_tree_view_column_new_with_attributes("Name", cell1,
"text", 0, NULL);
gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN(columnA), TRUE);

and so on for cell2, collumnB, cell3 and collumnC.

Is there any way to let Gtk always display the header lines of my
columns?

steffen

-- 
cdp.doomed-reality.org

Phantasie ist wichtiger als Wissen, denn Wissen ist begrenzt.
                                                  -- Einstein



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