comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Interface, Widget, Motif questions

Re: Interface, Widget, Motif questions
type: item
description: In article <2m3nsjINNh2@i32.sma.ch> stl@sma.ch (Stephen Strebel) writes: > am trying to find out more about creating interfaces that might be > motif OSF standard. Specificly can you call motif stuff (X i guess) > from within IDL. A little while ago, someone posted something about > aponing a dialog box directly (or something of this nature). Any > information about this would be greatly appreciated. > How do other people handle making GUI's that at least try to be > standard? (simple things like coloring a button; dropdown list boxes; > spin buttons; etc..) I would love to heat the creative (even if ugly > ) things people are doing. Or does this problem really not exist and > there is some really amazing little tool out there that i on't know > about. :-) > -thanks a bunch, > stephen Strebel Hi Stephen I posted a question a while back on using Windows standard dialogues directly, but received no replies. I had seen in PickFile.pro that IDL interfaces to the Windows dialogue by having thefile = OS_PickFile(....... ect. and wanted to know which other Windows interfaces could be used in this way. Should you receive more info, please let me know. Thanx Mike -------------------------------- | MIKE MATHEWS | | fskmjm@puknet.puk.ac.za | | | | ANTARCTIC RESEARCH GROUP | | PHYSICS DEPT | | POTCHEFSTROOM UNIVERSITY | | SOUTH AFRICA | | | | Phone: +27 (148) 992419 | | Fax : +27 (148) 992421 | ________________________________
creator: fskmjm
date: 1994-03-16T07:31:38-00:00

Re: Interface, Widget, Motif questions
type: item
description: In article 2m3nsjINNh2@i32.sma.ch, stl@sma.ch (Stephen Strebel) writes: stuff deleted (simple things like coloring a button; dropdown list boxes; > spin buttons; etc..) I would love to heat the creative (even if ugly > ) things people are doing. Or does this problem really not exist and > there is some really amazing little tool out there that i on't know > about. :-) > Since IDL 3.0 it is possible to write compound widgets ( see IDL User's Guide 3.5, chapter 20 ) . I'm sure there will be soon a lot of such compound widgets on the net from the idl user community. This will solve most of your needs. As a first step in this direction I wrote a such a compound widget for you. It creates colored buttons, one of your wishes above ... Have fun, Thomas ; ;+ ; NAME: ; CW_CLBTN ; ; PURPOSE: ; Creates a color button ; ; CATEGORY: ; Compound Widgets ; ; CALLING SEQUENCE: ; widget = CW_CLBTN(parent) ; ; INPUTS: ; PARENT - The ID of the parent widget. ; ; KEYWORD PARAMETERS: ; Note: There is no VALUE keyword to set the button label ; allowed on widget creation because the button is based ; small draw widget, the button label cannot be set ; before the widget is realized, so you have to use ; widget_control, <id>, SET_VALUE after your main base ; has been realized. See example below. ; ; UVALUE - Supplies the user value for the widget. ; ; XSIZE Button x size in device coordinates ; ; YSIZE Button y size in device coordinates ; ; FONT Font for button label ; ; COLORS intarr(4) 4 element vector with color indices for: ; ; element 1 ( index 0): light side ( left, top ) ; element 2 ( index 1): button front ; element 3 ( index 2): shadow side ( right, bottom ) ; element 4 ( index 3): button label color ; ; ; colors(0) - - - - - - + ; | +-----------|---------------+ ; |\ V /| ; | | \ / | ; | +---------------------+ | ; | | | | | ; | | colors(1) | | ; + - - -|> | | | ; | | | | ; | | | | ; | | ^ | <- - - - + ; | | colors(3) | | | ; | | | | ; | | | | | ; | +---------------------+ | ; | /…
creator: idl
date: 1994-03-21T08:27:14-00:00

Re: Interface, Widget, Motif questions
type: item
description: In article <DORS.94Mar23191339@unhggs1.unh.edu> dors@unhggs1.unh.edu (Eric E. Dors) writes: > > I missed the original message, so I have a question about your questions. > > Is there a reason why you are not using IDL Widgets? I have been > using them for a couple of months. They are really easy, and the > manual has good example codes. However, it would be nice to beable to > choose from a larger set of widgets. > > Hello Eric, Let me summarize what I initialy asked and said. Yes, I am currently using the widgets from within IDL. However as everyone notices, these are only a very very tiny (and have only limited functionality) when compared with Motifs widget set. Also, attempting to make OSF Motif standard windows with them is,.. exciting. Thefore, I asked: Is there a way to directly access Motif from within IDL. Since then, I have found out (from friends at whatever PV-waves company is called these days) that PV-Wave does support this. However, switching products is for myself and SMA most likely out of the question. -stephen -- Stephen C Strebel / SKI TO DIE stl@maz.sma.ch / and Swiss Meteorological Institute, Zuerich / LIVE TO TELL ABOUT IT 01 256 93 85 / (and pray for snow)
creator: stl
date: 1994-03-24T07:48:34-00:00