From: Mark D. <mar...@zn...> - 2007-03-19 22:05:59
|
Hi, You need to install the wxDemo modules cpan Wx::Demo. This may give you all the info you needed. If not, I have a couple of rough examples for you. http://www.wxperl.co.uk/example1.txt does exactly what you described - diplays two controls side by side. I though that you probably wanted to have a split window so you could resize your filelist vs the GLCanvas so I did http://www.wxperl.co.uk/example2.txt to include Wx::SplitterWindow. Both these examples use the wxGLCanvas.pm from the Wx::Demo so that needs to be installed. Best Regards Mark Vaughn Staples wrote: > I am trying to construct a wxPerl frame containing a menubar at the top > followed by twin widgets below that are tiled side-by-side. The one to > the left is a listCtrl containing a list of image files, and most > importantly the one to the right is a glCanvas that will be used to draw > primitives and/or display images. > > I have studied the glCanvas "minimal.pl" distributed by Mattia but > cannot seem to retrofit it to solve the above purpose. > > Can anyone share guidance and/or provide a simple wxPerl example of how > to embed an openGL-related canvas in a wxPerl frame which contains other > items? > > Many thanks in advance, > > Vaughn |