Making a widget invisible

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

5 posts / 0 new
Last post
Making a widget invisible

Submitted by Anonymous on Fri, 01/18/2002 - 05:12.

Hi,

Is it possible to make a widget invisible in a X/Motif GUI appl. ?? How can i do that??

Hey dbl, if you don`t mind can you give me ur e-mail id? ..i may need ur help .

Regds,
vara

Fri, 01/18/2002 - 13:36#1

Fri, 01/18/2002 - 13:36#1

ICS_support

Making a widget invisible

You could mean a few different things
1) remove the widget from the screen. You can do this by unmanaging it.
2) remove it from the screen, but leave space for it within the parent. You can do this by unmapping it.
3) getting rid of it completely. You can do this by destroying it.
4) and the hard one -- removing the on-screen traces of the widget while still having it react to user input. You can`t really do this, although the Xlib InputOnly window is effectively a transparent window.

It would help if you were explicit in what you actually want.

 

Sun, 01/20/2002 - 13:29#2

Sun, 01/20/2002 - 13:29#2

Anonymous

Making a widget invisible

Hi dbl & others,

My requirement was to complete remove the tab from the GUI. Somehow i could able to do that.
Here i have a another query for you.

How can i invoke a shell from a X/Motif GUI. ?? Basically my requirement is i need to open a file
in a xterm/dtterm with a button click.

I have seen xclearcase GUI..There they have done it.
(In xclearcase there is a feature like File->execute-> "execute a command",,, This will display the results in a dtterm/xterm)

Thanks to all,
vara

Mon, 01/21/2002 - 00:35#3

Mon, 01/21/2002 - 00:35#3

ICS_support

Making a widget invisible

Either through the "slave xterm" feature, which may since have been removed for security reasons, or the simpler "system("xterm -e")".

 

Mon, 08/22/2005 - 15:12#4

Mon, 08/22/2005 - 15:12#4

urizen

Making a widget invisible

Hi,

my problem is the "hard one". I want a window to be transparent above another one, but still listen to certain mouse events.

The purpose is editing in a gui-editor, where I want to move buttons etc. by klicking and dragging them without actually activating the button. Perhaps there are other solutions for this problem?

Are event-handler which belong to the underlying form and ignore the buttons possible?

Thanks for your answers,

uri