Ar an triochadú lá de mí na Samhain, scríobh Fabrice Popineau:
2 - There are a scrollbars widgets and the scrollbars attached to
frames. They don't seem to be same thing, am I right ?
I can create a scrollbar widget :
(set-extent-begin-glyph
(make-extent (point) (point))
(make-glyph [scrollbar ;; :width 50 :height 20
:descriptor ["Hello"]]))
but the :width and :height parameters aren't supported. How do I know
what parameters I can pass to the widget ? I wanted to try to create a
widget scrollbar and see if I could change its color.
Bah, underdocumentation strikes. From looking through glyphs-widget.c,
these are supported:
:active :suffix :keys :style :selected :filter :config :included
:initial-focus :key-sequence :accelerator :label :callback :callback-ex
:descriptor :pixel-width :pixel-height :face
See image_instantiator_scrollbar. I haven’t tested all the keywords, but
pixel-width and pixel-height work.
--
Santa Maradona, priez pour moi!
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta