Re: TreeModel and Treeview from glade 3.6

2009-06-03 Thread Murray Cumming
On Wed, 2009-06-03 at 22:48 +0200, Germán Diago wrote: > I need to use more things besides the treemodel, so I would like to > make another question? > This just happens with treemodel / treeview, or it's extensible to > Gtk::TextBuffers and > so on? Thanks in advance. Other things probably work.

Re: TreeModel and Treeview from glade 3.6

2009-06-03 Thread Murray Cumming
On Wed, 2009-06-03 at 14:23 +0200, Germán Diago wrote: > Hello. I would like to know if it's possible to define > column types directly in glade and use them from the ui > with gtkmm bindings. I tried but it seems not to work. I'm > not sure if I'm doing anything wrong. Not, not really. Your C++ c

TreeModel and Treeview from glade 3.6

2009-06-03 Thread Germán Diago
Hello. I would like to know if it's possible to define column types directly in glade and use them from the ui with gtkmm bindings. I tried but it seems not to work. I'm not sure if I'm doing anything wrong. ___ gtkmm-list mailing list gtkmm-list@gnome.or

Treemodel and treeview question.

2009-04-26 Thread Germán Diago
Hello. I want to implement a custom model for my data in a treeview. The data is in the backend, so it does not use gtkmm itself. Is it possible to use my data, namely, my store, which does not derive from any of the gtkmm classes, and to show it in a treeview without inheriting my class from Gtk

Re: Fw: Fw: TreeModel and TreeView

2007-01-29 Thread Trigve Siver
- Original Message From: Daniel Elstner <[EMAIL PROTECTED]> To: Trigve Siver <[EMAIL PROTECTED]> Cc: gtkmm-list@gnome.org Sent: Monday, January 29, 2007 5:35:37 PM Subject: Re: Fw: Fw: TreeModel and TreeView >Am Montag, den 29.01.2007, 08:16 -0800 schrieb Trigve Siver:

Re: Fw: Fw: TreeModel and TreeView

2007-01-29 Thread Daniel Elstner
Am Montag, den 29.01.2007, 08:16 -0800 schrieb Trigve Siver: > > 4) Why is this function being called _number_of_row_ times even if > only one row is visible? Probably to find the height of the tallest row. I think there is a fixed height mode that exists exactly for the purpose of avoiding thi

Fw: Fw: TreeModel and TreeView

2007-01-29 Thread Trigve Siver
- Original Message From: Andrew E. Makeev <[EMAIL PROTECTED]> To: Trigve Siver <[EMAIL PROTECTED]> Cc: gtkmm-list Sent: Monday, January 29, 2007 4:09:54 PM Subject: Re: Fw: TreeModel and TreeView >В Пнд, 29/01/2007 в 06:26 -0800, Trigve Siver пишет: >> Tha

Re: Fw: TreeModel and TreeView

2007-01-29 Thread Andrew E. Makeev
В Пнд, 29/01/2007 в 06:26 -0800, Trigve Siver пишет: > Thanks for reply, Andrew > > >I would recommend you to use separate thread to open DB > connection and > >load data, and just notify model that it's content changed. > I've used > >Glib::Dispat

Fw: TreeModel and TreeView

2007-01-29 Thread Trigve Siver
Thanks for reply, Andrew >В Пнд, 29/01/2007 в 03:44 -0800, Trigve Siver пишет: >> Thanks for reply, Paul >> >> ... I think that only soultion is with custom TreeModel but if it can >> be done with some default TreeModel implementation please could you >> point to some source ...I would be grate

Re: TreeModel and TreeView

2007-01-29 Thread Jonathon Jongsma
On 1/29/07, Andrew E. Makeev <[EMAIL PROTECTED]> wrote: > There was some offer to implement custom TreeModel and add it to GTKMM > library (Jonathon Jongsma <[EMAIL PROTECTED]>). > > This link supposed to have some source codes (I haven't looked into): > > http://download.gna.org/colorscheme/etc/cu

Re: TreeModel and TreeView

2007-01-29 Thread Andrew E. Makeev
В Пнд, 29/01/2007 в 03:44 -0800, Trigve Siver пишет: > Thanks for reply, Paul > > ... I think that only soultion is with custom TreeModel but if it can > be done with some default TreeModel implementation please could you > point to some source ...I would be grateful. > > There was some offer

Fw: TreeModel and TreeView

2007-01-29 Thread Trigve Siver
Siver <[EMAIL PROTECTED]> Cc: gtkmm-list@gnome.org Sent: Monday, January 29, 2007 3:05:33 AM Subject: Re: TreeModel and TreeView Trigve, Using custom tree models for this sounds like an overcomplication. I'd recommend trying a normal tree model and loading data into it instead of tryi

Re: TreeModel and TreeView

2007-01-28 Thread Paul Davis
Trigve, Using custom tree models for this sounds like an overcomplication. I'd recommend trying a normal tree model and loading data into it instead of trying to subclass it. Custom tree models are fairly complicated. I'd avoid using them if possible. Paul On 1/28/07, Trigve Siver <[EMAIL PROTE

TreeModel and TreeView

2007-01-28 Thread Trigve Siver
Hi, I'm examining the exmaple code from gtkmm sources (examples/treemodelcustom). I have compiled and run it and have some question. The first operation that is called is ExampleTreeModel::get_iter_vfunc(const Path& path, iterator& iter) and then "_number_of_rows_" times iter_has_child_vfunc +