* How to use <gtk-requisition>?
@ 2011-04-26 19:26 Jeff Sparkes
2011-04-28 10:40 ` Andy Wingo
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Sparkes @ 2011-04-26 19:26 UTC (permalink / raw)
To: guile-user
Guile 1.8.7 on Ubuntu natty.
The guile-gnome documentation doesn't explain how to create a
<gtk-requisition> and I haven't been able to find any examples.
I have a <gtk-fixed> widget and need to resize it's children. I'm
trying to duplicate some C code exactly.
My best guess, (make-instance <gtk-requisition> #:value '(100 24)) gives
ERROR: In procedure %gvalue-set!:
ERROR: Don't know how to make values of type #<<gvalue-class> <gtk-requisition>>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to use <gtk-requisition>?
2011-04-26 19:26 How to use <gtk-requisition>? Jeff Sparkes
@ 2011-04-28 10:40 ` Andy Wingo
0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2011-04-28 10:40 UTC (permalink / raw)
To: Jeff Sparkes; +Cc: guile-user
Hi Jeff,
On Tue 26 Apr 2011 21:26, Jeff Sparkes <jsparkes@gmail.com> writes:
> The guile-gnome documentation doesn't explain how to create a
> <gtk-requisition> and I haven't been able to find any examples.
Indeed, it does not appear to be properly wrapped. It is a "boxed"
type, meaning there is a structure behind it, one for which there is a C
declaration but no introspectible definition. If you can rebuild
guile-gnome, you can add a gtk-requisition-new to
gtk/gnome/gw/gtk-support.[ch] and gtk/gnome/defs/overrides/gtk.defs.
Regards,
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-28 10:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26 19:26 How to use <gtk-requisition>? Jeff Sparkes
2011-04-28 10:40 ` Andy Wingo
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 read-only IMAP folder(s) and NNTP newsgroup(s).