Re: moving hidden window



Em Sun, 2 Mar 2003 01:09:48 +0100 (CET), who_ami siedziba pl escreveu:


HI!


If I hide window with gtk_widget_hide and then show it again with
gtk_widget_show the window does not stay in the same position so I have to
move it with gtk_window_move. but this function only works before
gtk_widget_show, so the code
gtk_widget_show(window);
gtk_window_move(window....);
shows window and then moves it to the right position,. it makes window
flicking . how to avoid this?

Try:

gtk_widget_realize (window) before gtk_window_move () ...

[]'s

-- 
André Casteliano

Linux User: # 178853    UIN: # 47717593
E-mail: digitalcoder users sourceforge net
Home Page: http://andre.mistermouse.com.br  



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