Displaying 3 results from an estimated 3 matches for "set_status_bar".
2004 Jan 27
2
The flicker of the status bar.
...new("Test status bar flicker")
frame.show(TRUE)
end
end
class MyFrame < Frame
def initialize(title)
super( nil,-1,title, DEFAULT_POSITION, DEFAULT_SIZE,
DEFAULT_FRAME_STYLE | CLIP_CHILDREN | NO_FULL_REPAINT_ON_RESIZE )
@status_bar = create_status_bar(3)
set_status_bar( @status_bar )
end
end
a = RbApp.new
a.main_loop
#-------------------------------------
Thanks for any answer in advance.
--
Pavel.
mailto:papushev@inp.nsk.su
2007 Jul 10
5
Seg Fault caused by StatusBar. Am I doing something wrong?
Some odd bug cropped up when I made a bunch of code changes to my app
recently. I started getting the following everytime I closed the app:
----------------------------------
[BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application''s support team for more information.
2006 Nov 21
0
[ wxruby-Bugs-6809 ] Weird SWIG error when constructing statusbar
...n be worked around by using the Wx::Frame#create_status_bar function.
# Simple demo code:
require ''wx''
class CrasherApp < Wx::App
def on_init
Wx::init_all_image_handlers
f = Wx::Frame.new(nil, -1, ''crash_app'')
s = Wx::StatusBar.new(f, -1)
f.set_status_bar(s)
f.show
end
end
CrasherApp.new.main_loop
# The exception is:
tests/statusbarerror.rb:9:in `process_event'': Swig director type mismatch in output value of type ''bool'' (TypeError)
from tests/statusbarerror.rb:9:in `show''
from tests/statusbarerror.rb:9...