/* * @OPENGROUP_COPYRIGHT@ * COPYRIGHT NOTICE * Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. * Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group * ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for * the full copyright text. * * This software is subject to an open license. It may only be * used on, with or for operating systems which are themselves open * source systems. You must contact The Open Group for a license * allowing distribution and sublicensing of this software on, with, * or for operating systems which are not Open Source programs. * * See http://www.opengroup.org/openmotif/license for full * details of the license agreement. Any use, reproduction, or * distribution of the program constitutes recipient's acceptance of * this agreement. * * EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS * PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY * WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY * OR FITNESS FOR A PARTICULAR PURPOSE * * EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT * NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE * EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. */ /* * HISTORY */ /* static char rcsid[] = "$XConsortium: PIProto.dat /main/5 1995/07/13 20:23:49 drk $" */ #) This is the PIProto test. C) #) There should be two pushbutton windows displayed. The first should have a yellow background and red letters that say \"TEST 1 BTN 1\". The second should have a red background with yellow letters that say \"BTN 1 TEST 2\". #) Pick the f.kill option (\"Close\") off the menu in the border of the first window. The window should not actually close, but instead a message should appear on the standard output saying "Close window message sent." C) #) The first window should remained unchanged. The second window with the yellow on red background should unmap and remap. Also, you should see a message on the term window saying "Motif Message message sent." #) The second window with the yellow on red background should now have a new item on it's window menu. The new item should be labelled \"Send_Message\". #) Pick \"Send_Message\" from the menu of second window, you should see two messages appear on the standard output. The first should say "Motif Message callback hit.". The second message should say "Motif Message message sent." C) #ifdef SHOW_P899 #) The first window should remain unchanged. The second window should now have a second new item on it's window menu. The newest item should be labelled \"Send_Message2\". #) Pick \"Send_Message2\" from the menu of second window, you should see two messages appear on the standard output. C) #endif SHOW_P899 #) The first window should remained unchanged. The second window should now have a second and a third new item on its window menu. The second item should be labelled \"Send_Message2\". The third item should be labelled \"Send_Message3\" but it should be grayed out and inaccessible. #) If, by error, the third new item is not grayed-out, select it and see two messages appear on the standard output. #) Also, select the second new item \"Send_Message2\" again, and see two more messages appear on the standard output. C) E)