Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: missing gtk_button_set_image in lablgtk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Cooper <ecc@c...>
Subject: Re: [Caml-list] Re: missing gtk_button_set_image in lablgtk
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