IPB
>  Man Pages > Linux > openSUSE 10.2 > Section 3 > XtAllocateGC man page

XtAllocateGC man page

Section 3 - openSUSE 10.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


XtAllocateGC(3)                  XT FUNCTIONS                  XtAllocateGC(3)



NAME
       XtAllocateGC - obtain a sharable GC with modifiable fields

SYNTAX
       GC XtAllocateGC(Widget w, Cardinal depth, XtGCMask value_mask, XGCVal-
              ues *values, XtGCMask dynamic_mask, XtGCMask unused_mask);

ARGUMENTS
       values    Specifies the actual values for this GC.

       value_mask
                 Specifies which fields of the values are specified.

       w         Specifies the widget.

       depth     Specifies the depth for which the returned GC is valid, or 0.

       dynamic_mask
                 Specifies the fields of the GC that will be modified by the
                 caller.

       unused_mask
                 Specifies the fields of the GC that will not be needed by the
                 caller.

DESCRIPTION
       The XtAllocateGC function returns a sharable GC that may be modified by
       the client.  The screen field of the specified widget or of the nearest
       widget ancestor of the specified object and the specified depth argu-
       ment supply the root and drawable depths for which the GC is to be
       valid. If depth is zero the depth is taken from the depth field of the
       specified widget or of the nearest widget ancestor of the specified
       object.

       The value_mask argument specifies the fields of the GC that will be
       initialized with the respective members of the values structure.  The
       dynamic_mask argument specifies fields that the caller intends to mod-
       ify during program execution. The caller must ensure that the corre-
       sponding GC field is set prior to each use of the GC. The unused_mask
       argument specifies fields of the GC that are of no interest to the
       caller. The caller may make no assumptions about the contents of any
       fields specified in unused_mask. The caller may assume that at all
       times all fields not specified in either dynamic_mask or unused_mask
       have their default value if not specified in value_mask or the value
       specified by values.  If a field is specified in both value_mask and
       dynamic_mask, the effect is as if it were specified only in
       dynamic_mask and then immediately set to the value in values. If a
       field is set in unused_mask and also in either value_mask or
       dynamic_mask, the specification in unused_mask is ignored.

       XtAllocateGC tries to minimize the number of unique GCs created by com-
       paring the arguments with those of previous calls and returning an
       existing GC when there are no conflicts.  XtAllocateGC may modify and
       return an existing GC if it was allocated with a nonzero unused_mask.

SEE ALSO
       XtGetGC
       X Toolkit Intrinsics - C Language Interface
       Xlib - C Language X Interface



X Version 11                      libXt 1.0.4                  XtAllocateGC(3)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Sat Sep 8 16:36:16 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

svn man page (6141 hits)
(FreeBSD 6.2)

sqlite3 man page (5592 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (5041 hits)
(Solaris 10 11_06)

CPAN man page (4786 hits)
(Suse Linux 10.1)

ssh man page (4438 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (3506 hits)
(Solaris 10 11_06)

signal man page (3363 hits)
(Suse Linux 10.1)

netcat man page (3359 hits)
(Suse Linux 10.1)

pprosetup man page (2874 hits)
(Solaris 10 11_06)

startproc man page (2732 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Mountain Holidays :: PIC Circuit Design Bedfordshire :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum