Excellent. I’ll try upgrading. Related to this, anybody know of any code to make frames that can dock together? For example, many media players have playlist windows that can be separated from the main player window. When these windows are snapped onto the player window, the two windows move as one.
From: Robin Dunn robin@alldunn.com
To: sunsp1der@yahoo.com, wxpython-users@lists.wxwidgets.org
Date: Sun, 21 Dec 2008 11:15:45 -0800
Subject: Re: [wxpython-users] how to get wxFrame ACTUAL screen rect$P!D3R DelSol wrote:
I’m trying to open a wxFrame and place it adjacent to another frame in
my application. To do this, I need to know where the borders of my first
frame are. The value given by GetScreenRect is incorrect… the location
it claims is the right edge of my frame is actually about 10 pixels tothe left of the edge. I suspect this has something to do with the
borders generated by whatever platform I’m on. In my case, I’m working
in KDE, but I want my app to work across platforms.
Anyway, bottom line is…
Does anyone know how to get the actual screen rect of my wxFrame so that
I could place another frame aligned on top and touching left-border to
right-border?This is a known problem with wxGTK and I think it has been fixed
already, although I don’t recall if it was only in 2.9 or in 2.8 also.–
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
NOTICE: Empowered by Presidential Executive Orders, the National Security Agency may read this email without warning, warrant, or notice. The NSA may do this without any judicial or legislative oversight. The President also claims the right to designate the
sender or the reader as an enemy combatant and to imprison him/her indefinitely without access to legal counsel or anyone else, and to be rendered to a foreign government for possible torture or death.