This is the mail archive of the guile-gtk@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Setting GtkAdjustment


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]