yet another victm of lack of docs.....
- From: The Rasterman <raster redhat com>
- To: gtk-list redhat com
- Subject: yet another victm of lack of docs.....
- Date: Sat, 24 Jan 1998 16:09:34 -0500 (EST)
Well yet again.. I seem to be having a bad day with gtk....
and this one is interesting:
411 root 13 0 78044 71M 768 S 0 2.5 57.6 8:35 X
yup.
xserver is sitting at 71Mb RSS.
and yes. its gtk.
I've created a gtklist wiht a whole bunch of list items.. this happens
when i insert like 200+ or so.... is this jus a defficienvy in gtk, or is
there some other widget i should use?
(heres the code to add one item to the list):
void add_file_to_list(gchar *file)
{
GtkWidget *entry;
entry=gtk_list_item_new_with_label(file);
img_gui_list=g_list_append(img_gui_list,entry);
gtk_object_set_data(GTK_OBJECT(entry),"data",file);
gtk_widget_show(entry);
current_sel=entry;
}
i took this by looking at the tutorial... and well.. it just gets HUGE
on the xserver side... and the filenames are like 40 chars each.. so its
not that....???? anywone with any ideas?
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com /\___ /\ ___/||\___ ____/|/\___ raster@redhat.com
Carsten Haitzler | _ //__\\ __||_ __\\ ___|| _ / Red Hat Advanced
218/21 Conner Drive || // __ \\_ \ | | \ _/_|| / Development Labs
Chapel Hill NC 27514 USA ||\\\/ \//__/ |_| /___/||\\ 919 547 0012 ext 282
+1 (919) 929 9443, 801 4392 For pure Enlightenmenthttp://www.rasterman.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]