[Glade-users] How to get a clist scrolling?
- From: f parzefall multitest de (f parzefall multitest de)
- Subject: [Glade-users] How to get a clist scrolling?
- Date: Tue, 4 Sep 2001 13:57:23 +0200
Hi,
I have a little newbie problem, I suppose:
I write to a clist (see below how), but when the rows are all full it will
add the new line below the visible area. If I add scrollbars it's the
same exept that I can pull the knob down and then view the last line I
added.
What I did is:
reslist = lookup_widget ((GtkWidget*)button, "res_clist");
gtk_clist_freeze(GTK_CLIST(reslist));
row = gtk_clist_append(GTK_CLIST(reslist), tmp);
gtk_clist_set_text(GTK_CLIST(reslist), row, 0, text);
gtk_clist_thaw(GTK_CLIST(reslist));
Do I have to delete lines, when the window is full? How can I find out how
many lines the window actually has?
Thanks,
Franz Parzefall
------------------------------------------------------------------
Franz Parzefall
Vision Systems
Multitest elektronische Systeme GmbH & Co. KG
Aeussere Oberaustr. 4
83026 Rosenheim
Germany
Tel: +49 (0)8031 406 473
Fax: +49 (0)8031 406 420
Email: f parzefall multitest de
Web: www.multitest.de
------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]