[gtkada] Re: gtkada digest, Vol 1 #125 - 5 msgs

manuel.op.de.coul at eon-benelux.com manuel.op.de.coul at eon-benelux.com
Fri Apr 5 14:36:49 CEST 2002


>How do you do that?

In a body at library level you do something like:

  Save_Dir : constant String := My_Os_Lib.Get_Current_Dir;

Then the filename becomes

  Save_Dir & GNAT.Os_Lib.Directory_Separator & "mypic.xpm"

Or make a function "+" that does this so you can write

  +"mypic.xpm";

Do you still have my sources? Then look in package 
Os_Command how to get the current directory.

Manuel





More information about the gtkada mailing list