Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I make
my own widget :wink:

Thx
DM

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

···

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

···

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Ok, sorry, let me rephrase - what functionality from wx.grid are you missing in wx.gizmos.TreeListCtrl?

Cheers,

--Tim

···

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 10:51
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

I want, thet the user can select single "cells".

Not only Rows.

Thx
Micha

···

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 11:19
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Ok, sorry, let me rephrase - what functionality from wx.grid are you missing
in wx.gizmos.TreeListCtrl?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 10:51
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Aha, I see. TreeListCtrl indeed doesn't do that.

You could create a Panel that combines a TreeCtrl and a Grid, and scroll them in unison. That would of course be a lot of work.

If you're not bound to using wxPython, you could try PyGTK - the GTK treeview can do what you want, I think. (At least it's very simple to edit single cells with it)

Cheers,

--Tim

···

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 11:57
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

I want, thet the user can select single "cells".

Not only Rows.

Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 11:19
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Ok, sorry, let me rephrase - what functionality from wx.grid are you missing
in wx.gizmos.TreeListCtrl?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 10:51
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Either I have to use wxPython. Ok I like it. I want not, that all clients
have to install GTK+

Thx

DM

···

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 12:02
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Aha, I see. TreeListCtrl indeed doesn't do that.

You could create a Panel that combines a TreeCtrl and a Grid, and scroll
them in unison. That would of course be a lot of work.

If you're not bound to using wxPython, you could try PyGTK - the GTK
treeview can do what you want, I think. (At least it's very simple to edit
single cells with it)

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 11:57
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

I want, thet the user can select single "cells".

Not only Rows.

Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 11:19
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Ok, sorry, let me rephrase - what functionality from wx.grid are you missing
in wx.gizmos.TreeListCtrl?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 10:51
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Micha Reiser wrote:

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I make
my own widget :wink:

There are two approaches to take for custom widgets. One is fairly easy but is probably not what you need in this case. The other in this case would be very difficult.

The first approach is to make a composite widget, where you create a window class that contains other standard widgets, handles their layout and their events, ties the functionality of the controls together somehow, and perhaps emits some new events of its own. An example of this is combining a textctrl and a spin button.

The second approach is to create a control from scratch, handling all drawing, key and mouse events, gaining/losing focus, etc. There are some simple examples of this in the library, such as wx.lib.buttons, stattext, etc. Unfortunately for the kind of thing you are wanting this can be quite a huge task. For example, Andrea Gavana's port of the wx.TreeCtrl to Python, adding some nice bells and whistles along the way, is about 5600 lines of code. The C++ code for the wx.grid.Grid class is about 13200 lines of code.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Uuuuuhh

Is it possible, that I can change in the TreeListCtrl the Selection mode. I
don’t know how, but that should be the easiest way?

Thx
Micha

···

-----Ursprüngliche Nachricht-----
Von: Robin Dunn [mailto:robin@alldunn.com]
Gesendet: Dienstag, 11. Juli 2006 19:47
An: wxPython-users@lists.wxwidgets.org
Betreff: Re: [wxPython-users] Create an owen widget

Micha Reiser wrote:

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I make
my own widget :wink:

There are two approaches to take for custom widgets. One is fairly easy
but is probably not what you need in this case. The other in this case
would be very difficult.

The first approach is to make a composite widget, where you create a
window class that contains other standard widgets, handles their layout
and their events, ties the functionality of the controls together
somehow, and perhaps emits some new events of its own. An example of
this is combining a textctrl and a spin button.

The second approach is to create a control from scratch, handling all
drawing, key and mouse events, gaining/losing focus, etc. There are
some simple examples of this in the library, such as wx.lib.buttons,
stattext, etc. Unfortunately for the kind of thing you are wanting this
can be quite a huge task. For example, Andrea Gavana's port of the
wx.TreeCtrl to Python, adding some nice bells and whistles along the
way, is about 5600 lines of code. The C++ code for the wx.grid.Grid
class is about 13200 lines of code.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Micha Reiser wrote:

Uuuuuhh

Is it possible, that I can change in the TreeListCtrl the Selection mode. I
don’t know how, but that should be the easiest way?

No, its list functionality is modeled after the way that the wx.ListCtrl works in report mode, where each row is a single item.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

For example, Andrea Gavana's port of
the wx.TreeCtrl to Python, adding some nice bells and
whistles along the way, is about 5600 lines of code. The C++
code for the wx.grid.Grid class is about 13200 lines of code.

