XmCreateMenuBar replacement

Hi, I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent functions? hMenuBar = XmCreateMenuBar( hMainWindow, "Main Menu", args, NumArgs); (Function absent) hRC = XtCreateManagedWidget( "rowcol", XwrowColWidgetClass, hMainWindow, NULL, 0); (Class absent) Regards, Colin

Colin Carter wrote:
Hi, I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent functions?
hMenuBar = XmCreateMenuBar( hMainWindow, "Main Menu", args, NumArgs); (Function absent) hRC = XtCreateManagedWidget( "rowcol", XwrowColWidgetClass, hMainWindow, NULL, 0); (Class absent) Regards, Colin
I *think* those are 32-bit C (not C++, thus no explicit classes) Motif functions & *should* work AOK under AMD64 in a 32-bit app. I don't know firsthand (yet), YMMV & all that. -- William A. Mahaffey III ---------------------------------------------------------------------- In your best 'singsong-gnome' (a.k.a. Yoda) voice: The keyboard is my ally, and a POWERFUL ally it is.

On Sunday 01 May 2005 06:27, Colin Carter wrote:
I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent functions?
hMenuBar = XmCreateMenuBar( hMainWindow, "Main Menu", args, NumArgs); (Function absent) hRC = XtCreateManagedWidget( "rowcol", XwrowColWidgetClass, > hMainWindow, NULL, 0); (Class absent)
Maybe you don't have everything installed for development regarding the Xt Intrinsics and Motif? (Correct paths to find include files? Can you find these files? Xm/Xm.h Xm/MainW.h Xm/CascadeB.h Correct paths for libriaries? Correct list of libraries for linking? ) Just a guess. I found some suggested guidance here: http://www.zone-h.org/files/48/X%20WIndow-Motif%20Programming.htm What I see in their example is that they're using XtVaCreateManagedWidget() instead of XtCreateManagedWidget(). It's been about 13 years since I've done X and Motif, so I'm certain what that change means. My O'Reilley X books are buried under a ton of junk. Also, they appear to have the order of things different. XtVaCreateManagedWidget() creates a handle that is later used by XmCreateMenuBar().

On Sunday 01 May 2005 11:08, Synthetic Cartoonz wrote:
On Sunday 01 May 2005 06:27, Colin Carter wrote: [snip] It's been about 13 years since I've done X and Motif, so I'm certain what that change means. [snip]
That's "NOT certain." d'oh. ;-)

Fantastic! Thank you. On Monday 02 May 2005 01:08, Synthetic Cartoonz wrote:
On Sunday 01 May 2005 06:27, Colin Carter wrote:
I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent snip> Maybe you don't have everything installed for development regarding the Xt Intrinsics and Motif? (Correct paths to find include files? Can you find these files? Xm/Xm.h Xm/MainW.h Xm/CascadeB.h Correct paths for libriaries? Correct list of libraries for linking? ) Just a guess. You hit the button: I have no Xm stuff; just the X11 and Xt stuff. I found some suggested guidance here: http://www.zone-h.org/files/48/X%20WIndow-Motif%20Programming.htm Thanks for this - all of my books are very old and I've struggled to find good references - plenty of "inadequate" ones... This site has plenty of reading, and appears to be excellent, so thank you. What I see in their example is that they're using XtVaCreateManagedWidget() instead of XtCreateManagedWidget(). It's been about 13 years since I've done X and Motif, so I'm certain what that change means. My O'Reilley X books are buried under a ton of junk. Mine date from around 1989!
Big question: X11 and Xt are essentially "part of the Linux platform" in a sense and I believe that their use is completely free. However, I understand that Motif went commercial; but what is the status of Motif now? I also see that Qt came with my SuSE 64. What is the commercial status of using this? Thanks very much SC, Regards, Colin

