[9090] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: dialog without WM decoration

daemon@ATHENA.MIT.EDU (Pauli Virtanen)
Wed Oct 7 15:12:23 1998

From: Pauli Virtanen <virtanen@jytko.jyu.fi>
To: gtk-list@redhat.com
Date: Wed, 7 Oct 1998 22:08:44 +0300 (EETDST)
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Hi

A newbie question!
I have already two weeks experience on gtk+.
This far everything has gone fine.
But now I have a problem.

I am porting an Xaw gui to gtk+.
My scrolled window, drawing area, pulldown menus,
popup menus, panel and message window are packed just fine.
I have some ten dialogs, too.
They work separately just perfect,
when the dialog is created by gtk_dialog_new();

What I want, is to have a dialog on my scrolled window
without window manager decoration. Just like this:

	-------------------------------------------------
	|         scrolled window                       |
	|                                               |
	|       ---------------------------------       |
	|       |       dialog                  |       |
	|       |                               |       |
        |       ---------------------------------       |
	|                                               |
        -------------------------------------------------

I want to pop them up and pop down by pulldown menu calls.
Xaw does it simply by this:
dialog = XtCreateWidget("diaboksi", boxWidgetClass, parent,
			diabox_args, XtNumber(diabox_args));

but I can't imagine, how to do this with gtk+.
Good advises are needed.

pauli

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post