Re: make a window without the title bar



On Fri, 2007-12-14 at 20:52 +0800, Binary Chen wrote:
I know it is a feature of window manager, but is there any portable way
in GTK+ to do this?

In C...

        gtk_window_set_decorated(GTK_WINDOW(window), FALSE);

or Python...

        window.set_decorated(False);

or Java...

        window.setDecorated(false);

etc :)

As you noted in your question, this is a *request*. The window manager
may choose to ignore you.

AfC
Sydney




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