a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Other:
 listbrowser_gc
  --datasheet--
  AllocListBrowserNodeA
  FreeListBrowserList
  FreeListBrowserNode
  GetListBrowserNodeAttrsA
  HideAllListBrowserChildren
  HideListBrowserNodeChildren
  LBM_ADDNODE
  LBM_EDITNODE
  LBM_REMNODE
  LISTBROWSER_GetClass
  ListBrowserClearAll
  ListBrowserSelectAll
  SetListBrowserNodeAttrsA
  ShowAllListBrowserChildren
  ShowListBrowserNodeChildren
Include
GuruMeditation
Docs » Autodocs » listbrowser_gc » AllocListBrowserNodeA

NAME

        AllocListBrowserNodeA -- Allocate a ListBrowser node.

SYNOPSIS

        struct Node * AllocListBrowserNode(UWORD, Tag, ...)
node = AllocListBrowserNode(columns, Tag, ...)
struct Node * AllocListBrowserNodeA(UWORD, struct TagItem *)
node = AllocListBrowserNodeA(columns, taglist)

FUNCTION

        Allocates a node that can be added to the Exec linked list of
labels in the listbrowser. This is the only way to allocate a
node for this list, you cannot allocate nodes yourself because
the ListBrowser class uses a private node structure.

TAGS

        See SetListBrowserNodeAttrsA() for the list of supported tags.  In
addition, AllocListBrowserNodeA() supports the following additional
tags:
LBNA_NodeSize (ULONG) (V41)
The size in bytes of the public portion of the node structure that
should be allocated. Usually the default (sizeof(struct Node)) will
suffice, unless you wish to have a custom node structure embedded
within the ListBrowser node, in which case you'd provide the size
of that structure. Then the node returned can be treated as an
instance of your custom node structure.
Defaults to sizeof(struct Node).

INPUTS

        columns - How many columns your ListBrowser has.
taglist - Attributes for the node, passed onto
SetListBrowserNodeAttrsA().

RESULT

        node - A node that can be added into the Exec list of labels for
a ListBrowser gadget.

SEE ALSO

FreeListBrowserNode(), SetListBrowserNodeAttrsA()

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:

Kefrens

TSL
KEF
PHA
AYS

Comments:

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