Re: How would I use casting ?




Thanks gtk_widget_queue_draw()is perfect for what I want.
But I think for every gdk_  API there wont be gtk_ equivalent, so what you think, for using gdk_ APIs use of gtk_widget_realize  right or not, if I have GtkWidget * type object ?

Thanks and regards,
Dipak G Patil.



"David Necas (Yeti)" <yeti physics muni cz>
Sent by: David Necas (Yeti) <yeti trific ath cx>

07/14/2004 12:59 PM

To
Dipak G Patil/India/IBM IBMIN
cc
gtk-list gnome org
Subject
Re: How would I use casting ?






(please don't top-post)

On Wed, Jul 14, 2004 at 12:45:58PM +0530, Dipak G Patil wrote:
>
> Now I want to use gdk_window_process_updates so I think use of
> gtk_widget_realize is mandatory as I couldnt find equivalent API in GTK.
> Could you suggest me right way if you think using gtk_widget_realize API is not
> a good idea ?

gdk_window_process_updates() is rarely needed. Maybe you want
gtk_widget_queue_draw() or maybe even gtk_main_iteration_do().
Unles you are really trying to force synchronous exposes.
What problem you are trying to solve?

Yeti


--
Do not use tab characters. Their effect is not predictable.



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