Re: WindowDisplay



Dnia 23-08-2004, pon o godzinie 05:36 +0100, Bibin Bhanu napisał(a):
Hi,
  I would like to disable the "x" icon from the new window.
The "X" icon at the top right hand side of the new window.It would have been better if i could remove it 
from the window itself. 
  I have tried 
gdk_window_set_decorations (GTK_WIDGET( AppWindow )->window,0);
 but it still gives me the "x" icon
 I am using gtk1.2.

You should be able to achieve that using correct EWMH hints, but of
course that will work only in compliant WMs (for example, Metacity or
KWin). Other than that, there's no even semi-reliable way of requesting
things like that (note that gdk_window_set_decorations() also works in
terms of window hints)

Cheers,
Maciej

-- 
"Tautologizm to coś tautologicznego"
   Maciej Katafiasz <mnews2 wp pl>
       http://mathrick.blog.pl




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]