wrlib: return NULL if XImage could not be taken, for consistency
[wmaker-crm.git] / doc / setstyle.1x
blobaf637453d6ea66fcca01a549a5e53a6119f0629c
1 .\" Hey, Emacs!  This is an -*- nroff -*- source file.
2 .TH setstyle 1x "January 1999"
3 .SH NAME
4 setstyle \- set style related options for Window Maker or loads a theme
5 .SH SYNOPSIS
6 .B setstyle
7 .I "[--no-fonts] [--no-cursors] [--help] [--version]"
8 .I stylefile
9 .SH DESCRIPTION
10 .B setstyle
11 reads
12 .I stylefile
13 and writes its contents to the WindowMaker domain, effectively setting
14 the Window Maker style. If the supplied path is a directory, it will
15 be treated as a theme pack and it will be loaded appropriately. If the
16 \fB\-\-no\-fonts\fP flag is specified, font related options
17 (\fIIconTitleFont\fP, \fIClipTitleFont\fP,
18 \fIMenuTextFont\fP, \fIMenuTitleFont\fP, \fIWindowTitleFont\fP) in the
19 style file will be ignored.
21 If the \fB\-\-no\-cursors\fP flag is specified, any mouse cursor
22 definitions (\fINormalCursor\fP, \fIArrowCursor\fP, \fIMoveCursor\fP,
23 \fIResizeCursor\fP,
24 \fITopLeftResizeCursor\fP, \fITopRightResizeCursor\fP,
25 \fIBottomLeftResizeCursor\fP, \fIBottomRightResizeCursor\fP,
26 \fIVerticalResizeCursor\fP, \fIHorizontalResizeCursor\fP,
27 \fIWaitCursor\fP, \fIQuestionCursor\fP, \fITextCursor\fP,
28 \fISelectCursor\fP) in the style or theme will be ignored.
29 .SH OPTIONS
30 .TP
31 .B \-\-no\-fonts
32 ignore font related options in style file.
33 .TP
34 .B \-\-no\-cursors
35 ignore cursor definition options in style file.
36 .TP
37 .B \-\-help
38 print a help message
39 .TP
40 .B \-\-version
41 print version number
42 .SH ENVIRONMENT
43 .IP GNUSTEP_USER_ROOT
44 specifies the initial path for the Defaults directory. "Defaults/" is
45 appended to this variable to determine the actual location of the
46 databases. If the variable is not set, it defaults to "~/GNUstep"
47 .SH FILES
48 .IP GNUSTEP_USER_ROOT/Defaults/WindowMaker
49 This is the actual file that's written.
50 .SH SEE ALSO
51 .BR getstyle (1x),
52 .BR wmaker (1x)
53 .SH AUTHOR
54 This man page was written by Marcelo Magallon <mmagallo@debian.org>.
55 .PP
56 Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.info>.