Re: Using drag and drop to set where data should be saved
Stephen Watson <[email protected]>
| Newsgroups | gmane.comp.desktop.rox.user |
|---|---|
| Message-ID | <[email protected]> |
Jim Lesurf <[email protected]> wrote: > Hi, > > I would like to be able to have some of my ROX apps use drag-and-drop to > set where generated results are to be saved. Alas I am still clueless about > Python. And my programs tend to be in 'C'. So I'd welcome some help with > the following. > > I have found the tutorial example at > > http://roscidus.com/desktop/Tutorials/Saving > > and that makes sense. (It is also a lot easier than my struggles to work > out how to use this on a more 'primitive' level with GTK+ in 'C' ! :-) ) > > However the above isn't quite want I need for two reasons. > > 1) It generates a limited amount of data first, then saves it using the > drag-and-drop. > > 2) The entire example is in Python. What you want is ROX-CLib http://roscidus.com/desktop/ROX-CLib and the GtkSavebox widget it provides. The AppFactory source code contains an example of using GtkSavebox, see the begin_save() function. -- Stephen Watson http://www.kerofin.demon.co.uk/ If you read this on a mailing list, send any reply back to the list and not to me. Not even CC. Given cash, I speak the truth ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo