X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Jun 2013 09:33 AM by  anon
Can not set base window title when using windget_window?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
10 Jun 2013 09:33 AM
    Hi guys: I have the fellowing code. And window title is 'TEST TITLE'. But when the widget show up, the window title is 'PLOT'. So why? Very thanks! PRO widget_window_test ; Create the widgets. wBase = WIDGET_BASE(/COLUMN, title='TEST TITLE') wDraw = WIDGET_WINDOW(wBase, X_SCROLL_SIZE=400, Y_SCROLL_SIZE=400) WIDGET_CONTROL, wBase, /REALIZE ; Retrieve the newly-created Window object. WIDGET_CONTROL, wDraw, GET_VALUE=oWin ; Make sure this is the current window oWin.Select p = PLOT(/TEST, /CURRENT, /FILL_BACKGROUND) END

    Deleted User



    New Member


    Posts:
    New Member


    --
    10 Jun 2013 11:15 AM
    Depending on how you feel about using the new function graphics system in IDL, this is either the same ol'-same'ol' of these function routines not acting like they are suppose to or you expect them to, or this is a neat feature of this graphics system which knows better than you do and labels things accordingly. :-)
    You are not authorized to post a reply.