fixed widget



Could someone help me!?

I want to get in some text, then I want write back this text to the same
position in the screen.
The result is some garbage, I presume there is the previous and on that
the current text. This problem occurs
only when I use entry widget, and I write it back to the same position.

field=gtk_entry_new(....)


gtk_fixed_put(...,field,x,y)

gtk_widget_show(..)

gtk_widget_hide(field);

gdk_window_clear_area(..,x,y,  )
label=gtk_entry_get_text(....)
gtk_fixed_put(...,label,x,y)

The most intresting, that using a new window, and the problem is not
solved, with the same physical position.
( entry widget and label widget)

Thanks





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