[Vala] pass signal to covered window
- From: "Gilzad Hamuni" <gilli4 gmx net>
- To: Vala-list <vala-list gnome org>
- Subject: [Vala] pass signal to covered window
- Date: Mon, 1 Feb 2016 18:22:22 +0100
Hi list,
if I have two windows layered on top of each other, the lower window can't fetch the mouse signals as these
will go to the upper one. How can I pass the e.g. a button_pressed event on to the lower layer?
TextView textView = new TextView();
DrawingArea drawingArea = new DrawingArea();
fixedWindow = new Gtk.Fixed();
fixedWindow.put(textView, 0, 0);
fixedWindow.put(drawingArea, 0, 0);//putting drawing area on top of text view
drawingArea.button_press_event.connect( ... );// How can I fire a button_press event to the textView?
Thanks in advance,
gilzad
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]