Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!dkuug!resam!andrew From: andrew@resam.dk (Leif Andrew Rump) Newsgroups: comp.windows.x Subject: Re: XView Toolkit Message-ID: <1991Jun24.090219.28243@resam.dk> Date: 24 Jun 91 09:02:19 GMT References: <9106180734.AA04888@delphi.uucp> <1991Jun18.161315@wsl.dec.com> <1991Jun19.052126.9204@aplcen.apl.jhu.edu> <537@bksmel.oz.au> Organization: RESAM Project Office, SAS, CPHML-V Lines: 55 In <537@bksmel.oz.au> cwy@bksmel.oz.au (Chris Young) writes: >Also, I STRONGLY disagree that Xview is easier to use than Motif ... >you obviously have done more Xview - I find it the other way around as >I have done more Motif. You should be more careful making sweeping >statements on the net unless you are asking to be flamed ! What about some cool facts? How does a simple Motif program look like? This XView program creates a window with a demo text: #include #include #include #define X_SIZE 200 #define Y_SIZE 100 main(argc, argv) int argc; char *argv[]; { Frame frame; Panel panel; xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv, NULL); frame = (Frame)xv_create(NULL, FRAME, FRAME_LABEL, argv[0], XV_WIDTH, X_SIZE, XV_HEIGHT, Y_SIZE, NULL); panel = (Panel)xv_create(frame, PANEL, NULL); (void)xv_create(panel, PANEL_MESSAGE, PANEL_LABEL_STRING, "Hello World", NULL); xv_main_loop(frame); } I know this program doesn't do anything put it's easy to understand! I Motif equally easy to understand and what happens when things get a bit more complicated? My experience with XView is that some things is very simple and other things is rather complicated - any followups? Leif Andrew Rump, AmbraSoft A/S, Stroedamvej 50, DK-2100 Copenhagen OE, Denmark UUCP: andrew@ambra.dk, phone: +45 39 27 11 77 / Currently at Scandinavian Airline Systems =======/ UUCP: andrew@resam.dk, phone: +45 32 32 51 54 \ SAS, RESAM Project Office, CPHML-V, P.O.BOX 150, DK-2770 Kastrup, Denmark If it's broke, fix it (The MS-DOS way) If it aint broke, don't touch it (The Unix way) If we can't fix it, it ain't broke (Maintainer's Motto) If you can't fix it, fuck it (The U-boat way)