[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    gtk clist append
From:       srinivas <srinivas () comodo ! com>
Date:       2005-05-31 5:47:56
Message-ID: 1117518566.2782.34.camel () localhost ! localdomain
[Download RAW message or body]

hi;


 i have a pbm, using fileslection widget i am selecting the file and i
would like to append the same to the clist_widget. 

create_window_new2  is the window name, clist_sst_file_sel is the name
of the clist.	

sst_file_sel = create_window_new2 ();
clist_file_sel = lookup_widget (sst_file_sel, "clist_file_sel");

		
    data[0] = "Hello";
    data[1] = "World";
    gtk_clist_append (GTK_CLIST (clist_file_sel), data);
 
    data[0] = "Second";
    data[1] = "Row";
    gtk_clist_append (GTK_CLIST (clist_file_sel), data);

message = (gchararray *) gtk_file_selection_get_filename        
(GTK_FILE_SELECTION (fs));	

op = (GtkFileSelection *)gtk_file_selection_get_filename
(GTK_FILE_SELECTION (fs)); 

g_print ("%s\n", op);

-> //gtk_widget_show (sst_file_sel);

     now using this i am trying to append the text to the clist widget.
the appended text is visible only when if i gave the gtk_widget_show
(sst_file_sel); but using this another window is popping up. i need in
the same window it has to be appended. how can i get this;

thanks;

vasu. 

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic