Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pieboxlabeler(3tk) [debian man page]

pieBoxLabeler(3tk)						pieBoxLabeler class						pieBoxLabeler(3tk)

__________________________________________________________________________________________________________________________________________________

NAME
pieBoxLabeler - tkpiechart pie box style labeler class SYNOPSIS
stooop::new pieBoxLabeler canvas ?options? switched::configure pieBoxLabelerObject ?options? switched::cget pieBoxLabelerObject option _________________________________________________________________ DESCRIPTION
The pie box style labeler object is used as a slice label placer for a pie object and is passed to the pie constructor via its -labeler option (see the pie class manual). The labels are arranged in 2 columns below the pie graphics. Each label text is placed to the right of a rectangle, the background color of which matches its corresponding slice. The slice share value is placed to the right of the label text, separated by a semicolon. Each label is actually a canvasLabel object (see the canvasLabel class manual for further information). There is no need to delete a pieBoxLabeler object as it is automatically handled by the pie class. stooop::new pieBoxLabeler canvas ?options? Creates a pieBoxLabeler object in the specified Tk canvas. The pieBoxLabeler object identifier is returned (referred to as pieBoxLa- belerObject in this document). switched::configure pieBoxLabelerObject ?options? Configures a pieBoxLabeler object or returns all the options with their current values if no options are passed as parameters. switched::cget pieBoxLabelerObject option Returns an option value for the specified pieBoxLabeler object. OPTIONS
-font value Specifies a font for the slice labels. If not specified, the default font is system dependent. -justify value Specifies how to justify labels within their own column. Must be one of left, center or right. Defaults to left. For example, if justification is right, all column labels right edges are aligned. -offset value Specifies the distance between the pie graphics and the closest slice label. This value may be specified in any of the forms described in the canvas COORDINATES manual section. TAGS
The labeler has the following specific tag (see the canvas manual page ITEM IDS AND TAGS section for more information): o pieBoxLabeler(pieBoxLabelerObject) SEE ALSO
canvasLabel, pie, piePeripheralLabeler KEYWORDS
canvas, labeler, pie, slice COPYRIGHT
Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr> tkpiechart 6.6 pieBoxLabeler(3tk)

Check Out this Related Man Page

canvasLabel(n)							 canvasLabel class						    canvasLabel(n)

__________________________________________________________________________________________________________________________________________________

NAME
canvasLabel - tkpiechart canvas label class SYNOPSIS
package require stooop 4.1 package require switched 2.2 package require tkpiechart 6.6 stooop::new canvasLabel canvas ?options? switched::configure canvasLabelObject ?options? switched::cget canvasLabelObject option stooop::delete canvasLabelObject _________________________________________________________________ DESCRIPTION
The canvasLabel class brings some Tk label widget functionality to the canvas text item, such as a background and a border. The canvasLabel is built with a bullet rectangle on the left side of the text. The relief changes according to the select state, with a traditionally sunken relief when selected. The label has a specific tag, which can be used to retrieve the coordinates of the object or move it, thanks to the canvas facilities. stooop::new canvasLabel canvas ?options? Creates a canvasLabel object in the specified Tk canvas. The canvasLabel object identifier is returned (referred to as canvasLabe- lObject in this document). switched::configure canvasLabelObject ?options? Configures a canvasLabel object or returns all the options with their current values if no options are passed as parameters. switched::cget canvasLabelObject option Returns an option value for the specified canvasLabel object. stooop::delete canvasLabelObject Deletes the specified canvasLabel object. OPTIONS
-anchor value Specifies the anchor position of the rectangle and the text, relative to the positioning point. The behavior is similar to the -anchor option of the canvas text item, except that the rectangle is taken into account. The default is center. -background color Specifies the background color of the bullet rectangle, as in the -fill option of the canvas rectangle item. The default is trans- parent (empty string). -bordercolor color Specifies the border color of the rectangle, as in the -outline option of the canvas rectangle item. The default is black. -borderwidth value Specifies the border width of the rectangle, as in the -width option of the canvas rectangle item. By default, the width is 1 pixel, which is the minimum width. -bulletwidth value Specifies the width of the rectangle placed to the left of the text. Defaults to 10. -font value Specifies the font of the text, as in the -font option of the canvas text item. The default is system dependent. -foreground color Specifies the color of the text, as in the -fill option of the canvas text item. The default is black. -justify value Specifies how to justify the text, as in the -justify option of the canvas text item. The default is left. -minimumwidth value The total label width will not go below the specified value, but may be larger if the label text requires it. -padding value Specifies how much space to leave between the text and the closest rectangle edge. Units are identical to those specified in the canvas COORDINATES manual section. -scale list List of 2 floating point numbers used to set the scaling factor in the x and y axis. Scaling is applied immediately and defaults to 1. -select boolean Sets the label state. -selectrelief value Either flat, raised or sunken. Specifies the 3D effect desired for the text area when the label is selected. -stipple bitmap Specifies the stipple pattern filling the rectangle, as in the -stipple option of the canvas rectangle item. There is no bitmap by default. -text text Specifies the string to be displayed in the text area, as in the -text option of the canvas text item. The default is an empty string. -textbackground color Specifies the color of the text area background. -width value Specifies a maximum line length for the text, as in the -width option of the canvas text item. The default is 0. TAGS
The labeler has the following specific tag (see the canvas manual page ITEM IDS AND TAGS section for more information): o canvasLabel(canvasLabelObject) SEE ALSO
pie, pieBoxLabeler, piePeripheralLabeler KEYWORDS
canvas, labeler, pie, slice COPYRIGHT
Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr> tkpiechart 6.6 canvasLabel(n)
Man Page