[Vala] pass signal to covered window



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]