On Solaris 10 (x86) using wxPython 2.6.3.3, and python 2.4, I tried to create a Display object and got the following error:
d = wx.Display(0)
Traceback (most recent call last):
File “”, line 1, in ?
File “/opt/wx/wxPython-src-2.6.3.3/wxPython/wx/_misc.py”, line 5954, in init
newobj = misc.new_Display(*args, **kwargs)
NotImplementedError
I don’t get this on Windows.
My application will be using two monitors: one is the main user interface, and the second will display images. The user will have the ability to select regions of interest and zoom in on the image in the second display. Can I do this in Solaris (I hope)? I haven’t found documentation to the contrary.
On Solaris 10 (x86) using wxPython 2.6.3.3 <http://2.6.3.3>, and python 2.4, I tried to create a Display object and got the following error:
>> d = wx.Display(0)
Traceback (most recent call last):
File "<input>", line 1, in ?
File "/opt/wx/wxPython-src-2.6.3.3/wxPython/wx/_misc.py", line 5954, in __init__
newobj = _misc_.new_Display(*args, **kwargs)
NotImplementedError
>>
I don't get this on Windows.
My application will be using two monitors: one is the main user interface, and the second will display images. The user will have the ability to select regions of interest and zoom in on the image in the second display. Can I do this in Solaris (I hope)? I haven't found documentation to the contrary.
In order for wx.Display to be functional on *nix systems you have to have Xinerama installed and its development files be found when running configure for wxGTK. If you're not already using the --enable-display configure option then that will need to be added as well.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Thanks, Robin.
–enable-display was used, but since I can’t find Xinerama on my system, I’ll assume it wasn’t there. I don’t recall specifically building wxGTK when I built wxWidgets and wxPython. Actually I’m a bit confused about GTK in general. How do I tell what version of GTK+2/wxGTK wxPython/Widgets is using and where they were found? And what are the best versions to be using?
In order for wx.Display to be functional on *nix systems you have to
have Xinerama installed and its development files be found when running
configure for wxGTK. If you’re not already using the --enable-display
configure option then that will need to be added as well.
In order for wx.Display to be functional on *nix systems you have to
have Xinerama installed and its development files be found when running
configure for wxGTK. If you're not already using the --enable-display
configure option then that will need to be added as well.
Thanks, Robin. --enable-display was used, but since I can't find Xinerama on my system, I'll assume it wasn't there. I don't recall specifically building wxGTK when I built wxWidgets and wxPython. Actually I'm a bit confused about GTK in general. How do I tell what version of GTK+2/wxGTK wxPython/Widgets is using and where they were found?
I think Solaris uses the same dynamic library model that Linux does, so you can use the ldd command on the _core_.so extension module and it will report what shared libs it imports.
And what are the best versions to be using?
Any version of gtk >= 2.4 should do fine, but >= 2.8 would be best.
···
On 10/3/06, *Robin Dunn* <robin@alldunn.com <mailto:robin@alldunn.com>> > wrote:
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!