From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 59802BC50 for ; Tue, 3 Oct 2006 20:09:34 +0200 (CEST) Received: from chokecherry.srv.cs.cmu.edu (CHOKECHERRY.SRV.CS.CMU.EDU [128.2.185.41]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id k93I9Ws8027178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 3 Oct 2006 20:09:33 +0200 Received: from stratocaster.home (c-24-3-144-168.hsd1.mn.comcast.net [24.3.144.168]) (authenticated bits=0) by chokecherry.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id k93I9V4U019407 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 3 Oct 2006 14:09:31 -0400 (EDT) Received: from ecc by stratocaster.home with local (Exim 4.63) (envelope-from ) id 1GUohD-0003Nq-Uf for caml-list@inria.fr; Tue, 03 Oct 2006 14:08:47 -0400 Date: Tue, 3 Oct 2006 14:08:47 -0400 To: caml-list@inria.fr Subject: Re: [Caml-list] Re: missing gtk_button_set_image in lablgtk Message-ID: <20061003180847.GA12954@localhost> Mail-Followup-To: caml-list@inria.fr References: <20061003133439.GA2593@malaquias.gwiceb1> <20061003173755.GA28749@malaquias.gwiceb1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061003173755.GA28749@malaquias.gwiceb1> User-Agent: Mutt/1.5.13 (2006-08-11) From: Eric Cooper X-Miltered: at discorde with ID 4522A75C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; gtk:01 lablgtk:01 romildo:01 lablgtk:01 gtk:01 2006:98 wrote:01 caml-list:01 api:01 seems:03 subclass:03 gui:03 distributed:05 tue:06 missing:06 On Tue, Oct 03, 2006 at 10:34:39AM -0300, j.romildo@gmail.com wrote: > I am using lablgtk to write the GUI for an application I am > developing. Currently I want to set the image associated with a button, > but it seems that lablgtk does not have support for the Gtk API function > gtk_button_set_image. So I am writing to request this support in the > next version of lablgtk. Buttons are a subclass of containers, so you can just do button#add image The pousse.ml game, in the examples distributed with lablgtk2, does it this way. -- Eric Cooper e c c @ c m u . e d u