Searched refs:justify (Results 1 - 25 of 45) sorted by relevance

12

/ast/src/lib/libtk/library/demos/
H A Dbutton.tcl15 label $w.msg -font $font -wraplength 4i -justify left -text "If you click on any of the four buttons below, the background of the button area will change to the color indicated in the button. You can press Tab to move among the buttons, then press Space to invoke the current button."
H A Dcheck.tcl15 label $w.msg -font $font -wraplength 4i -justify left -text "Three checkbuttons are displayed below. If you click on a button, it will toggle the button's selection state and set a Tcl variable to a value indicating the state of the checkbutton. Click the \"See Variables\" button to see the current values of the variables."
H A Dctext.tcl16 label $w.msg -font $font -wraplength 5i -justify left -text "This window displays a string of text to demonstrate the text facilities of canvas widgets. You can click in the boxes to adjust the position of the text relative to its positioning point or change its justification. The text also supports the following simple bindings for editing:
41 $c addtag text withtag [$c create text 250 200 -text "This is just a string of text to demonstrate the text facilities of canvas widgets. Bindings have been been defined to support editing (see above)." -width 440 -anchor n -font -*-Helvetica-Medium-R-Normal--*-240-*-*-*-*-*-* -justify left]
87 mkTextConfig $c $x $y -justify left $color
88 mkTextConfig $c [expr $x+30] [expr $y] -justify center $color
89 mkTextConfig $c [expr $x+60] [expr $y] -justify right $color
H A Dentry1.tcl15 label $w.msg -font $font -wraplength 5i -justify left -text "Three different entries are displayed below. You can add characters by pointing, clicking and typing. The normal Motif editing characters are supported, along with many Emacs bindings. For example, Backspace and Control-h delete the character to the left of the insertion cursor and Delete and Control-d delete the chararacter to the right of the insertion cursor. For entries that are too large to fit in the window all at once, you can scan through the entries by dragging with mouse button2 pressed."
H A Dform.tcl15 label $w.msg -font $font -wraplength 4i -justify left -text "This window contains a simple form where you can type in the various entries and use tabs to move circularly between the entries."
H A Dimage1.tcl14 label $w.msg -font $font -wraplength 4i -justify left -text "This demonstration displays two images, each in a separate label widget."
H A Dbitmap.tcl39 label $w.msg -font $font -wraplength 4i -justify left -text "This window displays all of Tk's built-in bitmaps, along with the names you can use for them in Tcl scripts."
H A Dclrpick.tcl14 label $w.msg -font $font -wraplength 4i -justify left -text "Press the buttons below to choose the foreground and background colors for the widgets in this window."
H A Dentry2.tcl15 label $w.msg -font $font -wraplength 5i -justify left -text "Three different entries are displayed below, with a scrollbar for each entry. You can add characters by pointing, clicking and typing. The normal Motif editing characters are supported, along with many Emacs bindings. For example, Backspace and Control-h delete the character to the left of the insertion cursor and Delete and Control-d delete the chararacter to the right of the insertion cursor. For entries that are too large to fit in the window all at once, you can scan through the entries with the scrollbars, or by dragging with mouse button2 pressed."
H A Dicon.tcl15 label $w.msg -font $font -wraplength 5i -justify left -text "This window shows three ways of using bitmaps or images in radiobuttons and checkbuttons. On the left are two radiobuttons, each of which displays a bitmap and an indicator. In the middle is a checkbutton that displays a different image depending on whether it is selected or not. On the right is a checkbutton that displays a single bitmap but changes its background color to indicate whether or not it is selected."
H A Dlabel.tcl15 label $w.msg -font $font -wraplength 4i -justify left -text "Five labels are displayed below: three textual ones on the left, and a bitmap label and a text label on the right. Labels are pretty boring because you can't do anything with them."
H A Dradio.tcl14 label $w.msg -font $font -wraplength 5i -justify left -text "Two groups of radiobuttons are displayed below. If you click on a button then the button will become selected exclusively among all the buttons in its group. A Tcl variable is associated with each group to indicate which of the group's buttons is selected. Click the \"See Variables\" button to see the current values of the variables."
H A Dsayings.tcl16 label $w.msg -font $font -wraplength 4i -justify left -text "The listbox below contains a collection of well-known sayings. You can scan the list using either of the scrollbars or by dragging in the listbox window with button 2 pressed."
H A Dstates.tcl15 label $w.msg -font $font -wraplength 4i -justify left -text "A listbox containing the 50 states is displayed below, along with a scrollbar. You can scan the list either using the scrollbar or by scanning. To scan, press button 2 in the widget and drag up or down."
H A Dfilebox.tcl14 label $w.msg -font $font -wraplength 4i -justify left -text "Enter a file name in the entry box or click on the \"Browse\" buttons to select a file name using the file selection dialog."
H A Dhscale.tcl14 label $w.msg -font $font -wraplength 3.5i -justify left -text "An arrow and a horizontal scale are displayed below. If you click or drag mouse button 1 in the scale, you can change the length of the arrow."
H A Dimage2.tcl47 label $w.msg -font $font -wraplength 4i -justify left -text "This demonstration allows you to view images using a Tk \"photo\" image. First type a directory name in the listbox, then type Return to load the directory into the listbox. Then double-click on a file name in the listbox to see that image."
H A Dmsgbox.tcl14 label $w.msg -font $font -wraplength 4i -justify left -text "Choose the icon and type option of the message box. Then press the \"Message Box\" button to see the message box."
H A Dpuzzle.tcl40 label $w.msg -font $font -wraplength 4i -justify left -text "A 15-puzzle appears below as a collection of buttons. Click on any of the pieces next to the space, and that piece will slide over the space. Continue this until the pieces are arranged in numerical order from upper-left to lower-right."
H A Dvscale.tcl14 label $w.msg -font $font -wraplength 3.5i -justify left -text "An arrow and a vertical scale are displayed below. If you click or drag mouse button 1 in the scale, you can change the size of the arrow."
/ast/src/lib/libtk/generic/
H A DtkGet.c387 Tk_NameOfJustify(justify)
388 Tk_Justify justify; /* Justification style for which
391 switch (justify) {
H A DtkMessage.c78 Tk_Justify justify; /* Justification for text. */ member in struct:__anon411
142 {TK_CONFIG_JUSTIFY, "-justify", "justify", "Justify",
143 DEF_MESSAGE_JUSTIFY, Tk_Offset(Message, justify), 0},
252 msgPtr->justify = TK_JUSTIFY_LEFT;
670 * line to justify it properly, then display the line.
695 if (msgPtr->justify == TK_JUSTIFY_CENTER) {
697 } else if (msgPtr->justify == TK_JUSTIFY_RIGHT) {
H A DtkCanvText.c64 Tk_Justify justify; /* Justification mode for text. */ member in struct:TextItem
101 {TK_CONFIG_JUSTIFY, "-justify", (char *) NULL, (char *) NULL,
102 "left", Tk_Offset(TextItem, justify),
239 textPtr->justify = TK_JUSTIFY_LEFT;
648 switch (textPtr->justify) {
1515 char *justify = NULL; /* only to stop compiler
1556 switch (textPtr->justify) {
1557 case TK_JUSTIFY_LEFT: justify = "0"; break;
1558 case TK_JUSTIFY_CENTER: justify = "0.5"; break;
1559 case TK_JUSTIFY_RIGHT: justify
1499 char *justify = NULL; /* only to stop compiler local
[all...]
/ast/src/lib/libtk/library/
H A Ddialog.tcl60 label $w.msg -justify left -text $text
/ast/src/cmd/ksh93/sh/
H A Dparse.c108 int justify=0; local
119 justify = 'a';
141 justify=n;
157 r=kiaentity(lexp,argp->argval,n,type,line,eline,parent,justify,width,atbuff);

Completed in 52 milliseconds

12