Re: make popup draggable
| From: | James Cameron | Date: | Sat, 06 Apr 2002 14:25:27 +0000 |
| Subject: | Re: make popup draggable | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1747@lists.php.net to get a copy of this message | ||
On Sat, Apr 06, 2002 at 09:41:57PM -0800, firepages.com.au wrote:
> Hi, can anyone give me some pointers on how to make a GTK_WINDOW_POPUP
> window draggable ? I have (as usual) not a clue how to achieve if its
> possible.....
Use GTK_WINDOW_TOPLEVEL instead of GTK_WINDOW_POPUP and it will be
draggable ... that is the displayed position can be changed by the
user using the mouse.
The manual entry for gtk_window_new says "GTK_WINDOW_POPUP is not for
dialogs, though in some other toolkits dialogs are called "popups".
In GTK+, GTK_WINDOW_POPUP means a pop-up menu or pop-up tooltip. Popup
windows are not controlled by the window manager." [1.3 API manual]
Or, I think you can make it have a tearoff, and if the user clicks
on the dotted line it makes itself a toplevel to live in.
> .... is there such a colour as transparent when we are talking GTK? and if
> so how do I set a style to transparent ? (I can manage colours now thanks to
> this list :))
Off-hand, no idea, sorry.
--
James Cameron mailto:quozl@us.netrek.org http://quozl.netrek.org/