comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Widget_window Problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Widget_window Problem [message #85150] Wed, 10 July 2013 03:38 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Hi,
I was just trying to use widget window in a larger widget program and could not get anything in the windget_window to work. So I tried the basic example from the IDL help:
wBase = WIDGET_BASE(/COLUMN)
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)

This results in a black window without anything in it... empty.
I restarted IDL, but no improvement.
By removing the keyword CURRENT I get a normal plot window. So the function plot is working.

Am I the only one with this type of problem?

print, !version
{ x86_64 Win32 Windows Microsoft Windows 8.2.3 May 3 2013 64 64}

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Curious Cluster Analysis Conundrum
Next Topic: ps_start error on mac

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:58:41 PDT 2025

Total time taken to generate the page: 0.00447 seconds