On 12/02/2011 03:55 PM, Rafał Krupiński wrote:
> 2011/12/1 David Nečas :
>> What are you talking about? You can pass any GObject-derived type as
>> the column type (not that it matters much, the net result is the same as
>> passing G_TYPE_OBJECT). You get back the objects that you stored there.
>
On 12/02/2011 04:01 PM, David Nečas wrote:
> On Fri, Dec 02, 2011 at 03:55:51PM +0100, Rafał Krupiński wrote:
>> I rather meant to use my object as a model for a whole, multi-column
>> row, somehow binding fields or properties to columns.
> It makes no sense (to me anyway) to imagine one object as
On Fri, Dec 02, 2011 at 03:55:51PM +0100, Rafał Krupiński wrote:
> I rather meant to use my object as a model for a whole, multi-column
> row, somehow binding fields or properties to columns.
It makes no sense (to me anyway) to imagine one object as multiple
*model* columns.
But it is easy to cre
2011/12/1 David Nečas :
> What are you talking about? You can pass any GObject-derived type as
> the column type (not that it matters much, the net result is the same as
> passing G_TYPE_OBJECT). You get back the objects that you stored there.
>
> If you store objects of different classes to the
On Thu, Nov 24, 2011 at 04:30:25PM +0100, Rafał Krupiński wrote:
> How do I display list of custom objects in GtkTreeView?
> GtkTreeView takes GtkListStore as a model, but it doesn't allow custom
> objects, only list of gobjects.
>
> On the other hand, when I want to read list's selection all I ge
2011/11/28 Rafał Krupiński :
> On 28.11.2011 14:17, Tristan Van Berkom wrote:
>>
>> 2011/11/28 Rafał Krupiński:
>>>
>>> Hi all!
>>>
>>> How do I display list of custom objects in GtkTreeView?
>>> GtkTreeView takes GtkListStore as a model, but it doesn't allow custom
>>> objects, only list of gobjec
2011/11/28 Rafał Krupiński :
> Hi all!
>
> How do I display list of custom objects in GtkTreeView?
> GtkTreeView takes GtkListStore as a model, but it doesn't allow custom
> objects, only list of gobjects.
What could that possibly mean ?
If you have custom derived GObjects, you can certainly popu