Creating a Motif Widget as a child of a Tk Widget - TCL

This is a discussion on Creating a Motif Widget as a child of a Tk Widget - TCL ; Hi All, I am experimenting to merge a Motif application with a Tk application. For this, I need to make the Motif Widget that I create a child of Tk Widget. How can I convert a Tk_Window to a Motif ...

+ Reply to Thread
Results 1 to 2 of 2

Creating a Motif Widget as a child of a Tk Widget

  1. Default Creating a Motif Widget as a child of a Tk Widget

    Hi All,

    I am experimenting to merge a Motif application with a Tk application.

    For this, I need to make the Motif Widget that I create a child of Tk
    Widget.
    How can I convert a Tk_Window to a Motif Widget, to use it as a parent
    of the Motif Widget being created?

    Thanks in advance for any help,
    Abhishek.


  2. Default Re: Creating a Motif Widget as a child of a Tk Widget

    I don't think this will be easy in my hazy recollection of my motif
    programming days. Widgets are rather complex beasts that participate
    in Motif geometry management and Xt event dispatching. You would have
    essentially wrap the widget itself inside code that did that for Motif.
    ...while still remaining sane under Tk's attempts to do geometry
    management and event dispatch.

    Ron.

    abkhanna wrote:
    > Hi All,
    >
    > I am experimenting to merge a Motif application with a Tk application.
    >
    > For this, I need to make the Motif Widget that I create a child of Tk
    > Widget.
    > How can I convert a Tk_Window to a Motif Widget, to use it as a parent
    > of the Motif Widget being created?
    >
    > Thanks in advance for any help,
    > Abhishek.
    >


+ Reply to Thread

Similar Threads

  1. Embed a widget inside another widget.
    By Application Development in forum Perl
    Replies: 1
    Last Post: 02-21-2007, 10:41 AM
  2. Replies: 0
    Last Post: 08-27-2006, 07:31 PM
  3. moving keyboard focus from one widget to the next widget
    By Application Development in forum Perl
    Replies: 2
    Last Post: 07-02-2006, 08:59 AM
  4. Creating a widget in a callback
    By Application Development in forum Perl
    Replies: 6
    Last Post: 05-20-2006, 06:26 AM
  5. Creating a derived widget that is a -container
    By Application Development in forum Perl
    Replies: 1
    Last Post: 12-19-2004, 05:30 AM