caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Olivier Andrieu <oandrieu@nerim.net>
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
Date: Tue, 3 Oct 2006 21:12:58 +0200	[thread overview]
Message-ID: <17698.46650.264022.232199@karryall.dnsalias.org> (raw)
In-Reply-To: <17698.45953.753908.389772@karryall.dnsalias.org>

[-- Attachment #1: message body and .signature --]
[-- Type: text/plain, Size: 167 bytes --]

 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

[-- Attachment #2: gtkbutton_missing_properties.patch --]
[-- Type: text/plain, Size: 1969 bytes --]

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 *)

  reply	other threads:[~2006-10-03 19:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20061003133439.GA2593@malaquias.gwiceb1>
2006-10-03 17:37 ` j.romildo
2006-10-03 18:08   ` [Caml-list] " Eric Cooper
2006-10-03 18:52   ` Patch available for " j.romildo
2006-10-03 19:01   ` Olivier Andrieu
2006-10-03 19:12     ` Olivier Andrieu [this message]
2006-10-04  9:29       ` [Caml-list] " j.romildo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17698.46650.264022.232199@karryall.dnsalias.org \
    --to=oandrieu@nerim.net \
    --cc=caml-list@inria.fr \
    --cc=j.romildo@gmail.com \
    --cc=lablgtk@math.nagoya-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).