Re: Fw: TreeModel and TreeView



В Пнд, 29/01/2007 в 06:26 -0800, Trigve Siver пишет:
> Thanks for reply, Andrew
>          

>         >I would recommend you to use separate thread to open DB
>         connection and
>         >load data, and just notify model that it's content changed.
>         I've used
>         >Glib::Dispatcher.
>          
>         >Also, I've used custom cellrenderer to optimize drawing only
>         for my own
>         >needs.
>         
> By loading data do you mean to load the whole table from DB? Because I
> don't want to load the whole table...only records that need to be
> displayed... 
> 

no, I meant load only as much data as you need at the moment.

-andrew





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