home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 18 / amigaformatcd18.iso / mui / mui_developer / autodocs / mui_radio.doc < prev    next >
Text File  |  1997-03-10  |  2KB  |  63 lines

  1. TABLE OF CONTENTS
  2.  
  3. Radio.mui/Radio.mui
  4. Radio.mui/MUIA_Radio_Active
  5. Radio.mui/MUIA_Radio_Entries
  6. Radio.mui/Radio.mui
  7.  
  8.     Radio class generates radio button gadgets.
  9.     They do the same job as cycle gadgets and
  10.     eat up more window space, maybe that's the reason 
  11.     why so few of them can be found in existing
  12.     applications.
  13. Radio.mui/MUIA_Radio_Active
  14.  
  15.     NAME
  16.     MUIA_Radio_Active -- (V4 ) [ISG], LONG
  17.  
  18.     FUNCTION
  19.     This attributes defines the number of the active
  20.     entry in the radio gadgets. Valid range is from
  21.     0 for the first entry to NumEntries-1 for the last.
  22.  
  23.     Setting MUIA_Radio_Active causes the gadget to
  24.     be updated. On the other hand, when the user
  25.     plays around with the gadget, MUIA_Radio_Active
  26.     will always reflects the current state.
  27.  
  28.     EXAMPLE
  29.     set(radioobj,MUIA_Radio_Active,3);
  30.  
  31.     SEE ALSO
  32.     MUIA_Radio_Entries
  33. Radio.mui/MUIA_Radio_Entries
  34.  
  35.     NAME
  36.     MUIA_Radio_Entries -- (V4 ) [I..], STRPTR *
  37.  
  38.     FUNCTION
  39.     Here you can define what entries shall be displayed
  40.     in your radio gadget. You must supply a pointer to
  41.     a string array, containing one entry for each item
  42.     and terminated with a NULL.
  43.  
  44.     Remember that radio gadget entries may contain any
  45.     text formatting code such as bold, italic or
  46.     underlined characters.
  47.  
  48.     EXAMPLES
  49.     static const char *RA_GroupTitleColor[] =
  50.     {
  51.        "normal",
  52.        "highlight",
  53.        "3-dimensional",
  54.        NULL
  55.     };
  56.  
  57.         CY_Title = RadioObject,
  58.        MUIA_Radio_Entries, RA_GroupTitleColor,
  59.        End;
  60.  
  61.     SEE ALSO
  62.     MUIA_Radio_Active, MUIA_Text_Contents
  63.