Hi 

What code u posted i tried with that to set opacity ,
but it did not set opacity . So please tell why it
does not set opacity .

I also asked about IDirectFBWindow show 0x0 , means 
there is no IDirectFBWindow .but you did not tell me
about why it is NULL .

I also tried with g_signal_connect_after() for realize
event , then set opacity , nothing work . First i have
to set opacity , it does not work .

So please send me source code sample example which
sets opacity of GdkWindow . 

I am in big trouble . Help me 


With Regards
Manoj



--- Sven Neumann <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Manoj Kumar Bhatta <[EMAIL PROTECTED]> writes:
> 
> > I modified gdk/directfb/gdkwindow-directfb.c
> > for gdk_window_show() .
> 
> Can you explain why you did that? It shouldn't be
> necessary.
> 
> The code you posted should basically work (despite
> the fact that I am
> still waiting for you to show us the implementation
> of fade_in()). You
> only need to call gtk_widget_show() earlier. Some
> (rather inelegant)
> example code would look something like this:
> 
>  window = gtk_window_new ();
> 
>  gtk_widget_realize (window);
> 
>  gdk_directfb_window_set_opacity (window->window,
> 0x0);
> 
>  gtk_widget_show (window);
> 
>  window_fade_in (window);
> 
> You need to realize the window before you can set
> it's opacity and you
> will have to set the opacity to 0x0 so that
> gtk_widget_show() doesn't
> show it with the default opacity before you do the
> fade-in effect.  If
> this works for you, I suggest to rewrite it. You
> shouldn't call
> gtk_widget_realize() directly, but set the opacity
> in the
> GtkWidget:configure_event handler. Also, in order to
> avoid that the
> application blocks, you should do the fade-in using
> a timeout
> registered in the GtkWidget::show signal handler.
> 
> 
> Sven
> 
> 
> -- 
> Info:  To unsubscribe send a mail to
> [EMAIL PROTECTED] with 
> "unsubscribe directfb-dev" as subject.
> 


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to