Re: Setting parent to an applet
- From: James Henstridge <james daa com au>
- To: John Kodis <kodis jagunet com>
- cc: Gnome List <gnome-list gnome org>
- Subject: Re: Setting parent to an applet
- Date: Mon, 23 Aug 1999 22:42:18 +0800 (WST)
Well since the applet's window is not managed by the window manager, this
may be a little difficult. You may have better luck finding the position
of your applet, and setting the position of the dialog manually.
James.
--
Email: james@daa.com.au
WWW: http://www.daa.com.au/~james/
On Mon, 23 Aug 1999, John Kodis wrote:
> I've written a simple applet that contains only a labelled button.
> When this button is clicked, a dialog pops up. This all works fine.
> I'd like to parent the dialog to the applet so that my window manager
> will place the dialog near its parent applet. I'm trying to use:
>
> gnome_dialog_set_parent(GnomeDialog *dialog, GtkWindow *parent)
>
> but I can't figure out what to pass as the parent window in a case
> like this where the parent is an applet. None of the existing Gnome
> applets do this, so my usual "grep the sources" technique doesn't help.
>
> -- John Kodis.
>
>
> --
> FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> To unsubscribe: mail gnome-list-request@gnome.org with
> "unsubscribe" as the Subject.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]