control socrollbars visibility in XmScrolledText

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

Questions about motif? Contact us

4 posts / 0 new
Last post
control socrollbars visibility in XmScrolledText

 

control socrollbars visibility in

XmScrolledText
Submitted by orank on Wed, 06/04/2003 - 09:44.

Hi ,

I would like to get the simple behavior that the scrollbars in the XmScrolledText widget
Will appear only when they are needed. And to disappear when they are no longer needed.
I have tried all options of the following settings
XmNscrolledBarDisplayPolicy
XmNscrollingPolicy
XmNvisualPolicy

But I was not able to achieve the needed behavior.

Can you give me a code example of the settings I have to place in the XmScrolledText widget
In order to achieve what I need ?

 

Wed, 06/04/2003 - 12:43#1

Wed, 06/04/2003 - 12:43#1

ICS_support

control socrollbars visibility in XmScrolledText

Once you create an XmScrolledText widget using the convenience function, the values of those three interlocking resources are se. You can check the source of XmCreateScrolledText() to see the values that are used.

Wed, 06/04/2003 - 12:43#1

Wed, 06/04/2003 - 12:43#1

ICS_support

control socrollbars visibility in XmScrolledText

Once you create an XmScrolledText widget using the convenience function, the values of those three interlocking resources are se. You can check the source of XmCreateScrolledText() to see the values that are used.

 

 

Wed, 06/25/2003 - 10:36#2

orank

control socrollbars visibility in XmScrolledText

Hi all,

I found that when you are using XmScrolledText the scroll behavior for the Scrolled window that contains the text is set upon creation and can not be manipulated afterwards. So if I?m using the XmScrolledText convenience function its best that I live with the scroll mechanism it provides.