Colin Carter wrote:
Fantastic! Thank you.
On Monday 02 May 2005 01:08, Synthetic Cartoonz wrote:
On Sunday 01 May 2005 06:27, Colin Carter wrote:
I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent
snip>
Maybe you don't have everything installed for development regarding the Xt Intrinsics and Motif? (Correct paths to find include files? Can you find these files? Xm/Xm.h Xm/MainW.h Xm/CascadeB.h Correct paths for libriaries? Correct list of libraries for linking? ) Just a guess.
You hit the button: I have no Xm stuff; just the X11 and Xt stuff.
I found some suggested guidance here: http://www.zone-h.org/files/48/X%20WIndow-Motif%20Programming.htm
Thanks for this - all of my books are very old and I've struggled to find good references - plenty of "inadequate" ones... This site has plenty of reading, and appears to be excellent, so thank you.
What I see in their example is that they're using XtVaCreateManagedWidget() instead of XtCreateManagedWidget(). It's been about 13 years since I've done X and Motif, so I'm certain what that change means. My O'Reilley X books are buried under a ton of junk.
Mine date from around 1989!
Big question: X11 and Xt are essentially "part of the Linux platform" in a sense and I believe that their use is completely free. However, I understand that Motif went commercial; but what is the status of Motif now? I also see that Qt came with my SuSE 64. What is the commercial status of using this?
Thanks very much SC, Regards, Colin
Motif started out commercial, sorta went non-commercial, & now is back to commercial, I *think*. You could try lesstif or some such. My SuSE 8.2 (32-bit) box (this one, as it happens ;-) ) has the Xm developement stuff already on it (by default, I *think*) .... -- William A. Mahaffey III ---------------------------------------------------------------------- In your best 'singsong-gnome' (a.k.a. Yoda) voice: The keyboard is my ally, and a POWERFUL ally it is.

On Monday 02 May 2005 23:38, William A. Mahaffey III wrote:
Colin Carter wrote:
On Monday 02 May 2005 01:08, Synthetic Cartoonz wrote:
On Sunday 01 May 2005 06:27, Colin Carter wrote:
I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent snip> Maybe you don't have everything installed for development regarding the Xt Intrinsics and Motif? (Correct paths to find include files? You hit the button: I have no Xm stuff; just the X11 and Xt stuff. I found some suggested guidance here: http://www.zone-h.org/files/48/X%20WIndow-Motif%20Programming.htm Thanks for this - This site has plenty of reading, and appears to be excellent, so thank Big question: X11 and Xt are essentially "part of the Linux platform" in a sense and I believe that their use is completely free. However, I understand that Motif went commercial; but what is the status of Motif now? I also see that Qt came with my SuSE 64. What is the commercial status of using this? Colin
Motif started out commercial, sorta went non-commercial, & now is back to commercial, I *think*. You could try lesstif or some such. My SuSE 8.2 (32-bit) box (this one, as it happens ;-) ) has the Xm developement stuff already on it (by default, I *think*) .... Thanks William III I've heard of lesstif, but the limit of my knowledge of it. Regards, Colin

On Monday 02 May 2005 10:11, Colin Carter wrote:
On Monday 02 May 2005 23:38, William A. Mahaffey III wrote:
Colin Carter wrote:
On Monday 02 May 2005 01:08, Synthetic Cartoonz wrote:
On Sunday 01 May 2005 06:27, Colin Carter wrote:
I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent
Maybe you don't have everything installed for development regarding the Xt Intrinsics and Motif? (Correct paths to find include files?
You hit the button: I have no Xm stuff; just the X11 and Xt stuff.
I found some suggested guidance here: http://www.zone-h.org/files/48/X%20WIndow-Motif%20Programming.htm
Thanks for this - This site has plenty of reading, and appears to be excellent, so thank Big question: X11 and Xt are essentially "part of the Linux platform" in a sense and I believe that their use is completely free. However, I understand that Motif went commercial; but what is the status of Motif now? I also see that Qt came with my SuSE 64. What is the commercial status of using this?
Motif started out commercial, sorta went non-commercial, & now is back to commercial, I *think*. You could try lesstif or some such. My SuSE 8.2 (32-bit) box (this one, as it happens ;-) ) has the Xm developement stuff already on it (by default, I *think*) ....
Thanks William III I've heard of lesstif, but the limit of my knowledge of it.
I checked my own system to see where the Xm include files were hiding, and didn't find anything. Also, I checked yast, and lesstif did not turn up any hits in any package. I thought I recall seeing it in SuSE at some time in the past. However, "motif" did turn up a number of hits. SuSE 9.2 Pro currently includes openmotif development packages. Here's the Yast description: "This is the Open Motif runtime environment. It includes the Motif shared libraries. Open Motif is a freely available version of the well known Motif user interface toolkit for Open Source operating systems. This package was built with the Metro Link sources. " I normally install everything and anything remotely related to development, but somehow missed all the motif things. (And now I realize I left my SuSE DVD in the office. Arrrrg!)

