Re: [gtkmm] gdk_x11_drawable_get_xid ???



So how can I move to gtkmm following piece of code :

GtkWindow       *w;
GtkDrawingArea  *area;

printf( "################## 0x%x - 0x%x -- -x %d -y %d\n",
        gdk_x11_drawable_get_xid( GTK_WIDGET( w )->window ),
        gdk_x11_drawable_get_xid( GTK_WIDGET( area )->window ),
        GTK_WIDGET( area )->allocation.width,
        GTK_WIDGET( area )->allocation.height,
);


thanks for your answers.




On Fri, 28 Feb 2003 10:21:46 +0100
Murray Cumming Comneon com wrote:

> > In gtk2+ I used function gdk_x11_drawable_get_xid(GdkDrawable 
> > * drawable)
> > 
> > I couldn't find approriate method in gtkmm . Is there any ? 
> 
> Maybe we wanted to avoid the complication of conditional compilation for
> different platforms.
> 
> But you can use
> gdk_x11_drawable_get_xid( refDrawable->gobj() )
> 
> Murray Cumming
> murrayc usa net
> www.murrayc.com 



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