Re: GTK window positioning

2012-09-19 Thread Michael Cronenworth
David Buchan wrote: gtk_window_set_position (GTK_WINDOW (window1), GTK_WIN_POS_NONE); [snip] I find that the two windows are always placed right on top of each other. I can drag the top one off the one underneath, but I'd like the window manager to choose placements that are separate.

GTK window positioning

2012-09-18 Thread David Buchan
Hi, I've made a program that creates two new windows when demanded:   GtkWidget *window1, *scrolled_win1, *textview1;   GtkTextBuffer *buffer1;   GtkWidget *window2, *scrolled_win2, *textview2;   GtkTextBuffer *buffer2;   PangoFontDescription *textview_font1;   PangoFontDescription