This is the mail archive of the
guile-gtk@sourceware.cygnus.com
mailing list for the Guile project.
Setting GtkAdjustment
- To: guile-gtk at sourceware dot cygnus dot com
- Subject: Setting GtkAdjustment
- From: Alex Stark <stark at niss dot org>
- Date: Fri, 10 Dec 1999 17:49:26 -0500
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")
#<GtkType GtkAdjustment>
gtk> (gtk-object-query-args 'GtkAdjustment)
#f
gtk> (gtk-object-query-args 'GtkButton)
(("GtkButton::label" #:type #<GtkType GtkString> #:flags (readwrite))
("GtkButton::relief" #:type #<GtkType GtkReliefStyle> #:flags
(readwrite)))
/Alex.