Re: FVWM: Drag'n Drop
On 8 April 2014 21:00, Jakobus Schürz wrote: > Hi there! > > I'm looking for a possibility for my mpd-applet. I have an applet to > controll my mpd in my FvwmButton. > > Sometimes i find a link to a audio-file/stream. And i want to add this > link to my mpd as a source. The easyest way would be, to drag and drop > this link on my applet in FvwmButton. No, drag-and-drop would not be helpful to you here. There is the XDnd protocol but that's only handled by a few things, and the net result of what you want would boil down to FvwmButtons being able to react to the ClientMessage event, which FVWM only handles in a limited fashion, and certainly not for what you're wanting. > But how can I do this? I have no idea... Come up with something different, such as not writing this thing at all, or making it a completely self-contained program in say, Qt, such that you'd be responsible for handling the DnD functionality; then you could still swallow it in FvwmButtons. -- Thomas Adam
Re: FVWM: Drag'n Drop
Jakobus Schürz writes: > Hi there! > > I'm looking for a possibility for my mpd-applet. I have an applet to > controll my mpd in my FvwmButton. > > Sometimes i find a link to a audio-file/stream. And i want to add this > link to my mpd as a source. The easyest way would be, to drag and drop > this link on my applet in FvwmButton. > > But how can I do this? I have no idea... > > If you want, i can give you the source for my applet, which I've > programmed in the last years... Sorry, don't know much about drag and drop. Never had much use for it. You might want to look at FvwmDragWell and FvwmWharf which accepts drops. -- Dan Espen
FVWM: Drag'n Drop
Hi there! I'm looking for a possibility for my mpd-applet. I have an applet to controll my mpd in my FvwmButton. Sometimes i find a link to a audio-file/stream. And i want to add this link to my mpd as a source. The easyest way would be, to drag and drop this link on my applet in FvwmButton. But how can I do this? I have no idea... If you want, i can give you the source for my applet, which I've programmed in the last years... jakob