That's surely tooooo big to be ported to Python :wink: . BTW, I remember that some time ago Toni Brkic (sorry for the wrong name spelling, I don't remember exactly the name), has posted a widget that is a combination of a wx.TreeCtrl and a wx.Grid, in which the grid auto-creates/auto-deletes its rows when you expand/collapse a tree node. I don't know if Toni is still here around in the mailing list, but I have kept its class in my personal widgets collection and if he agrees I can re-post it. It would be better if Toni could post it, however, because I don't remember if it was fully working...

Andrea.

···

_________________________________________
Andrea Gavana (gavana@kpo.kz)
Reservoir Engineer
KPDL
4, Millbank
SW1P 3JA London

Direct Tel: +44 (0) 20 717 08936
Mobile Tel: +44 (0) 77 487 70534
Fax: +44 (0) 20 717 08900
Web: http://xoomer.virgilio.it/infinity77
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org

Micha,

Robin Dunn just pointed me to wxpropertygrid:

http://wxpropgrid.sourceforge.net/

Is that perhaps something for you? It's a grid, and it does have tree-collapse controls.

Cheers,

--Tim

···

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 13:22
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

Either I have to use wxPython. Ok I like it. I want not, that all clients
have to install GTK+

Thx

DM

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 12:02
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Aha, I see. TreeListCtrl indeed doesn't do that.

You could create a Panel that combines a TreeCtrl and a Grid, and scroll
them in unison. That would of course be a lot of work.

If you're not bound to using wxPython, you could try PyGTK - the GTK
treeview can do what you want, I think. (At least it's very simple to edit
single cells with it)

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 11:57
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

I want, thet the user can select single "cells".

Not only Rows.

Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 11:19
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Ok, sorry, let me rephrase - what functionality from wx.grid are you missing
in wx.gizmos.TreeListCtrl?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 10:51
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hello Tim

Can i have more than one column with this widget?

Thx
Micha

Leeuw van der, Tim wrote:

···

Micha,

Robin Dunn just pointed me to wxpropertygrid:

http://wxpropgrid.sourceforge.net/

Is that perhaps something for you? It's a grid, and it does have tree-collapse controls.

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch] Sent: dinsdag 11 juli 2006 13:22
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

Either I have to use wxPython. Ok I like it. I want not, that all clients
have to install GTK+

Thx

DM

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com] Gesendet: Dienstag, 11. Juli 2006 12:02
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Aha, I see. TreeListCtrl indeed doesn't do that.

You could create a Panel that combines a TreeCtrl and a Grid, and scroll
them in unison. That would of course be a lot of work.

If you're not bound to using wxPython, you could try PyGTK - the GTK
treeview can do what you want, I think. (At least it's very simple to edit
single cells with it)

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch] Sent: dinsdag 11 juli 2006 11:57
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

I want, thet the user can select single "cells".

Not only Rows.

Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com] Gesendet: Dienstag, 11. Juli 2006 11:19
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Ok, sorry, let me rephrase - what functionality from wx.grid are you missing
in wx.gizmos.TreeListCtrl?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch] Sent: dinsdag 11 juli 2006 10:51
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com] Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch] Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

It's a grid, so I would hope that yes. But perhaps it's too specialized for property-grids to be useful to you. I didn't check it out yet, just looked at the screenshot on the frontpage.

Cheers,

--Tim

···

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@famreiser.ath.cx]
Sent: donderdag 13 juli 2006 8:25
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] Create an owen widget

Hello Tim

Can i have more than one column with this widget?

Thx
Micha

Leeuw van der, Tim wrote:

Micha,

Robin Dunn just pointed me to wxpropertygrid:

http://wxpropgrid.sourceforge.net/

Is that perhaps something for you? It's a grid, and it does have tree-collapse controls.

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 13:22
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

Either I have to use wxPython. Ok I like it. I want not, that all clients
have to install GTK+

Thx

DM

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 12:02
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Aha, I see. TreeListCtrl indeed doesn't do that.

You could create a Panel that combines a TreeCtrl and a Grid, and scroll
them in unison. That would of course be a lot of work.

If you're not bound to using wxPython, you could try PyGTK - the GTK
treeview can do what you want, I think. (At least it's very simple to edit
single cells with it)

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 11:57
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

I want, thet the user can select single "cells".

