File: nameonly.cpp

package info (click to toggle)
gilt 2.0-2.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,192 kB
  • ctags: 733
  • sloc: cpp: 8,867; sh: 8,763; makefile: 81
file content (63 lines) | stat: -rw-r--r-- 2,136 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/* ************************************************************* *
 *   The Amulet User Interface Development Environment           *
 * ************************************************************* *
 *   Created automatically by the Gilt program in Amulet.        *
 *   Do not edit this file directly.                             *
 *   For more information on Amulet, contact amulet@cs.cmu.edu   *
 * ************************************************************* *
 *   Generated on Tue Jan 21 17:10:54 1997

 *   Amulet version 3.0 alpha
 * ************************************************************* */

#include <amulet.h>
#include "externs.h"

Am_Object Name_Only_Window;

const Am_Slot_Key NAME_OBJ = Am_Register_Slot_Name ("NAME_OBJ");

Am_Object Name_Only_Window_Initialize ()
{
  Name_Only_Window = Am_Window.Create("Name_Only_Window")
    .Set(Am_DESTROY_WINDOW_METHOD, Am_Default_Pop_Up_Window_Destroy_Method)
    .Set(Am_FILL_STYLE, Am_White)
    .Set(Am_TITLE, "Name Settings")
    .Set(Am_ICON_TITLE, "Settings: Name")
    .Set(Am_WIDTH, 337)
    .Set(Am_HEIGHT, 101)
    .Add_Part(Am_Border_Rectangle.Create()
	      .Set(Am_LEFT, 0)
	      .Set(Am_TOP, 0)
	      .Set(Am_WIDTH, 337)
	      .Set(Am_HEIGHT, 101)
	      .Set(Am_SELECTED, 0)
	      .Set(Am_FILL_STYLE, Am_Motif_Light_Gray)
	      )
    .Add_Part(NAME_OBJ, Am_Text_Input_Widget.Create("NAME_OBJ")
	      .Set(Am_LEFT, 14)
	      .Set(Am_TOP, 13)
	      .Set(Am_WIDTH, 319)
	      .Set(Am_HEIGHT, 24)
	      .Get_Object(Am_COMMAND)
	      .Set(Am_LABEL, "Name for item:")
	      .Get_Owner()
	      .Set(Am_FILL_STYLE, Am_Motif_Light_Gray)
	      )
    .Add_Part(Am_Button_Panel.Create()
	      .Set(Am_LEFT, 94)
	      .Set(Am_TOP, 53)
	      .Set(Am_FILL_STYLE, Am_Motif_Light_Gray)
	      .Set(Am_LAYOUT, Am_Horizontal_Layout)
	      .Set(Am_H_SPACING, 40)
	      .Set(Am_V_SPACING, 0)
	      .Set(Am_MAX_RANK, 0)
	      .Set(Am_ITEMS, Am_Value_List()
		   .Add(Am_Standard_OK_Command.Create())
		   .Add(Am_Standard_Cancel_Command.Create())
		   )
	      )
    .Add_Part(Am_Tab_To_Next_Widget_Interactor.Create())
    ;
  return Name_Only_Window;
}