home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!willw
- From: willw@extro.ucc.su.OZ.AU (William Waring)
- Subject: Re: Refreshing GADTools LISTVIEW
- Message-ID: <1992Sep13.045302.16373@ucc.su.OZ.AU>
- Keywords: gadtools
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: /etc/organization
- References: <1992Sep12.095834.17057@DIALix.oz.au>
- Date: Sun, 13 Sep 1992 04:53:02 GMT
- Lines: 23
-
- You call the gadtools.library function GT_RefreshWindow() with two arguments
- 1. A pointer to the window to refresh (struct Window *)
- 2. A NULL. The second field is not used yet (I think it's a pointer to a
- requester structure).
-
- That will re-draw the borders of your Listview.
-
- If you mean to refresh the actual text in a listview, You must detach your
- linked list from the listview first by calling
- GT_SetGadgetAttrs(Pointer-to-listview-gadget,Pointer-to-window,NULL,GTLV_Labels
- ,~0,TAG_DONE);
- then modify the list, then re-attach it to the listview by calling
- GT_SetGadgetAttrs(Pointer-to-listview-gadget,Pointer-to-window,NULL,GTLV_Labels
- ,Pointer-to-list,TAG_DONE);
-
-
-
-
- --
- --
- Well I guess I'd better say something witty...
- --
- Anyone can hold the helm when the sea is calm.
-