Not only Rows.

Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 11:19
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Ok, sorry, let me rephrase - what functionality from wx.grid are you missing
in wx.gizmos.TreeListCtrl?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 10:51
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

wxPropertyGrid is a specialized two-column grid for editing properties such
as strings, numbers, flagsets, fonts, and colours.

Either not...

Micha

···

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Donnerstag, 13. Juli 2006 09:02
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

It's a grid, so I would hope that yes. But perhaps it's too specialized for
property-grids to be useful to you. I didn't check it out yet, just looked
at the screenshot on the frontpage.

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@famreiser.ath.cx]
Sent: donderdag 13 juli 2006 8:25
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] Create an owen widget

Hello Tim

Can i have more than one column with this widget?

Thx
Micha

Leeuw van der, Tim wrote:

Micha,

Robin Dunn just pointed me to wxpropertygrid:

http://wxpropgrid.sourceforge.net/

Is that perhaps something for you? It's a grid, and it does have

tree-collapse controls.

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 13:22
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

Either I have to use wxPython. Ok I like it. I want not, that all clients
have to install GTK+

Thx

DM

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 12:02
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Aha, I see. TreeListCtrl indeed doesn't do that.

You could create a Panel that combines a TreeCtrl and a Grid, and scroll
them in unison. That would of course be a lot of work.

If you're not bound to using wxPython, you could try PyGTK - the GTK
treeview can do what you want, I think. (At least it's very simple to edit
single cells with it)

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 11:57
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

I want, thet the user can select single "cells".

Not only Rows.

Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 11:19
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Ok, sorry, let me rephrase - what functionality from wx.grid are you

missing

in wx.gizmos.TreeListCtrl?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 10:51
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Well, sorry that again I couldn't help you!

···

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@famreiser.ath.cx]
Sent: donderdag 13 juli 2006 18:25
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

wxPropertyGrid is a specialized two-column grid for editing properties such
as strings, numbers, flagsets, fonts, and colours.

Either not...

Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Donnerstag, 13. Juli 2006 09:02
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

It's a grid, so I would hope that yes. But perhaps it's too specialized for
property-grids to be useful to you. I didn't check it out yet, just looked
at the screenshot on the frontpage.

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@famreiser.ath.cx]
Sent: donderdag 13 juli 2006 8:25
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] Create an owen widget

Hello Tim

Can i have more than one column with this widget?

Thx
Micha

Leeuw van der, Tim wrote:

Micha,

Robin Dunn just pointed me to wxpropertygrid:

http://wxpropgrid.sourceforge.net/

Is that perhaps something for you? It's a grid, and it does have

tree-collapse controls.

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 13:22
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

Either I have to use wxPython. Ok I like it. I want not, that all clients
have to install GTK+

Thx

DM

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 12:02
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Aha, I see. TreeListCtrl indeed doesn't do that.

You could create a Panel that combines a TreeCtrl and a Grid, and scroll
them in unison. That would of course be a lot of work.

If you're not bound to using wxPython, you could try PyGTK - the GTK
treeview can do what you want, I think. (At least it's very simple to edit
single cells with it)

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 11:57
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

I want, thet the user can select single "cells".

Not only Rows.

Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 11:19
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

Ok, sorry, let me rephrase - what functionality from wx.grid are you

missing

in wx.gizmos.TreeListCtrl?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 10:51
To: wxPython-users@lists.wxwidgets.org
Subject: AW: [wxPython-users] Create an owen widget

There exist one?

I want not the wx.gizmos.TreeListCtrl, but a grid would be nice :slight_smile:

What's the name of the class?
Thx
Micha

-----Ursprüngliche Nachricht-----
Von: Leeuw van der, Tim [mailto:tim.leeuwvander@nl.unisys.com]
Gesendet: Dienstag, 11. Juli 2006 09:49
An: wxPython-users@lists.wxwidgets.org
Betreff: RE: [wxPython-users] Create an owen widget

But why cannot you use what is in the 'gizmos' package? Is it lacking
some functionality for you? What specific wx.grid functionality are you
missing?

Cheers,

--Tim

-----Original Message-----
From: Micha Reiser [mailto:micha.reiser@kwsoft.ch]
Sent: dinsdag 11 juli 2006 8:50
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Create an owen widget

Hello

How can i create my own widget?

I must have a combination from wx.grid and wx.treectrl. But how can I
make
my own widget :wink:

Thx
DM

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org