Synthetic Cartoonz wrote:
On Monday 02 May 2005 10:11, Colin Carter wrote:
On Monday 02 May 2005 23:38, William A. Mahaffey III wrote:
Colin Carter wrote:
On Monday 02 May 2005 01:08, Synthetic Cartoonz wrote:
On Sunday 01 May 2005 06:27, Colin Carter wrote:
I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent
Maybe you don't have everything installed for development regarding the Xt Intrinsics and Motif? (Correct paths to find include files?
You hit the button: I have no Xm stuff; just the X11 and Xt stuff.
I found some suggested guidance here: http://www.zone-h.org/files/48/X%20WIndow-Motif%20Programming.htm
Thanks for this - This site has plenty of reading, and appears to be excellent, so thank Big question: X11 and Xt are essentially "part of the Linux platform" in a sense and I believe that their use is completely free. However, I understand that Motif went commercial; but what is the status of Motif now? I also see that Qt came with my SuSE 64. What is the commercial status of using this?
Motif started out commercial, sorta went non-commercial, & now is back to commercial, I *think*. You could try lesstif or some such. My SuSE 8.2 (32-bit) box (this one, as it happens ;-) ) has the Xm developement stuff already on it (by default, I *think*) ....
Thanks William III I've heard of lesstif, but the limit of my knowledge of it.
I checked my own system to see where the Xm include files were hiding, and didn't find anything.
mine are in /usr/X11R6/include/Xm/, & I don't recall putting them there, I *think* they were installed during my default install, but that was about 18 months ago, can't recall for sure. I think they are OpenMotif, but am not certain.
Also, I checked yast, and lesstif did not turn up any hits in any package. I thought I recall seeing it in SuSE at some time in the past. However, "motif" did turn up a number of hits.
SuSE 9.2 Pro currently includes openmotif development packages. Here's the Yast description: "This is the Open Motif runtime environment. It includes the Motif shared libraries. Open Motif is a freely available version of the well known Motif user interface toolkit for Open Source operating systems. This package was built with the Metro Link sources. "
I normally install everything and anything remotely related to development, but somehow missed all the motif things. (And now I realize I left my SuSE DVD in the office. Arrrrg!)
-- William A. Mahaffey III --------------------------------------------------------------------- Remember, ignorance is bliss, but willful ignorance is LIBERALISM !!!!

