Skip site navigation (1) Skip section navigation (2)

Re: extending functionality strategy

From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Gevik Babakhani" <pgdev(at)xs4all(dot)nl>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: extending functionality strategy
Date: 2008-10-20 10:04:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
On Mon, Oct 20, 2008 at 10:51 AM, Gevik Babakhani <pgdev(at)xs4all(dot)nl> wrote:
>> Well the other way is to remove the item to be moved, and
>> re-insert it with a new index.
> I am actually experimenting with this. So far I have a custom widget
> (wxListItemArranger) which takes a wxListCtrl as ctor argument, and has 4
> ordering buttons. There is some event handing that are dynamically bound to
> the wxListCtrl. Ones I get the actual ordering working, (assuming wxListItem
> removing and inserting will result) I can send a small demonstration patch
> just for one wxListCtrl/wxListView. From there you guys can decide whether
> to continue implementing it for other wxListCtrls.


> ...snip...
>        wxListCtrl *listView = new
> wxListCtrl(this,wxID_ANY,wxDefaultPosition,wxDefaultSize,wxLC_REPORT |
>        wxListItemArranger *lia = new
> wxListItemArranger(this,wxID_ANY,listView);

Why not just derive a new control from wxListView?

> All my wxWidgets frustrations flashback again.... (where are my heart attack
> pills)... Perhaps PGAdmin IV in QT4?

D'oh! Well, if it hadn't had such nasty licencing when we started
pgAdmin 3, we might have used it. As for pgAdmin IV, let us know when
you're 95% done :-p

Dave Page
EnterpriseDB UK:

In response to


pgadmin-hackers by date

Next:From: Gevik BabakhaniDate: 2008-10-20 11:13:46
Subject: Re: extending functionality strategy
Previous:From: Gevik BabakhaniDate: 2008-10-20 09:51:29
Subject: Re: extending functionality strategy

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group