Heavy load under native win32 xemacs 21.5
Aidan Kehoe
kehoea at parhasard.net
Fri Dec 1 06:16:37 EST 2006
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!
More information about the XEmacs-Beta
mailing list