DragonFly On-Line Manual Pages

Search: Section:  


RAISE(3)              DragonFly Library Functions Manual              RAISE(3)

NAME

raise -- send a signal to the current process

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#include <signal.h> int raise(int sig);

DESCRIPTION

The raise() function sends the signal sig to the current process.

RETURN VALUES

The raise() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

ERRORS

The raise() function may fail and set errno for any of the errors speci- fied for the library functions getpid(2) and kill(2).

SEE ALSO

kill(2)

STANDARDS

The raise() function conforms to ISO/IEC 9899:1990 (``ISO C90''). DragonFly 3.5 June 4, 1993 DragonFly 3.5 raise(n) Tk Built-In Commands raise(n) ______________________________________________________________________________

NAME

raise - Change a window's position in the stacking order

SYNOPSIS

raise window ?aboveThis? ______________________________________________________________________________

DESCRIPTION

If the aboveThis argument is omitted then the command raises window so that it is above all of its siblings in the stacking order (it will not be obscured by any siblings and will obscure any siblings that overlap it). If aboveThis is specified then it must be the path name of a window that is either a sibling of window or the descendant of a sibling of window. In this case the raise command will insert window into the stacking order just above aboveThis (or the ancestor of aboveThis that is a sibling of window); this could end up either raising or lowering window. All toplevel windows may be restacked with respect to each other, whatever their relative path names, but the window manager is not obligated to strictly honor requests to restack. On macOS raising an iconified toplevel window causes it to be deiconified.

EXAMPLE

Make a button appear to be in a sibling frame that was created after it. This is is often necessary when building GUIs in the style where you create your activity widgets first before laying them out on the display: button .b -text "Hi there!" pack [frame .f -background blue] pack [label .f.l1 -text "This is above"] pack .b -in .f pack [label .f.l2 -text "This is below"] raise .b

SEE ALSO

lower(n)

KEYWORDS

obscure, raise, stacking order Tk 3.3 raise(n)

Search: Section: