User Profile

Collapse

Profile Sidebar

Collapse
wtzolt
wtzolt
Last Activity: Jun 2 '10, 12:00 AM
Joined: Feb 23 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • GUI freezes when executing def function. Use threads?

    Hi,
    I've made a small program which has 2 buttons and each does certain thing. Here's a simplified version of the code.

    Thing is it works fine except that the button freezes and stays in a clicked position and whole GUI freezes until the command is completed.
    As far as I know threads would be best to use in this situation, but I have no idea how to implement it in this example.

    I use glade and pygtk for...
    See more | Go to post

  • wtzolt
    started a topic cx_freeze and glade themes when compiling.

    cx_freeze and glade themes when compiling.

    Question regarding compiling *.py script.
    Everything works fine when I compile the script except that there is no "theme". It looks like it's using win 98 skin or something. Looks very bad.
    Would like to know how to preserve gtk-theme-name = MS-Windows" .

    Which packages or modules should I include wen compiling with GUI2Exe.

    Any ideas?
    See more | Go to post

  • Never worked with threads so can't really imagine where to even begin to be honest.
    See more | Go to post

    Leave a comment:


  • Not working...
    Had no idea such a simple thing to do was so awkward.
    See more | Go to post

    Leave a comment:


  • Yes the problem is that the program that i want to lounch and hide doesn't have
    a COM server registered under the name.
    Its just a simple number crunching program outputting the results onto desktop.

    There has to be a way to do this using subprocess......
    See more | Go to post

    Leave a comment:


  • wtzolt
    started a topic Open a program with python minimized or hidden.

    Open a program with python minimized or hidden.

    Hi,

    What I'm trying to do is to write a script which would open an application only in process list. Meaning it would be "hidden". I don't even know if its possible in python.

    If its not possible, I would settle for even a function that would allow for a program to be opened with python in a minimized state like "wsMinimize d" from Delphi, something like this:

    Code:
    import subprocess
    ...
    See more | Go to post
No activity results to display
Show More
Working...