-----Mensaje original----- De: Benoît Minisini <gam...@users.sourceforge.net> Reply-to: mailing list for gambas users <gambas-user@lists.sourceforge.net> Para: mailing list for gambas users <gambas-user@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 <gam...@users.sourceforge.net> > Reply-to: mailing list for gambas users > <gambas-user@lists.sourceforge.net> > Para: mailing list for gambas users <gambas-user@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.
<<attachment: dialogselectdirectory.png>>
<<attachment: dirchooser.png>>
------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user