![]() |
![]()
| ![]() |
![]()
NAMEiwidgets::extbutton - Extends the behavior of the Tk button by allowing a bitmap or image to coexist with text. SYNOPSISiwidgets::extbutton pathName ?options? INHERITANCEitk::Widget <- iwidgets::Extbutton STANDARD OPTIONSactivebackground activeforeground bitmap background bd cursor disabledforeground font foreground image justify relief text See the "options" manual entry for details on the standard options. WIDGET-SPECIFIC OPTIONSName: bitmapforeground Class: Foreground Command-Line Switch: -bitmapforeground
Name: command Class: Command Command-Line Switch: -command
Name: defaultring Class: DefaultRing Command-Line Switch: -defaultring
Name: defaultringpad Class: Pad Command-Line Switch: -defaultringpad
Name: imagePos Class: Position Command-Line Switch: -imagepos
Name: ringBackground Class: Background Command-Line Switch: -ringbackground
DESCRIPTIONThe extbutton extends the behavior of the atomic Tk button by allowing text and an image or bitmap to coexist. The user may use the -image or -bitmap options to specify an image as well as the -imagepos option to specify image position relative to the text. Note that the extbutton is not intended to be used without an image/bitmap. There will be an emtpy space next to the text if no image/bitmap is specified. METHODSThe iwidgets::extbutton command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form: pathName option ?arg arg ...? INHERITED METHODSEach of the following methods are inherited from itk::Archetype. See that man page for details. pathName cget pathName component pathName config pathName configure WIDGET-SPECIFIC METHODS
EXAMPLESpackage require Iwidgets 4.0 iwidgets::extbutton .eb -text "Bitmap example" -bitmap info \ AUTHORChad Smith KEYWORDSbutton, pushbutton
|