Re: GDK question



well i fixed my question with this line

    GdkPixmap *tmpimg;

    /* ... */

    gdk_window_get_size((GdkWindow *)tmpimg, &width, &height);
    g_print("width: %d, heigth: %d", width, height);

it works... but is this cast allowed?

--
 
Arjan Scherpenisse,
A.Scherpenisse@zap.a2000.nl
ICQ# 27592135



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