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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 2DE9FBC50 for ; Tue, 3 Oct 2006 21:12:59 +0200 (CEST) Received: from mallaury.nerim.net (smtp-102-tuesday.noc.nerim.net [62.4.17.102]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k93JCwnL009879 for ; Tue, 3 Oct 2006 21:12:59 +0200 Received: from karryall.dnsalias.org (karryall.dnsalias.org [213.41.240.180]) by mallaury.nerim.net (Postfix) with ESMTP id 943CB4F407; Tue, 3 Oct 2006 21:12:46 +0200 (CEST) Received: by karryall.dnsalias.org (Postfix, from userid 500) id 60AD073E351; Tue, 3 Oct 2006 21:12:58 +0200 (CEST) From: Olivier Andrieu Message-ID: <17698.46650.264022.232199@karryall.dnsalias.org> Date: Tue, 3 Oct 2006 21:12:58 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="FXg3Bsrd3e" Content-Transfer-Encoding: 7bit To: j.romildo@gmail.com, caml-list@inria.fr, lablgtk@math.nagoya-u.ac.jp Subject: Re: [Caml-list] Re: missing gtk_button_set_image in lablgtk In-Reply-To: <17698.45953.753908.389772@karryall.dnsalias.org> References: <20061003133439.GA2593@malaquias.gwiceb1> <20061003173755.GA28749@malaquias.gwiceb1> <17698.45953.753908.389772@karryall.dnsalias.org> X-Mailer: VM 7.19 under Emacs 21.4.1 X-j-chkmail-Score: MSGID : 4522B63A.000 on concorde : j-chkmail score : X : 0/20 1 X-Miltered: at concorde with ID 4522B63A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; andrieu:01 oandrieu:01 gtk:01 lablgtk:01 andrieu:01 bazar-ocaml:01 lablgtk:01 xalign:01 yalign:01 gbutton:01 mli:01 bazar-ocaml:01 gbutton:01 mli:01 bool:01 X-Attachments: name="gtkbutton_missing_properties.patch" --FXg3Bsrd3e Content-Type: text/plain; charset=us-ascii Content-Description: message body and .signature Content-Transfer-Encoding: 7bit Olivier Andrieu [Tuesday 3 October 2006] : > Here is a patch, with a bunch of other missing properties of > GtkButton. Oops, here is a real patch. -- Olivier --FXg3Bsrd3e Content-Type: text/plain Content-Disposition: attachment; filename="gtkbutton_missing_properties.patch" Content-Transfer-Encoding: 7bit Index: gtkButton.props =================================================================== RCS file: /net/yquem/devel/caml/repository/bazar-ocaml/lablgtk/src/gtkButton.props,v retrieving revision 1.5 diff -u -r1.5 gtkButton.props --- gtkButton.props 16 Sep 2006 10:33:02 -0000 1.5 +++ gtkButton.props 3 Oct 2006 19:11:02 -0000 @@ -11,10 +11,14 @@ } class Button set wrap wrapsig : Bin { + "focus-on-click" gboolean : Read / Write / NoSet + "image" GtkWidget_opt : Read / Write / NoSet "label" gchararray : Read / Write / Construct "use-stock" gboolean : Read / Write / Construct "use-underline" gboolean : Read / Write / Construct "relief" GtkReliefStyle : Read / Write + "xalign" gfloat : Read / Write / NoSet + "yalign" gfloat : Read / Write / NoSet signal activate / NoWrap signal clicked signal enter Index: gButton.mli =================================================================== RCS file: /net/yquem/devel/caml/repository/bazar-ocaml/lablgtk/src/gButton.mli,v retrieving revision 1.34 diff -u -r1.34 gButton.mli --- gButton.mli 16 Sep 2006 10:33:02 -0000 1.34 +++ gButton.mli 3 Oct 2006 19:11:02 -0000 @@ -25,6 +25,14 @@ method use_underline : bool method grab_default : unit -> unit method event : event_ops + method set_focus_on_click : bool -> unit + method focus_on_click : bool + method image : GObj.widget option (** @since GTK 2.6 *) + method set_image : GObj.widget option -> unit (** @since GTK 2.6 *) + method set_xalign : float -> unit (** @since GTK 2.4 *) + method xalign : float (** @since GTK 2.4 *) + method set_yalign : float -> unit (** @since GTK 2.4 *) + method yalign : float (** @since GTK 2.4 *) end (** @gtkdoc gtk GtkButton *) --FXg3Bsrd3e--