Re: Widget Frame Attributes on Linux [message #18291] |
Thu, 16 December 1999 00:00 |
Bernard Puc
Messages: 65 Registered: January 1998
|
Member |
|
|
Liam Gumley wrote:
>
> Bernard Puc wrote:
>> For the Linux users, does anyone know why the keyword TLB_Frame_Attr to
>> the Widget_Base function is ignored? I am using the KDE window manager.
>
...
> Because of this unreliable behavior, I don't use the TLB_FRAME_ATTR
> keyword. Another reason to avoid this keyword is that creating widgets
> which can't be moved, resized, or closed normally is completely
> non-intuitive for users.
I like it for creating a message box without the buttons of a
dialog_message().
--
Bernard Puc AETC, INC.
bpuc@va.aetc.com 1225 Jefferson Davis Highway #800
(703) 413-0500 Arlington, VA 22202
|
|
|
Re: Widget Frame Attributes on Linux [message #18295 is a reply to message #18291] |
Thu, 16 December 1999 00:00  |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
Bernard Puc wrote:
> For the Linux users, does anyone know why the keyword TLB_Frame_Attr to
> the Widget_Base function is ignored? I am using the KDE window manager.
The TLB_FRAME_ATTR keyword is also ignored on Windows, whether you are
running IDL under Windows, or are logged in to a remote host running IDL
under Unix. I'm willing to bet it's ignored on MacOS as well (anyone
care to confirm this?). For example, the following code is supposed to
create a base widget with no system menu:
base = widget_base(tlb_frame_attr=2)
widget_control, base, /realize
Because of this unreliable behavior, I don't use the TLB_FRAME_ATTR
keyword. Another reason to avoid this keyword is that creating widgets
which can't be moved, resized, or closed normally is completely
non-intuitive for users.
Cheers,
Liam.
--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
|
|
|