Re: [Gambas-user] Drag & drop files

2011-12-18 Thread Benoît Minisini
Le 28/11/2011 10:17, Maria a écrit : > Hi! > > I was trying drag&drop posibilities in Gambas and I was wondering if you > could help me with a problem I found. > > I create a button with the DROP property TRUE. Then I write this: > > PUBLIC SUB button_Drop() > > DIM a AS String > >a = Drag.Pas

Re: [Gambas-user] Drag & drop files

2011-12-02 Thread Jussi Lahtinen
gvfs 1.10.0-0ubuntu1 On Fri, Dec 2, 2011 at 20:21, Jussi Lahtinen wrote: > It seems to be in gvfs package in debian/ubuntu. > > Jussi > > > > > On Fri, Dec 2, 2011 at 19:54, Maria wrote: > >> Thanks, Pham >> >> I can't find libgvfscommon in debian, is it an old library pearhaps? >> >> >> In ga

Re: [Gambas-user] Drag & drop files

2011-12-02 Thread Jussi Lahtinen
It seems to be in gvfs package in debian/ubuntu. Jussi On Fri, Dec 2, 2011 at 19:54, Maria wrote: > Thanks, Pham > > I can't find libgvfscommon in debian, is it an old library pearhaps? > > > In gambas-es comunity, jguardon, resolved the problem using a function for > automatic conversion: >

Re: [Gambas-user] Drag & drop files

2011-12-02 Thread Maria
Thanks, Pham I can't find libgvfscommon in debian, is it an old library pearhaps? In gambas-es comunity, jguardon, resolved the problem using a function for automatic conversion: http://www.gambas-es.org/viewtopic.php?f=1&t=2054&postdays=0&postorder=asc&start=10 Here it is the code of jguard

Re: [Gambas-user] Drag & drop files

2011-11-30 Thread Phạm Quang Dương
Hi, For 1 of your questions, try (require gvfs library): Library "libgvfscommon:0" Private Extern g_object_unref(gObject As Pointer) Private Extern g_file_new_for_uri(fUri As Pointer) As Pointer Private Extern g_file_get_path(gFile As Pointer) As String Public Function pathFromURI(uri As String

[Gambas-user] Drag & drop files

2011-11-28 Thread Maria
Hi! I was trying drag&drop posibilities in Gambas and I was wondering if you could help me with a problem I found. I create a button with the DROP property TRUE. Then I write this: PUBLIC SUB button_Drop() DIM a AS String   a = Drag.Paste()   a = RTrim(a)   EXEC ["gedit", a] END This