search for: fximageview

Displaying 1 result from an estimated 1 matches for "fximageview".

2006 Jun 07
0
How to determine width and height of FXImageView?
...ageviewer.rb > file. > But the image I display needs to be generated first > (by Gnuplot ... no problem to output PNG from there, > except one: to set the size : I don''t know what > to tell Gnuplot there: > - how do I see what the size of that > > @imageview_rec = FXImageView.new(@topFrame_rec, nil, nil, 0, > LAYOUT_FILL_X|LAYOUT_FILL_Y) > > is ? > I tried > p @imageview_rec.getHeight > p @imageview_rec.getWidth > > but that gives me 1 and 1. The FXImageView widget isn''t going to have a known size until it''s...