button-info

Class

Package: common-graphics

Class

The class of individual button on a multi-picture-button control.

Creating a button-info instance

This call to make-instance returns an instance of a button-info. Properties can be initialization keyword arguments (the keyword has the same name as the property, with a prepended colon, e.g. :width). Additional arguments could be provided. Their absence indicates the default value will be used.

(make-instance 'button-info
               :name :new
               :pixmap-name :new
               :pixmap-source nil
               :pixmap-icon nil
               :background-color nil
               :foreground-color nil
               :title nil
               :width nil
               :height nil
               :stretching t
               :tooltip nil
                :help-string "Open a blank editor window")

See About how to get sample code for creating controls in cgide.htm, which explains how to use the IDE to create such code. The example above came from placing a multi-picture-button on a form and looking at the resulting .bil file.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.