[comp.windows.x] Mixing widgets and "my own" code

dheller@cory.Berkeley.EDU (Dan Heller) (05/24/88)

I have a set of routines which I am building which are
very application specific and they will deal with the
main "window" of my program.  But I want to build external
dialog boxes out of the toolkit/widget packages distributed
with X11.

Every example I've seen of widgets seems to indicate that
if you use widgets, you have to use them thruout your code
starting with the "toplevel" widget.  Clearly, I know it's
possible to create a window and have other widgets originate
under my main window, but I'm not sure the "package" was
intended to be used that way.  If it wasn't, then I don't
want to step on anyone's toes by managing events or windows
that the widgets want to manage themselves.

The dichotomy of widgets and the lower level routines is
not exactly clear to me right now.  If the widget package
is abstract enough, I should be able to create a window
of some sort and manage everything in that window -- then
I should be able to create a windget within the window and
the server will feed the widget events to the widget and all
other events that I request to my routines.

Dan Heller	<island!argv@sun.com>