Re: switch printer tray during printing

2013-03-13 Thread Liam R E Quin
On Mon, 2013-03-11 at 16:13 -0500, Michael Cronenworth wrote: > Changing trays may be out of the question, but I do know that Postscript > allows per-page paper orientation changes. I have a few PDFs that do so. You can change paper sizes too, which will generally cause a different paper tray to

Re: window-popup = menu

2013-03-13 Thread jcupitt
Hi again, You can connect to the "map" event. This happens after the window has been realized and just before the window appears on the screen, so the size has been calculated. https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget-map In ::map, change window x/y to move it away from t

Re: window-popup = menu

2013-03-13 Thread Mariano Gaudix
Hello . Is not a menu-popup . I use a window-popup . GTK_WINDOW_POPUP is used to implement widgets such as GtkMenu or tooltips . https://developer.gnome.org/gtk3/stable/GtkWindow.html I am creating a mockupwith window-popup thatcontains scrollbar , and other widgets

Re: window-popup = menu

2013-03-13 Thread jcupitt
Hi Mariano, Just call gtk_menu_popup() and it'll position the menu away from the screen edges for you. https://developer.gnome.org/gtk3/stable/GtkMenu.html#gtk-menu-popup John On 13 March 2013 04:05, Mariano Gaudix wrote: > Hello how i can determine the size of a window-popup hidden ? ¿