Skip to content

MUI_Scrollbar

Thore Böckelmann edited this page Jan 14, 2021 · 4 revisions

Scrollbar.mui

Super class

Group.mui

Background

The Scrollbar class has no objects and attributes itself. It just connects a proportional gadget and two button gadgets with approriate imagery to make up a scrollbar.

Since Scrollbar class is a subclass of Group class, every attribute and method is passed through to all of its children. Thus, you can talk and listen to a scrollbar as if it was just a single prop gadget.

You can use the attribute MUIA_Group_Horiz as with any other group to determine if the scrollbar should be horizontal or vertical. By default, a vertical scrollbar is generated.

Attributes

Attribute Version ISG Type
MUIA_Scrollbar_IncDecSize V20 ISG ULONG
MUIA_Scrollbar_Type V11 I.. LONG

MUIA_Scrollbar_IncDecSize

NAME

MUIA_Scrollbar_IncDecSize -- V20 [ISG], ULONG, 0x80426c07

FUNCTION

Set the amount by which the scrollbar position is increased or decreased whenever one of the arrow buttons is clicked.

Defaults to 1.

MUIA_Scrollbar_Type

NAME

MUIA_Scrollbar_Type -- V11 [I..], LONG, 0x8042fb6b

SPECIAL INPUTS

  • MUIV_Scrollbar_Type_Default
  • MUIV_Scrollbar_Type_Bottom
  • MUIV_Scrollbar_Type_Top
  • MUIV_Scrollbar_Type_Sym
  • MUIV_Scrollbar_Type_None

FUNCTION

Specify a certain scrollbar type. Normally, you should respect the users choice and avoid using this attribute.


Copyright © 1992-2006 by Stefan Stuntz
Copyright © 2006-2021 by Thore Böckelmann, Jens Maus
MUI for AmigaOS Homepage
MUI for AmigaOS Wiki
Updated: 14-Jan-2021
Clone this wiki locally