guile-gtk-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Roadmap to 2.8 platform bindings


From: Patrick Bernaud
Subject: Re: Roadmap to 2.8 platform bindings
Date: Wed, 19 May 2004 19:23:20 +0200

Hi Andreas,

Andreas Rottmann writes:
 > [...]
 > I've already a patch for that, will commit by tonight.
 >

I have seen and tested your patch to add getter to GtkDialog public
members. However it looks like your forgot to define the two new
functions in the gtk-overrides.defs.

I added the following lines to this file:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; GtkDialog
;;
(define-method get_action_area
  (of-object "GtkDialog")
  (c-name "_wrap_gtk_dialog_get_action_area")
  (overrides "gtk_dialog_get_action_area")
  (return-type "GtkWidget*"))

(define-method get_vbox
  (of-object "GtkDialog")
  (c-name "_wrap_gtk_dialog_get_vbox")
  (overrides "gtk_dialog_get_vbox")
  (return-type "GtkWidget*"))

and both worked fine.

With the previous fix and your correction on g-wrap-tng, the sizegroup
demo is now ok (there is still the trick you suggested on stock
items). I am attaching this script and the one of another demo (button
boxes) to be added to the existing demos of gtk.

Regards,


Patrick

Attachment: sizegroup.scm
Description: Binary data

Attachment: button-box.scm
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]