Ignore:
Timestamp:
08/09/06 12:12:54 (18 years ago)
Author:
navarro
Message:

english and nicer header (3a)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/WIDGET/xnotice.pro

    r134 r150  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME:xnotice 
    65; 
    7 ; PURPOSE:cree un widget avec du texte au milieu de la fenetre. 
     6; @file_comments 
     7; Create a widget with some text at the middle of the window 
    88; 
    9 ; CATEGORY:information 
     9; @categories 
     10; Information 
     11;  
     12; @param TEXT {in}{required} 
     13; it is a string or a vector of string. If it is a scalar, we  
     14; look for the line separator !C to create a text with several lines. 
    1015; 
    11 ; CALLING SEQUENCE:widgetid=xnotice(text) 
    12 ;  
    13 ; INPUTS:text: un string ou un vecteur de string. Si c''est un 
    14 ; scalaire on cherche le separateur de ligne !C pour creer un texte a 
    15 ; plusieurs lignes. 
     16; @keyword CHKWIDGET 
     17; Force to verify that they are some active widget to create a widget,  
     18; otherwise print at the prompt 
    1619; 
    17 ; KEYWORD PARAMETERS:chkwidget: oblige a verifier qu''il y a des 
    18 ; widgets actif pour creer un widget, sinon imprime au prompt 
     20; @returns 
     21; The identity of the created widget 
    1922; 
    20 ; OUTPUTS:lidentite du widget cree 
    21 ; 
    22 ; COMMON BLOCKS 
    23 ; 
    24 ; SIDE EFFECTS:ne fait pas appelle a xmanager -> ne cree aucun event! 
    25 ; il faut detruire ce widget a la main: 
     23; @restrictions  
     24; It do not call xmanager -> It do not create any event!  
     25; We have to delete this widget manuelly: 
    2626; widget_control, widgetid, /destroy 
    2727; 
    28 ; RESTRICTIONS: 
    29 ; 
    30 ; EXAMPLE: 
     28; @examples 
    3129;    IDL> id=xnotice('ca marche !C ou pas?') 
    3230;    IDL> widget_control, id, /destroy 
    3331; 
    34 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) 
     32; @history 
     33; Sebastien Masson (smasson@lodyc.jussieu.fr) 
    3534;                      2000 3 17 
     35; 
     36; @version 
     37; $Id$ 
     38; 
    3639;- 
    3740;------------------------------------------------------------ 
     
    4043FUNCTION xnotice, text, CHKWIDGET = chkwidget 
    4144; 
    42 ; on separe le text en differentes lignes (separees par !C) si ce 
     45; We separate the text in different lines (separated by !C) if it is not done yet... 
    4346; n''est pas deja fait... 
    4447; 
Note: See TracChangeset for help on using the changeset viewer.