[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2400.0. "XtSetValue w/insertionPosition not working" by CERN::EJM () Wed Mar 07 1990 13:44

    Why doesn't this work?? ( At least it doesn't work for me )
    
    Widget widget;
    Arg arglist;
    long pos;
    
    	pos = 50;
    
    	XtSetArg( arglist, DwtNinsertionPosition, pos );
    	XtSetValues( widget, &arglist, 1 );
    
    When this does!
    
    	DwtTextSetInsertionPosition( widget, pos );
    
    Let me clarify - the XtSetArg does work in the sense that the next time
    I do a XtGetValues I get the latest value - however it doesn't seem to
    be reflected in my text widget??  Wouldn't you assume that the
    SetInsertionPosition just does the two Xt calls for you??  And I really
    me assume!!  Where is the doc for DwtTextSetInsertionPosition and all
    those other DwtText routines????  I only found them by scouting through
    the include files.
    
    Funcused,
    
    	John
T.RTitleUserPersonal
Name
DateLines