Re: Getting a Wayland surface from a GdkWindow



Hi Florian, Thank you very much, that was it. Confused I didn't get it at the first spot. Florian Müllner writes:
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]