Re: Getting a Wayland surface from a GdkWindow



On Thu, Sep 26, 2013 at 4:09 PM, Tarnyko <tarnyko tarnyko net> wrote:
GtkWindow window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
GdkWindow *w = gtk_widget_get_window (GTK_WIDGET(window));

gtk_widget_get_window() will return %NULL if the widget has not been
realized yet.


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