Re: Some Doubts...



On Fri, 2005-08-26 at 04:16 +0000, Ramachandra CS wrote:
>   
> Dear sir, 
> 
> I am facing some problems to decorate the window......
> 
> Problem 1: In my application to decorate the window, I use the call
> gtk_window_set_decorated (window, FALSE);
> In this case window doesn't show the close, maximise, and minimise
> otptions.....  But when I Press ALT + SPACE, window menu is
> displayed..
> This menu contain Close, Maximise, Minimise, Move and other
> options....
> So I want to disable that window menu.... Even if it displayed also I
> want to disable Close, Maximise , Minimise otpions..... Please help
> me.

you cannot do this. this menu, as well as window decorations, are
controlled by the window manager. individual applications can do nothing
but supply hints to the WM, which it might follow, or it might not. the
apps do not and cannot control the WM. the choice and configuration of
the WM is left for the user.

--p





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