changing hidden window position
- From: Mihai Bazon <mishoo infoiasi ro>
- To: Gtk+ <gtk-app-devel-list gnome org>
- Subject: changing hidden window position
- Date: Wed, 27 Jun 2001 13:09:26 +0300
Hello all,
I'm using gdk_window_move to set a window's position. My problem
is that the window must be visible before doing that.
For instance (erroneous code):
GtkWidget *win = gtk_window_new(..);
...
gdk_window_move(win->window, x, y);
gtk_widget_show(win);
But it works like this:
GtkWidget *win = gtk_window_new(..);
...
gtk_widget_show(win); /* show the window first */
gdk_window_move(win->window, x, y);
This results in unpleasant flicker. How to solve this?
Thanks,
Miahoo
--
... and on the seventh day, He exited from append mode.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]