All Manuals > CAPI User Guide and Reference Manual > 20 Self-contained examples

NextPrevUpTopContentsIndex

20.9 Choice examples

Different kinds of interaction:

(example-edit-file "capi/choice/double-list-panels") (example-edit-file "capi/choice/list-panels")

Using print-function and data-function :

(example-edit-file "capi/choice/list-panels")

Using (setf capi:collection-items) and print-function in a list panel:

(example-edit-file "capi/choice/expanding-list")

Adding images:

(example-edit-file "capi/choice/double-list-panels")

Drag and drop in a list panel:

(example-edit-file "capi/choice/drag-and-drop") (example-edit-file "capi/choice/list-panel-drag-images")

Simple tree-view with images:

(example-edit-file "capi/choice/tree-view") (example-edit-file "capi/choice/extended-selection-tree-view")

Tree-view images and checkboxes:

(example-edit-file "capi/choice/extended-selection-tree-view")

tree-view combined with an XML parser to display an RSS file:

(example-edit-file "capi/applications/rss-reader")

Interaction between context menu and selection:

(example-edit-file "capi/choice/list-panel-pane-menu")

Multi column list panel:

(example-edit-file "capi/choice/multi-column-list-panels")

Sorting a list-panel for a specific column:

(example-edit-file "capi/choice/multi-column-list-panels")

Adding images to option-pane:

(example-edit-file "capi/choice/option-pane-with-images")

Disabling items in option-pane:

(example-edit-file "capi/choice/option-pane-with-images") (example-edit-file "capi/choice/option-pane")

Alternative action callback (that is, a callback when modifier key is pressed):

(example-edit-file "capi/choice/alternative-action-callback")

CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017

NextPrevUpTopContentsIndex