File opening alternatives

View: New views
3 Messages — Rating Filter:   Alert me  

File opening alternatives

by beanie86 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all,

IN FX, you can open an individual files using the normal file > open and se=
lecting a file. I was wondering if it is possible to drag and drop a file i=
nto a GUI and open it that way?

Thanks in advance

Stuar


     
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: File opening alternatives

by Lyle Johnson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Apr 23, 2009, at 1:10 PM, Stuart Clarke wrote:

> IN FX, you can open an individual files using the normal file > open  
> and se=
> lecting a file. I was wondering if it is possible to drag and drop a  
> file i=
> nto a GUI and open it that way?

I know that that feature has been requested in the past, but as far as  
I know, you still can't drag a file from the Windows explorer and drop  
it onto a FOX (or FXRuby) application. This would require some changes  
in FOX to add support for that.
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: File opening alternatives

by Jeroen van der Zijp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 23 April 2009, Stuart Clarke wrote:
>
> Hi all,
>
> IN FX, you can open an individual files using the normal file > open and se=
> lecting a file. I was wondering if it is possible to drag and drop a file i=
> nto a GUI and open it that way?

Yes, but only under Unix/X11 when the other application [the one doing the
dragging] supports XDND.

The exception is if the other application is a FOX application; then it
works on all platforms.


                - Jeroen



--
+----------------------------------------------------------------------------+
| Copyright (C) 22:40 04/26/2009 Jeroen van der Zijp.   All Rights Reserved. |
+----------------------------------------------------------------------------+
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users