Re: [gtkmm] gdk_x11_drawable_get_xid ???
- From: "I.S.Kuten" <i kuten sam-solutions net>
- To: Murray Cumming Comneon com
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] gdk_x11_drawable_get_xid ???
- Date: Fri, 28 Feb 2003 19:43:45 +0200
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]