Re: make popup draggable

From: Date: Mon, 08 Apr 2002 04:36:57 +0000
Subject: Re: make popup draggable
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1751@lists.php.net to get a copy of this message
Cheers James, what I was basically looking for was a 'chromeless' effect without the border and normal buttons that both GTK_WINDOW_DIALOG and GTK_WINDOW_TOPLEVEL seem to give me on win32, the POPUP gives me a groovy looking window, especially with 0 border anf the right background pixmap. but its nice to know what can and can not be done - saves me hours of head-scratching :) Regards, Simon Wheeler firepages ----- Original Message ----- From: "James Cameron" <quozl@us.netrek.org> To: "firepages.com.au" <fire@firepages.com.au> Cc: "PHP-GTK" <php-gtk-general@lists.php.net> Sent: Saturday, April 06, 2002 7:25 AM Subject: Re: [PHP-GTK] make popup draggable > 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/ > >

« previous php.gtk.general (#1751) next »