MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16311.27062.660046.407055 at karryall.dnsalias.org> Date: Sun, 16 Nov 2003 13:12:38 +0100 From: Olivier Andrieu To: Konstantin Matyukhin Cc: lablgtk at kaba.or.jp Subject: Re: lablgtk2 and column_list In-Reply-To: <87he17l2v4.fsf at alice.vist-v.ru> References: <87he17l2v4.fsf at alice.vist-v.ru> Konstantin Matyukhin [Friday 14 November 2003] : > I want to create a model for TreeView whith two column. > First column is a picture and second column is a string. > What parameters I must send to a GTree.column_list#add method? GdkPixbufs (pictures) are gobjects so you must use the gobject conversion thingy in Gobject.Data . Something like this : ,---- | let columns = new GTree.column_list in | let picture_col = columns#add Gobject.Data.gobject in | let string_col = columns#add Gobject.Data.string in | ... `---- -- Olivier