On Tuesday 03 May 2005 13:22, William A. Mahaffey III wrote:
Synthetic Cartoonz wrote:
On Monday 02 May 2005 10:11, Colin Carter wrote:
On Monday 02 May 2005 23:38, William A. Mahaffey III wrote:
Colin Carter wrote:
On Monday 02 May 2005 01:08, Synthetic Cartoonz wrote:
On Sunday 01 May 2005 06:27, Colin Carter wrote: >I am trying to use the following functions but I can't find them in > 64 bit files. Does anybody have any idea, or can suggest equivalent
Maybe you don't have everything installed for development regarding the Xt Intrinsics and Motif? (Correct paths to find include files?
You hit the button: I have no Xm stuff; just the X11 and Xt stuff.
I found some suggested guidance here: http://www.zone-h.org/files/48/X%20WIndow-Motif%20Programming.htm
I also see that Qt came with my SuSE 64. What is the commercial status of using this?
Motif started out commercial, sorta went non-commercial, & now is back to commercial, I *think*. You could try lesstif or some such. My SuSE 8.2 (32-bit) box (this one, as it happens ;-) ) has the Xm developement stuff already on it (by default, I *think*) .... Thanks William III I've heard of lesstif, but the limit of my knowledge of it.
I checked my own system to see where the Xm include files were hiding, and didn't find anything.
mine are in /usr/X11R6/include/Xm/, & I don't recall putting them there, I *think* they were installed during my default install, but that was about 18 months ago, can't recall for sure. I think they are OpenMotif, but am not certain.
I checked the same place in my system (SuSE 9.1) but found nothing.
Also, I checked yast, and lesstif did not turn up any hits in any package. I thought I recall seeing it in SuSE at some time in the past. However, "motif" did turn up a number of hits.
I found nothing on my 64 bit stuff.
SuSE 9.2 Pro currently includes openmotif development packages. Here's the Yast description: "This is the Open Motif runtime environment. It includes the Motif shared libraries. Open Motif is a freely available version of the well known Motif user interface toolkit for Open Source operating systems. This package was built with the Metro Link sources. "
I normally install everything and anything remotely related to development, but somehow missed all the motif things. (And now I realize I left my SuSE DVD in the office. Arrrrg!) The Arrrrg is my kind of trick!
Thanks for your interest and support, Regards, Colin

On Tuesday 03 May 2005 13:00, Synthetic Cartoonz wrote:
On Monday 02 May 2005 10:11, Colin Carter wrote:
On Monday 02 May 2005 23:38, William A. Mahaffey III wrote:
Colin Carter wrote:
On Monday 02 May 2005 01:08, Synthetic Cartoonz wrote:
On Sunday 01 May 2005 06:27, Colin Carter wrote:
I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent
Maybe you don't have everything installed for development regarding the Xt Intrinsics and Motif? (Correct paths to find include files?
You hit the button: I have no Xm stuff; just the X11 and Xt stuff.
I found some suggested guidance here: http://www.zone-h.org/files/48/X%20WIndow-Motif%20Programming.htm
Thanks for this - snip>
I also see that Qt came with my SuSE 64. What is the commercial status of using this? snip >
I checked my own system to see where the Xm include files were hiding, and didn't find anything.
Then I don't feel quite so stupid!
Also, I checked yast, and lesstif did not turn up any hits in any package. I thought I recall seeing it in SuSE at some time in the past. However, "motif" did turn up a number of hits.
SuSE 9.2 Pro currently includes openmotif development packages. Here's the Yast description: "This is the Open Motif runtime environment. It includes the Motif shared libraries. Open Motif is a freely available version of the well known Motif user interface toolkit for Open Source operating systems. This package was built with the Metro Link sources. " I only have 9.1 I normally install everything and anything remotely related to development, but somehow missed all the motif things. (And now I realize I left my SuSE DVD in the office. Arrrrg!) Regards, Colin

On Tuesday 03 May 2005 07:33, Colin Carter wrote:
On Tuesday 03 May 2005 13:00, Synthetic Cartoonz wrote:
On Monday 02 May 2005 10:11, Colin Carter wrote:
On Monday 02 May 2005 23:38, William A. Mahaffey III wrote:
Colin Carter wrote:
On Monday 02 May 2005 01:08, Synthetic Cartoonz wrote:
On Sunday 01 May 2005 06:27, Colin Carter wrote: [snip]
I also see that Qt came with my SuSE 64. What is the commercial status of using this?
I could very well be wrong, but my understanding is that as an individual you may use the Qt "free" version if what you make is "free". But if you are a going to do something commercial you need to pay a license for building things that use Qt. Here's the FAQ pages (which I haven't read completely): http://www.trolltech.com/developer/faqs/index.html?cid=20
participants (3)
-
Colin Carter
-
Synthetic Cartoonz
-
William A. Mahaffey III