Open Motif 2.3 Discussion

Syndicate content

Dockable

Hi,

I would like to see dockable toolbars/windows/dialog like in MFC.

Wheel Mouse Support

Hello all.

We are thinking about adding mouse wheel support to OpenMotif.

It seems, that translation tables of XmText, XmScrollBar and XmScrolledWindow should be changed to support new mouse controls.

We should determine default behaviour of the mouse wheels we want to see in OpenMotif.

I investigated this functionality in other toolkits and found the following:

GTK2:
Scrolling 1st wheel
in text widget scrolls text by 3 lines
in vertical and horizontal scroll bars scrolls by 5 steps
Scrolling 1st wheel with Shift, Control or Meta(Alt) key pressed

utf-8

Are there any plans to get UTF-8 support in OpenMotif? I have a small patch, that adds UTF-8 to the XmFONTLIST, but I think this might be not enough.
The patch is applies to the latest OpenMotif 2.2.3 beta release (2004-03-04).

--- openMotif-2.2.3/tools/wml/UilSymCSet.h.utf8 2004-03-04 17:41:48.000000000 +0100
+++ openMotif-2.2.3/tools/wml/UilSymCSet.h 2004-03-17 12:54:23.000000000 +0100
@@ -32,6 +32,7 @@
"JISX0201.1976-0", /* jis_katakana */
"KSC5601.1987-0", /* ksc_hangul */
"KSC5601.1987-1", /* ksc_hangul_gr */
+ "UTF-8", /* utf-8 */
};

dynamically changing a label

Hi,
I am a newbie to motif programming.

After i intialize the GUI with " XtAppMainLoop" I want to change the label. The application is very simple it involves displaying some numbers on a text field. The numbers update at about 10-Hz. I see that all the callbacks (that i have seen) are triggered via. some user controlled event.

If you can send me a sample code to do this that would be great.

Let's get through ! (1.Topic?)

How to display AA-Fonts?

Of course there is some work to do. It might be good to utilize Xft but it seems that this project is a bit sleepy. I myself would prefer the direct usage of a free font package. Freetype is the most common and flexible way to choose.

But how get it working.?

    1. We need a translation of XLFD to Freetype (or other) font naming conventions. That shouldn't be too hard through a simple map file

[/]

Resizing TopLevel / Main dialog

I am needing to resize the TopLevel (main dialog) of my application. I have some toolbars that I want the user to able to display or hide as he / she so chooses; however, when they are not displayed I need to be able to resize (shrink) the dialog to compensate for the space that the toolbars once took up. I do not want the user to be able to resize the dialog his / her self. I want the sesizing to be controlled programatically; therefore, I have set XmNminWidth, XmNwidth, XmNmaxWidth, XmNminHeight, XmNheight, and XmNmaxHeight.

C. Lamb

Pixmaps in Menu's...

Is it possible to use Pixmaps in Menu's along with text, the accelerator key, and Mnemonics... I have tried using the XmIconButton but it does not allow the user to set accelerator's and mnemonics. I have also attempted to add a Pixmap to a XmPushButton but then I am unable to display the text.

Help would be greatly appreciated.
C. Lamb

integrating cairo with openmotif ?

$(Subject) - feasible ?

cheers,
-Krish

XmPushButton... Pixmaps...

Is there a way to display both the text and an Icon / Pixmap in a standard PushButton? In the past I don't think that this was possible; however, I think that I read that the functionality has been updated to allow this. Is this true?

Thanks.
C. Lamb

ToolTips... 2 Questions...

(1.) Is there a way to tell if a Widget has a ToolTip associated with it?
(2.) Is there a way to set ToolTips on a scrolled list?