[Gambas-user] Access only to the user's folder
craf
prog at ...2177...
Wed Aug 4 17:08:34 CEST 2010
-----Mensaje original-----
De: Benoît Minisini <gambas at ...1...>
Reply-to: mailing list for gambas users
<gambas-user at lists.sourceforge.net>
Para: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Asunto: Re: [Gambas-user] Access only to the user's folder
Fecha: Wed, 4 Aug 2010 13:59:18 +0200
> -----Mensaje original-----
> De: Benoît Minisini <gambas at ...1...>
> Reply-to: mailing list for gambas users
> <gambas-user at lists.sourceforge.net>
> Para: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Asunto: Re: [Gambas-user] Access only to the user's folder
> Fecha: Tue, 3 Aug 2010 00:22:18 +0200
>
> > Hi.
> >
> > I want the user to select the Dialog.SelectDirectory () only could
> > choose or create folders within the folder /home.
> >
> > It can be done with Dialog.Path = User.home, but this does not stop so
> > you can select the root directory /
> >
> > Regards
> >
> >You have to implement your own file dialog with a FileChooser and a
> >DirChooser.
> >
> >The DirChooser has a Root property that constraints the choice to a
> >directory and its subdirectories.
> >
> >Regards,
>
> Hi.
>
> If I choose to FileChooser or DirChooser, these show me the folder icons to
> the theme of Gnome. By using Dialog.SelectDirectory, this shows me the
> folder icons to the theme that the user has selected. Is there any way to
> emulate this behavior in them?.
>
> Regards
>
>Do you have screenshots to show me what you are talking about? Beware that a
>mailing-list post is limited to 256K.
>Regards,
Hi
When I use the controls DirChooser and FileChooser , the icons displayed are those that come in the Gnome theme.
But when I use dialog.Selectdirectory (), the icons shown are the subject of ongoing use, which is Human.
Is there any way to change this behavior in gb.gtk sources?
Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dialogselectdirectory.png
Type: image/png
Size: 16547 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20100804/558c8a4b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dirchooser.png
Type: image/png
Size: 17372 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20100804/558c8a4b/attachment-0001.png>
More information about the User
mailing list