[maemo-developers] [maemo-developers] add a dynamic node in hildon-selection widget
From: Markku Vire markku.vire at movial.fiDate: Tue Apr 25 10:41:50 EEST 2006
- Previous message: [maemo-developers] add a dynamic node in hildon-selection widget
- Next message: [maemo-developers] hildon date editor & threads
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
The only way to define what root nodes are shown on the left side is to
provide a custom root path, but this also hides MMC and gateway devices.
So, there is currently no way to "just add a new toplevel node".
-Markku-
Kimmo Hämäläinen wrote:
> On Tue, 2006-04-25 at 09:18, ext 程波 程 wrote:
>
>>to make use of HildonFileSelection ,code snipper is :
>>............
>>HildonFileSystemModel * model =
>>HILDON_FILE_SYSTEM_MODEL(g_object_new(HILDON_TYPE_FILE_SYSTEM_MODEL,
>>"ref-widget",appview, NULL));
>>
>>select=(GtkWidget*)hildon_file_selection_new_with_model(model);
>>
>>.............
>>after that , a selection widget is in screen, but
>>
>>I need to generate some dynamic node in the left pane
>>,not just the file in the disk
>
>
> I'm afraid the top nodes ("drives") on the left pane are hard-coded at
> the moment. So, you would have to hack the hildon-fm code to do that.
> The code is here:
>
> https://stage.maemo.org/svn/maemo/projects/haf/maemo-branches/IT-2005/trunk/hildon-fm/
>
> BR, Kimmo
>
>
>>anyone give me some guides
- Previous message: [maemo-developers] add a dynamic node in hildon-selection widget
- Next message: [maemo-developers] hildon date editor & threads
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
