Re: RFE: Window classes on linux build - Mailing list pgadmin-support

From Cheetah
Subject Re: RFE: Window classes on linux build
Date
Msg-id a9d6776b04111413147f393b85@mail.gmail.com
Whole thread Raw
In response to Re: RFE: Window classes on linux build  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-support
On Sun, 14 Nov 2004 19:00:12 +0000, Andreas Pflug
<pgadmin@pse-consulting.de> wrote:
> Cheetah wrote:
> 
> > When working with pgadmin3 in linux, it'd be nice to have it set a
> > window class besides "frame.frame" so that settings can be applied to
> > it in the window manager (windowmaker for me).  Right now it shows up
> 
> Can you provide working code for that?
> We could put that in 1.3/1.4.

Currently in my wxPerl app, I do something approximately like:

$name = "AppName_WindowName";
my $this = My::Frame::Class->new($parent, -1, "title", wxDefaultPosition, $size,   $styles, $name);

And thus the window class when running under wxGTK becomes
"AppName_WindowName.AppName_WindowName".  I figured that bit out from
looking at the base wxGTK sources, so the fact that I'm using wxPerl
shouldn't interfere.  The wxTopLevelWindow class just takes the name
parameter and uses it for both pieces of the window class.

HTH,
--    -- Cheetah


pgadmin-support by date:

Previous
From: Gary Doades
Date:
Subject: Re: pgAdmin 1.2.0 rc1 win32 installer bug?
Next
From: "Steven McKenna"
Date:
Subject: Error building pgadmin on Suse 9.0 Linux...