Re: How would I use casting ?
- From: Vincent Torri <torri math u-strasbg fr>
- To: Dipak G Patil <dippatil in ibm com>
- Cc: gtk-list gnome org
- Subject: Re: How would I use casting ?
- Date: Tue, 13 Jul 2004 07:50:16 +0200 (MEST)
GtkWidget *gtk_win;
GdkWindow *gdk_win;
gtk_win = gtk_window_new (...);
gtk_widget_realize (gtk_win); /* to create GDk ressources for gtk_win, in
particular gtk_win->window */
gdk_win = gtk_win->window; /* to get the gdk window */
regards
Vincent TORRI
On Tue, 13 Jul 2004, Dipak G Patil wrote:
> Hi,
>
> I have created a window using gtk_window_new which returns GtkWidget * .
> Now I want to use API gdk_window_maximize which takes GdkWindow *, so how
> would I cast GtkWidget.
> neither GDK_WINDOW() casting nor gtkwidget->window works...?
>
>
> Thanks and regards,
> Dipak G Patil.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]