Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion agw.persist - for aui layout but not caption

Received: by 10.100.253.1 with SMTP id a1mr1289477ani.10.1335373446366;
        Wed, 25 Apr 2012 10:04:06 -0700 (PDT)
X-BeenThere: wxpython-users@googlegroups.com
Received: by 10.236.121.65 with SMTP id q41ls311530yhh.8.gmail; Wed, 25 Apr
 2012 10:04:01 -0700 (PDT)
Received: by 10.101.179.5 with SMTP id g5mr1287304anp.12.1335373440862;
        Wed, 25 Apr 2012 10:04:00 -0700 (PDT)
Received: by 10.101.179.5 with SMTP id g5mr1287301anp.12.1335373440843;
        Wed, 25 Apr 2012 10:04:00 -0700 (PDT)
Return-Path: <andrea.gav...@gmail.com>
Received: from mail-yx0-f173.google.com (mail-yx0-f173.google.com [209.85.213.173])
        by gmr-mx.google.com with ESMTPS id j51si244663yhi.1.2012.04.25.10.04.00
        (version=TLSv1/SSLv3 cipher=OTHER);
        Wed, 25 Apr 2012 10:04:00 -0700 (PDT)
Received-SPF: pass (google.com: domain of andrea.gav...@gmail.com designates 209.85.213.173 as permitted sender) client-ip=209.85.213.173;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of andrea.gav...@gmail.com designates 209.85.213.173 as permitted sender) smtp.mail=andrea.gav...@gmail.com; dkim=pass header...@gmail.com
Received: by yenr5 with SMTP id r5so386091yen.18
        for <wxpython-users@googlegroups.com>; Wed, 25 Apr 2012 10:04:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=NPExp+os87YYMq6l16sLfoGKvnln9P6NP8g4aKlXalY=;
        b=kxFdq7/YXter0+tnn0UObvO+lM7eVSoDhoYqEekPGIJqPajXFCdBY8uyQU7oQjuWKG
         ilq0KQjYz6fWZlP9ZjJhuYDAYXs26yBnXHl1Dly++aFcA90HUSHnViO9pE9KxCNeHl3J
         35silc6fuAVnUfRCfm5yuCp22fL2Iz/pG3RO3Vog7KOF2n1Js6toGRcRnS0TOP5j/NKP
         5czMWwQ8VQtoOzog8HRyzUiU3P4TRs4k9x4CTBB3WE5U3BeDjtsEV7RZUvAC9tRwdDW7
         plbR54+xDFCVngnYHdwuE1Zleda1s8lbCFLhqYwAOUEdhYAseJt2+zQb2oYvtazyjLjE
         FMBg==
MIME-Version: 1.0
Received: by 10.50.194.232 with SMTP id hz8mr3580884igc.38.1335373440662; Wed,
 25 Apr 2012 10:04:00 -0700 (PDT)
Received: by 10.43.46.194 with HTTP; Wed, 25 Apr 2012 10:04:00 -0700 (PDT)
In-Reply-To: <4F97F051.7050...@sfr.fr>
References: <4F901628.6020...@sfr.fr>
	<CAEf70byzNGjD9Q1woJ_E41M5MTPa7=ZA8dk9EZ2tMBryAXN...@mail.gmail.com>
	<4F93E183.7080...@sfr.fr>
	<CAEf70bxyomNLaf4Tc+j6vn+q-wR+2wkmGWjVcrJ2WOJxpix...@mail.gmail.com>
	<4F97A4E2.1080...@sfr.fr>
	<4F97D4E1.4050...@sfr.fr>
	<CAEf70bz1eDEQzpb8GSsX7znQYifFzMXuTCBy6i9kZpHesAV...@mail.gmail.com>
	<4F97F051.7050...@sfr.fr>
Date: Wed, 25 Apr 2012 19:04:00 +0200
Message-ID: <CAEf70bySVvPK6ZOQ+ssJ_5HrA7KQ+2zOceDmeFgKneBath+...@mail.gmail.com>
Subject: Re: [wxPython-users] agw.persist - for aui layout but not caption
From: Andrea Gavana <andrea.gav...@gmail.com>
To: wxpython-users@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Werner,

On 25 April 2012 14:38, Werner wrote:
> Hi Andrea,
>
> On 25/04/2012 13:28, Andrea Gavana wrote:
> ...
>
>> I think I got it, mixed up "p" and "pane" when doing the restore.
>>
>> Now I need to figure out how/where to create the flag and how to pass it
>> around.
>>
>> - I think the flag should be in persist and it passes it to
>> "framemanager.LoadPerspective". =A0Are you o.k. with that approach?
>
> Attached a proposed patch. =A0Please review carefully the stuff in
> persist_handler as I don't really know what I am
> doing with extracting/calculating on flags, i.e. would it work when one
> uses/adds other flags.

I don't see anything wrong with the patch, I believe it will work OK.
I have applied it to the latest SVN (plus another small nice addition
to the AuiManager's list of features).

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/