problem with combo box




I just found out some weird stuff about the combo widget. I input stuff
from a file, line by line, and when the line begins by the right letter, I
add it to the combo box. The problem is the wrong lines appear on the
screen. So I made a test:

gtk_text_insert (GTK_TEXT (text), NULL, &color, NULL, line, -1);
printf("%s\n", line);
cbitems = g_list_append(cbitems, line);

The text widget has the right lines, the right lines are on the screen,
but the combo widget outputs empty lines.

Go figure....




Patrick Lambert
----------------------------------------------------------------------
DarkElf Network SysAdmin                        http://www.darkelf.net
OKC.OK.US.UnderNet.Org Operator                http://www.undernet.org
    Check the main resource for developers at www.fastethernet.net
----------------------------------------------------------------------



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