RE: how to get a no-decorated window



To access the gdkwindow of a gtkwidget use the following;
        GdkWindow *variable = GTK_WIDGET(widget)->window;

For example to get the gdkwindow of a gtkwindow;
        gdkwindow = GTK_WIDGET(gtkwindow)->window;

----------
From:         Bluez Zhao[SMTP:iswearz yahoo com]
Sent:         Thursday, October 26, 2000 4:59 AM
To:   gtk-app-devel-list
Subject:      how to get a no-decorated window

I want to create a window with gtk_window_new(GTK_WINDOW_DIALOG), but not
GTK_WINDOW_POPUP. Then how can I set the window without any decoration, such
as border, menu, maximize button etc. There is a function
gdk_window_set_decoration, but it need a GdkWindow. How can I do?
 
Best Regards,
 
Bluez Zhao





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