Displaying 1 result from an estimated 1 matches for "b_run".
Did you mean:
_run
2008 Jan 16
2
Question about WxNotebook, threads, and GUI refreshing
...p and re-written, but its basically in the form:
--- example panel ---
class GSBISPanel < Wx::Panel
def initialize(*args)
super(*args)
# bunch of crap in a grid
# button that starts data processing
add(Wx::Button[:label => ''Run'']) do |@b_run|
listen(:button, @b_run, :run)
end
end
def run
t = Thread.new { #process a bunch of data (this never runs)}
end
end
--- END example ---
I hope I am explaining this thoroughly and clearly. If anyone has some
pointers or ideas of how to approach this please le...