From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Stark To: guile-gtk@sourceware.cygnus.com Subject: Setting GtkAdjustment Date: Fri, 10 Dec 1999 14:48:00 -0000 Message-id: <38518376.70057F39@niss.org> X-SW-Source: 1999-q4/msg00065.html Hello, I don't think this warrants a reply, since I am really venting my frustration. Once again I have hit the wall of incompleteness. This is a question of setting fields in GtkAdjustment. I assume that there is no chance of fixing this without getting into the internals of guile-gtk, or otherwise wait for future enhancements. void cb_page_size( GtkAdjustment *get, GtkAdjustment *set ) { /* Set the page size and page increment size of the sample * adjustment to the value specified by the "Page Size" scale */ set->page_size = get->value; set->page_increment = get->value; (???? (gtk-adjustment-page-size get)) (???? (gtk-adjustment-page-increment get)) Various frustrating attempts to obtain information. I'm sure that there is a logical explanation,... gtk> (gtk-type-from-name "GtkAdjustment") # gtk> (gtk-object-query-args 'GtkAdjustment) #f gtk> (gtk-object-query-args 'GtkButton) (("GtkButton::label" #:type # #:flags (readwrite)) ("GtkButton::relief" #:type # #:flags (readwrite))) /Alex.