[Gambas-user] 2 easy questions

jbskaggs jbskaggs at ...1871...
Wed Mar 26 00:57:10 CET 2008



Uh I am using 2.21- I have not found a ubuntu package for anything newer
and I dont know how to find the version for the gtk component. I looked in
project properties about components but it didn't have any version info.

If there is a ubuntu newer version installation package but it has to be
easyto install, I tried to manually install 2.23 and got nowhere but a
headache.

JB


Benoit Minisini wrote:
> 
> On mercredi 26 mars 2008, jbskaggs wrote:
>> 1. In dirchooser how do I set the width of the view window?  When it
>> starts
>> the component titlebar is twice the width of the window.  The screenshot
>> below shows how the window is too small for the component area- I know I
>> can grab it and resize while the program is running, but I want the
>> window
>> to appear big.
>>
>> http://www.nabble.com/file/p16290836/Screenshot2.png
>>
> 
> The second part of the component is missing! Which version of Gambas do
> you 
> use, and which version of GTK+?
> 
>>
>>
>> 2. I cannot figure out how to copy a directory from inside of Gambas. 
>> What
>> is the code to recursively copy a directory to a new directory?
> 
> Something like that?
> 
> SHELL "cp -R " & Quote.Shell(Source) & " " & Quote.Shell(Dest) WAIT
> 
> Or if you want only Gambas code:
> 
> DIM sFile AS String
> 
> FOR EACH sFile IN RDir(Source)
>   IF IsDir(Source &/ sFile) THEN
>     MKDIR Dest &/ sFile
>   ELSE
>     COPY Source &/ sFile TO Dest &/ sFile
>   ENDIF
> NEXT
> 
> ...there are integrists sometimes :-)
> 
> Regards,
> 
> -- 
> Benoit Minisini
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

-- 
View this message in context: http://www.nabble.com/2-easy-questions-tp16290836p16292033.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list