Previous: get-enum-items, Up: Enum types information


4.5.4 get-flags-items

— Function: get-flags-items
     (get-flags-items type) => items
type
A GType designator of an flags type
items
A list of flags-item structures

Returns a list of items in an flags type

Example:

     (get-flags-items "GtkAttachOptions")
     =>
     (#S(FLAGS-ITEM :NAME "GTK_EXPAND" :VALUE 1 :NICK "expand")
      #S(FLAGS-ITEM :NAME "GTK_SHRINK" :VALUE 2 :NICK "shrink")
      #S(FLAGS-ITEM :NAME "GTK_FILL" :VALUE 4 :NICK "fill"))