You are not logged in.
Howdy.
I am making a program for Steam users with a combination of SSD and regular HDD's. It lets them move (and symlink) files from their Steam game directory on their SSD to an alternate directory on their secondary HDD - allowing them to keep the games they're currently playing on their SSD without running out of space.
It looks like this
http://s6.postimg.org/vsgdp94u9/steam_game_mover.png
The image shows the move dialog as well as the main window.
The behaviour is when the user wants to move a game, they select the game in one of the two lists, and click the relevant arrow to move the game.
The point I have gotten up to is when the user starts the move, I want to update the dialog box with the file moving progress. The code at the moment is blocking the dialog box from being displayed until after the files are moved (which isn't overly useful).
[https://github.com/benopotamus/steam-ga … tree/PyGTK] This code simulates the file moving using time delays. This version is a branch. The code in the main branch is from an earlier version using wxWindows (which required some updating when I moved to Arch and the wxWidget version changed).
If anyone would like to take a look and give me pointers, suggestions, corrections of how to use GObject that would be great.
Alternatively, if you someone wants to finish this program for me that would be super-great. I'm more of a designer than a coder - and the design is done :-P
-- mod edit: converted img to url. Please see forum guidelines on image sizes. Trilby --
Last edited by benopotamus (2015-03-30 09:51:30)
Offline
Hi benopotamus,
you need threads or generators, see here: https://wiki.gnome.org/Projects/PyGObject/Threading
Last edited by spookykid (2015-03-22 09:41:13)
There is no knowledge that is not power!
Offline
Thanks! That did it. I really appreciate your help.
Offline
Don't forget to mark your thread as [SOLVED] by editing the title in the first post.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline