Re: Gtk window.show() (maybe just c++ related)
- From: Murray Cumming <murrayc murrayc com>
- To: Paul Davis <pjdavis engineering uiowa edu>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Gtk window.show() (maybe just c++ related)
- Date: Sat, 02 Dec 2006 16:40:38 +0100
On Sat, 2006-12-02 at 08:20 -0600, Paul Davis wrote:
> Eric,
>
> > TreeViews are a real pain.
>
> Indeed they are. And from my experience, this is one of the hardest
> parts of the api to deal with. The main problem seems to stem from the
> fact that the developers seemed to try and make the TreeView et al
> classes as abstract as possible so that you use them to design any
> type of widget you want. With this abstract implementation comes a bit
> of difficulty in making it do things that seem as though they should
> be rather simple.
The new ListViewText widget offers a very simple API for the TreeView:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1ListViewText.html
However, it's probably too simple for most situations. I haven't heard
of anyone actually using it yet.
> As for the excel type of functionality, to get a single cell selected,
> you may want to look at the CellEditable class and see if thats not
> more of what you need.
>
> The only excel-esque ability I can think of that might not be able to
> be directly achieved is selecting a column vs. selecting a row.
>
> I'm guessing, to achieve full spreadsheet capabilities you'd need to
> implement a custom TreeModel and TreeView that allow for these types
> of operations.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]