Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmActivateProtocol(3)	    Library Functions Manual	   XmActivateProtocol(3)

NAME
     XmActivateProtocol -- A VendorShell function that activates a protocol

SYNOPSIS
     #include <Xm/Protocols.h>
     void XmActivateProtocol(
     Widget shell,
     Atom property,
     Atom protocol);

DESCRIPTION
     XmActivateProtocol  activates  a  protocol. It updates the handlers and the
     property if the shell is realized. It is sometimes useful to allow a proto-
     col's state information (callback lists, and so on) to persist, even though
     the client may choose to temporarily resign from the interaction.	This  is
     supported	by allowing a protocol to be in one of two states: active or in-
     active. If the protocol is active and the shell is realized,  the	property
     contains  the  protocol Atom.  If the protocol is inactive, the Atom is not
     present in the property.

     XmActivateWMProtocol is a convenience interface.  It calls XmActivateProto-
     col with the property value set to the atom returned by interning WM_PROTO-
     COLS.

     shell     Specifies the widget with which the protocol property is  associ-
	       ated

     property  Specifies the protocol property

     protocol  Specifies the protocol Atom

     For  a complete definition of VendorShell and its associated resources, see
     VendorShell(3).

RELATED
     VendorShell(3), XmActivateWMProtocol(3), XmRemoveProtocols(3) and	XmInter-
     nAtom(3).

							   XmActivateProtocol(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmActivateProtocol&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help