Re: New GTK



On Fri, 15 Apr 2005, Vijay Kumar wrote:
zippo <zippo752001 comcast net> writes:
some quick code but i don't know if it is writen correcly, also i
don't want it to have the header, or the default top of the
window. "The little part with the Tittle close, min and max
buttons." But i dont' know how. here is my code:
[clip]
    /* Create a new window */
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
Use GTK_WINDOW_POPUP instead of GTK_WINDOW_TOPLEVEL, if you do not
want window manager decorations.
You can also use gtk_window_set_decorated (window, FALSE) to tell the 
window manager not to add a titlebar to the window.  This method can have 
slightly different results than using GTK_WINDOW_POPUP depending on the 
window manager.
JV



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