a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Other:
 virtual.gadget
  --datasheet--
  RefreshVirtualGadget
  RethinkVirtualSize
  VIRTUAL_GetClass
Include
GuruMeditation
Docs » Autodocs » virtual.gadget » --datasheet--

NAME

      virtual.gadget -- a gadget for easy creation of GUI virtuals.

SUPERCLASS

      gadgetclass

DESCRIPTION

      virtual.gadget allows you to use groups that are much larger than
the screen. The gadget acts as a window through which a rectangle
area of its contents is visible.

METHODS

      GM_DOMAIN
GM_RENDER
GM_LAYOUT
DTM_PROCLAYOUT
OM_SET
OM_UPDATE
OM_NEW
OM_DISPOSE
All other methods are passed to the layout.object passed in via
VIRTUALA_Contents.

ATTRIBUTES

      VIRTUALA_Contents (Object *)
The gadget (probably a layout.gadget) to be displayed within
the virtual.gadget. OM_SETing this attribute disposes the
current contents of the gadget (if any).
See also VIRTUALA_NoDispose.
Applicability is (OM_NEW, OM_SET)
VIRTUALA_NoDispose (BOOL)
By setting this attribute, you inform the virtual object that
this child object should not be automatically disposed when
the virtual object itself is disposed. This attribute allows
sharing objects between layouts.
Default is FALSE.
Applicability is (OM_NEW, OM_SET)
VIRTUALA_Scroller (BOOL)
By clearing this attribute, you inform the virtual object that
you don't want the vertical and horizontal scrollbar to be
displayed.
Default is TRUE.
Applicability is (OM_NEW, OM_SET)
VIRTUALA_ScrollX (WORD)
VIRTUALA_ScrollY (WORD)
Scroll the contents of the gadget either horizontally or
vertically by the given amount of pixels. It's not possible
to scroll the contents out of the view. Setting the attribute
OM_NOTIFies the VIRTUALA_TopX, VIRTUALA_TopY tags.
Applicability is (OM_NEW, OM_SET, OM_UPDATE, [OM_NOTIFY])
VIRTUALA_TotalX (UWORD)
VIRTUALA_TotalY (UWORD)
The current/actual size of the objects' contents.
Applicability is (OM_GET, OM_NOTIFY)
VIRTUALA_VisibleX (UWORD)
VIRTUALA_VisibleY (UWORD)
Get the visible portion of the contents.
Applicability is (OM_GET, OM_NOTIFY)
VIRTUALA_TopX (UWORD)
VIRTUALA_TopY (UWORD)
Set/Get the current top value of the contents.
Applicability is (OM_SET, OM_UDPATE, OM_GET, OM_NOTIFY)
VIRTUALA_ScrollerX (Object *)
VIRTUALA_ScrollerY (Object *)
Instead of letting the gadget to allocate the scrollers,
you can provide your own ones by using the tags above.
virtual.gadget doesn't change their size and position.
Applicability is (OM_NEW)
VIRTUALA_InputScroll (BOOL)
By clearing this attribute, you inform the virtual object that
you don't want the contents to be scrolled when the user moves
the pointer out of the gadget while holding down the left
mouse button.
Default is TRUE.
Applicability is (OM_NEW, OM_SET)

BUGS

      virtual.gadget needs at least AmigaOS3.9 + BoingBag#1 (v45 classes).

SEE ALSO

layout.gadget/--datasheet--()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Razor 1911

AYS
PDX
ANA
RZR

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se