-
Complete Download [TAR]
[WIM]
[ZIP]
[RAR]
- Alphabetical Download [TAR]
[WIM]
[ZIP]
[RAR]
- Download
Instructions
Make
a donation:
IBAN: IT36M0708677020000000008016 - BIC/SWIFT:
ICRAITRRU60 - VALERIO DI STEFANO or
Privacy Policy
Cookie Policy
Terms and Conditions
XSetWMProperties(3X11) manual page
Table of Contents
XSetWMProperties, XmbSetWMProperties
- set standard window properties
void XSetWMProperties(display, w,
window_name, icon_name, argv, argc, normal_hints, wm_hints, class_hints)
Display *display;
Window w;
XTextProperty *window_name;
XTextProperty *icon_name;
char **argv;
int argc;
XSizeHints *normal_hints;
XWMHints *wm_hints;
XClassHint *class_hints;
void XmbSetWMProperties(display, w, window_name, icon_name, argv, argc,
normal_hints, wm_hints, class_hints)
Display *display;
Window w;
char *window_name;
char *icon_name;
char *argv[];
int argc;
XSizeHints *normal_hints;
XWMHints *wm_hints;
XClassHint *class_hints;
- argc
- Specifies the number of arguments.
- argv
- Specifies the application's
argument list.
- class_hints
- Specifies the XClassHint structure to be used.
- display
- Specifies the connection to the X server.
- icon_name
- Specifies the
icon name, which should be a null-terminated string.
- normal_hints
- Specifies
the size hints for the window in its normal state.
- w
- Specifies the window.
- window_name
- Specifies the window name, which should be a null-terminated
string.
- wm_hints
- Specifies the XWMHints structure to be used.
The
XSetWMProperties convenience function provides a single programming
interface for setting those essential window properties that are used
for communicating with other clients (particularly window and session
managers).
If the window_name argument is non-NULL, XSetWMProperties calls
XSetWMName, which in turn, sets the WM_NAME property (see section 14.1.4).
If the icon_name argument is non-NULL, XSetWMProperties calls XSetWMIconName,
which sets the WM_ICON_NAME property (see section 14.1.5). If the argv argument
is non-NULL, XSetWMProperties calls XSetCommand, which sets the WM_COMMAND
property (see section 14.2.1). Note that an argc of zero is allowed to indicate
a zero-length command. Note also that the hostname of this machine is stored
using XSetWMClientMachine (see section 14.2.2).
If the normal_hints argument
is non-NULL, XSetWMProperties calls XSetWMNormalHints, which sets the
WM_NORMAL_HINTS property (see section 14.1.7). If the wm_hints argument is
non-NULL, XSetWMProperties calls XSetWMHints, which sets the WM_HINTS
property (see section 14.1.6).
If the class_hints argument is non-NULL, XSetWMProperties
calls XSetClassHint, which sets the WM_CLASS property (see section
14.1.8). If the res_name member in the XClassHint structure is set to the
NULL pointer and the RESOURCE_NAME environment variable is set, then
the value of the environment variable is substituted for res_name. If the
res_name member is NULL, the environment variable is not set, and argv
and argv[0] are set, then the value of argv[0], stripped of any directory
prefixes, is substituted for res_name.
The XmbSetWMProperties convenience
function provides a simple programming interface for setting those essential
window properties that are used for communicating with other clients (particularly
window and session managers).
If the window_name argument is non-NULL, XmbSetWMProperties
sets the WM_NAME property. If the icon_name argument is non-NULL, XmbSetWMProperties
sets the WM_ICON_NAME property. The window_name and icon_name arguments
are null-terminated strings in the encoding of the current locale. If the
arguments can be fully converted to the STRING encoding, the properties
are created with type ``STRING''; otherwise, the arguments are converted to
Compound Text, and the properties are created with type ``COMPOUND_TEXT''.
If the normal_hints argument is non-NULL, XmbSetWMProperties calls XSetWMNormalHints,
which sets the WM_NORMAL_HINTS property (see section 14.1.7). If the wm_hints
argument is non-NULL, XmbSetWMProperties calls XSetWMHints, which sets
the WM_HINTS property (see section 14.1.6).
If the argv argument is non-NULL,
XmbSetWMProperties sets the WM_COMMAND property from argv and argc. An
argc of zero indicates a zero-length command.
The hostname of the machine
is stored using XSetWMClientMachine (see section 14.2.2).
If the class_hints
argument is non-NULL, XmbSetWMProperties sets the WM_CLASS property. If
the res_name member in the XClassHint structure is set to the NULL pointer
and the RESOURCE_NAME environment variable is set, the value of the environment
variable is substituted for res_name. If the res_name member is NULL, the
environment variable is not set, and argv and argv[0] are set, then the
value of argv[0], stripped of any directory prefixes, is substituted for
res_name.
It is assumed that the supplied class_hints.res_name and argv,
the RESOURCE_NAME environment variable, and the hostname of the machine
are in the encoding of the locale announced for the LC_CTYPE category (on
POSIX-compliant systems, the LC_CTYPE, else LANG environment variable). The
corresponding WM_CLASS, WM_COMMAND, and WM_CLIENT_MACHINE properties are
typed according to the local host locale announcer. No encoding conversion
is performed prior to storage in the properties.
For clients that need to
process the property text in a locale, XmbSetWMProperties sets the WM_LOCALE_NAME
property to be the name of the current locale. The name is assumed to be
in the Host Portable Character Encoding and is converted to STRING for
storage in the property.
XSetWMProperties and XmbSetWMProperties can
generate BadAlloc and BadWindow errors.
- WM_CLASS
- Set by application
programs to allow window and session managers to obtain the application's
resources from the resource database.
- WM_CLIENT_MACHINE
- The string name
of the machine on which the client application is running.
- WM_COMMAND
- The
command and arguments, null-separated, used to invoke the application.
- WM_HINTS
- Additional hints set by the client for use by the window manager. The C
type of this property is XWMHints.
- WM_ICON_NAME
- The name to be used in
an icon.
- WM_NAME
- The name of the application.
- WM_NORMAL_HINTS
- Size hints
for a window in its normal state. The C type of this property is XSizeHints.
- BadAlloc
- The server failed to allocate the requested resource
or server memory.
- BadWindow
- A value for a Window argument does not name
a defined Window.
XAllocClassHint(3X11)
, XAllocIconSize(3X11)
, XAllocSizeHints(3X11)
,
XAllocWMHints(3X11)
, XParseGeometry(3X11)
, XSetCommand(3X11)
, XSetTransientForHint(3X11)
,
XSetTextProperty(3X11)
, XSetWMClientMachine(3X11)
, XSetWMColormapWindows(3X11)
,
XSetWMIconName(3X11)
, XSetWMName(3X11)
, XSetWMProtocols(3X11)
, XStringListToTextProperty(3X11)
,
XTextListToTextProperty(3X11)
Xlib - C Language X Interface
Table of Contents
Static
Wikipedia 2008 (no
images)
aa
- ab
- af
- ak
- als
- am
- an
- ang
- ar
- arc
- as
- ast
- av
- ay
- az
- ba
- bar
- bat_smg
- bcl
- be
- be_x_old
- bg
- bh
- bi
- bm
- bn
- bo
- bpy
- br
- bs
- bug
- bxr
- ca
- cbk_zam
- cdo
- ce
- ceb
- ch
- cho
- chr
- chy
- co
- cr
- crh
- cs
- csb
- cu
- cv
- cy
- da
- de
- diq
- dsb
- dv
- dz
- ee
- el
- eml
- en
- eo
- es
- et
- eu
- ext
- fa
- ff
- fi
- fiu_vro
- fj
- fo
- fr
- frp
- fur
- fy
- ga
- gan
- gd
- gl
- glk
- gn
- got
- gu
- gv
- ha
- hak
- haw
- he
- hi
- hif
- ho
- hr
- hsb
- ht
- hu
- hy
- hz
- ia
- id
- ie
- ig
- ii
- ik
- ilo
- io
- is
- it
- iu
- ja
- jbo
- jv
- ka
- kaa
- kab
- kg
- ki
- kj
- kk
- kl
- km
- kn
- ko
- kr
- ks
- ksh
- ku
- kv
- kw
- ky
- la
- lad
- lb
- lbe
- lg
- li
- lij
- lmo
- ln
- lo
- lt
- lv
- map_bms
- mdf
- mg
- mh
- mi
- mk
- ml
- mn
- mo
- mr
- mt
- mus
- my
- myv
- mzn
- na
- nah
- nap
- nds
- nds_nl
- ne
- new
- ng
- nl
- nn
- no
- nov
- nrm
- nv
- ny
- oc
- om
- or
- os
- pa
- pag
- pam
- pap
- pdc
- pi
- pih
- pl
- pms
- ps
- pt
- qu
- quality
- rm
- rmy
- rn
- ro
- roa_rup
- roa_tara
- ru
- rw
- sa
- sah
- sc
- scn
- sco
- sd
- se
- sg
- sh
- si
- simple
- sk
- sl
- sm
- sn
- so
- sr
- srn
- ss
- st
- stq
- su
- sv
- sw
- szl
- ta
- te
- tet
- tg
- th
- ti
- tk
- tl
- tlh
- tn
- to
- tpi
- tr
- ts
- tt
- tum
- tw
- ty
- udm
- ug
- uk
- ur
- uz
- ve
- vec
- vi
- vls
- vo
- wa
- war
- wo
- wuu
- xal
- xh
- yi
- yo
- za
- zea
- zh
- zh_classical
- zh_min_nan
- zh_yue
- zu
-
Static
Wikipedia 2007 (no
images)
aa
- ab
- af
- ak
- als
- am
- an
- ang
- ar
- arc
- as
- ast
- av
- ay
- az
- ba
- bar
- bat_smg
- bcl
- be
- be_x_old
- bg
- bh
- bi
- bm
- bn
- bo
- bpy
- br
- bs
- bug
- bxr
- ca
- cbk_zam
- cdo
- ce
- ceb
- ch
- cho
- chr
- chy
- co
- cr
- crh
- cs
- csb
- cu
- cv
- cy
- da
- de
- diq
- dsb
- dv
- dz
- ee
- el
- eml
- en
- eo
- es
- et
- eu
- ext
- fa
- ff
- fi
- fiu_vro
- fj
- fo
- fr
- frp
- fur
- fy
- ga
- gan
- gd
- gl
- glk
- gn
- got
- gu
- gv
- ha
- hak
- haw
- he
- hi
- hif
- ho
- hr
- hsb
- ht
- hu
- hy
- hz
- ia
- id
- ie
- ig
- ii
- ik
- ilo
- io
- is
- it
- iu
- ja
- jbo
- jv
- ka
- kaa
- kab
- kg
- ki
- kj
- kk
- kl
- km
- kn
- ko
- kr
- ks
- ksh
- ku
- kv
- kw
- ky
- la
- lad
- lb
- lbe
- lg
- li
- lij
- lmo
- ln
- lo
- lt
- lv
- map_bms
- mdf
- mg
- mh
- mi
- mk
- ml
- mn
- mo
- mr
- mt
- mus
- my
- myv
- mzn
- na
- nah
- nap
- nds
- nds_nl
- ne
- new
- ng
- nl
- nn
- no
- nov
- nrm
- nv
- ny
- oc
- om
- or
- os
- pa
- pag
- pam
- pap
- pdc
- pi
- pih
- pl
- pms
- ps
- pt
- qu
- quality
- rm
- rmy
- rn
- ro
- roa_rup
- roa_tara
- ru
- rw
- sa
- sah
- sc
- scn
- sco
- sd
- se
- sg
- sh
- si
- simple
- sk
- sl
- sm
- sn
- so
- sr
- srn
- ss
- st
- stq
- su
- sv
- sw
- szl
- ta
- te
- tet
- tg
- th
- ti
- tk
- tl
- tlh
- tn
- to
- tpi
- tr
- ts
- tt
- tum
- tw
- ty
- udm
- ug
- uk
- ur
- uz
- ve
- vec
- vi
- vls
- vo
- wa
- war
- wo
- wuu
- xal
- xh
- yi
- yo
- za
- zea
- zh
- zh_classical
- zh_min_nan
- zh_yue
- zu
-
Static
Wikipedia 2006 (no
images)
aa
- ab
- af
- ak
- als
- am
- an
- ang
- ar
- arc
- as
- ast
- av
- ay
- az
- ba
- bar
- bat_smg
- bcl
- be
- be_x_old
- bg
- bh
- bi
- bm
- bn
- bo
- bpy
- br
- bs
- bug
- bxr
- ca
- cbk_zam
- cdo
- ce
- ceb
- ch
- cho
- chr
- chy
- co
- cr
- crh
- cs
- csb
- cu
- cv
- cy
- da
- de
- diq
- dsb
- dv
- dz
- ee
- el
- eml
- eo
- es
- et
- eu
- ext
- fa
- ff
- fi
- fiu_vro
- fj
- fo
- fr
- frp
- fur
- fy
- ga
- gan
- gd
- gl
- glk
- gn
- got
- gu
- gv
- ha
- hak
- haw
- he
- hi
- hif
- ho
- hr
- hsb
- ht
- hu
- hy
- hz
- ia
- id
- ie
- ig
- ii
- ik
- ilo
- io
- is
- it
- iu
- ja
- jbo
- jv
- ka
- kaa
- kab
- kg
- ki
- kj
- kk
- kl
- km
- kn
- ko
- kr
- ks
- ksh
- ku
- kv
- kw
- ky
- la
- lad
- lb
- lbe
- lg
- li
- lij
- lmo
- ln
- lo
- lt
- lv
- map_bms
- mdf
- mg
- mh
- mi
- mk
- ml
- mn
- mo
- mr
- mt
- mus
- my
- myv
- mzn
- na
- nah
- nap
- nds
- nds_nl
- ne
- new
- ng
- nl
- nn
- no
- nov
- nrm
- nv
- ny
- oc
- om
- or
- os
- pa
- pag
- pam
- pap
- pdc
- pi
- pih
- pl
- pms
- ps
- pt
- qu
- quality
- rm
- rmy
- rn
- ro
- roa_rup
- roa_tara
- ru
- rw
- sa
- sah
- sc
- scn
- sco
- sd
- se
- sg
- sh
- si
- simple
- sk
- sl
- sm
- sn
- so
- sr
- srn
- ss
- st
- stq
- su
- sv
- sw
- szl
- ta
- te
- tet
- tg
- th
- ti
- tk
- tl
- tlh
- tn
- to
- tpi
- tr
- ts
- tt
- tum
- tw
- ty
- udm
- ug
- uk
- ur
- uz
- ve
- vec
- vi
- vls
- vo
- wa
- war
- wo
- wuu
- xal
- xh
- yi
- yo
- za
- zea
- zh
- zh_classical
- zh_min_nan
- zh_yue
- zu
-
Sub-domains
CDRoms
- Magnatune
- Librivox
- Liber
Liber - Encyclopaedia
Britannica - Project
Gutenberg - Wikipedia
2008
- Wikipedia
2007 - Wikipedia
2006 -
Other
Domains
https://www.classicistranieri.it
- https://www.ebooksgratis.com
- https://www.gutenbergaustralia.com
- https://www.englishwikipedia.com
- https://www.wikipediazim.com
- https://www.wikisourcezim.com
- https://www.projectgutenberg.net
- https://www.projectgutenberg.es
- https://www.radioascolto.com
- https://www.debitoformtivo.it
- https://www.wikipediaforschools.org
- https://www.projectgutenbergzim.com