GIOChannel + GtkTreeModel length



Hello, 
i want to transfer some printing datas via a giochannel to the lpr 
system command. Today i'm doing that via pipes and closed stdout ...
How could i do that via the giochannel support ? Any hints ?
2. Is there a method for getting the number of lines from a GtkTreeModel
like the clist->rows element in gtk1.2 ?? Thats because i want to get
the number of lines before catching all row datas via 
 gtk_tree_model_iter_next(GTK_TREE_MODEL(p_obj->main_list),&iter)
So how could i get the number of rows before ??

Thanks
Andreas
-- 
Andreas Scherf
ICQ: 52910964
scherfa web de




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