[Glade-users] libglade event mask problem



--0-1717265135-1069879222=:73154
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Id: 
Content-Disposition: inline

Hi, list

I'm having a little problem with libglade. In my test
case I have a simple app: a window with a DrawingArea
inside. The "button_press_event" is connected with a
callback, the GDK_BUTTON_PRESS_MASK and everything
works right. It works if I use the glade-generated C
code or use libglade to load the interface
dinamically.

Now, when I _add_ GDK_BUTTON_MOTION_MASK to the event
mask the dinamic version stops getting events but the
rebuilded static version works ok. The file inteface.c
contains

gtk_widget_set_events (drawingarea1,
GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK);

so the event mask is what I want. I attach the
testcase I'm using.

Is this a feature? What is the rationale? (I accept
the RTFM-ish answers, but, _please_, include a pointer
to the right FM)

Sorry if this is a stupid question. My app is a Gtk#
app built with glade. I traced the problem to a C#
testcase and now to a C testcase, but I've never
developed a C gnome app, so my ignorance.

Thanks in advance

Pedro Abelleira Seco


_______________________________________________________________
Yahoo! Sorteos
�Ya puedes comprar Loter�a de Navidad!
http://yahoo.ventura24.es/
--0-1717265135-1069879222=:73154
Content-Type: application/x-gzip; name="bug.tar.gz"
Content-Transfer-Encoding: base64
Content-Description: bug.tar.gz
Content-Disposition: attachment; filename="bug.tar.gz"

H4sICMQJxT8CA2J1Zy50YXIA7Vh7b+JGEOff+FPMudUJaGxsQkAiQJW70Oh0
IUQHaXrqVb7FXsw2Zo28a3Jpe9+9s7ZJMIF7SE1Obf1DsN6ZndnHeB7LJPZr
pUeGZTWsVusQW8tqNRu5NkMJBzTtutVoHrZKlm01WwclOCw9AWIhSQRQWlAv
Cj8x7nP8fykmaH/8mu5j2t+2rOaG3dftn/BW9reV/e2mjfa3Cvs/Or5j3A1i
j0JHSI+F5qyn3ZN8eV3D7wYxIB6tJb87GcaHeaCY2jJknjbkL2IpQ34RUSH6
S8pl+VReXzHPpxKqN0lb0f7UALGIGJfTsv5QBlwSBNR7x/XKkfZR03CcNieM
l/EB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U6L1sgs+I3y5wGlUyXr06PxleOePhxVn/5/7Zp8VS3c4iFEzisd9p
cC6GI+d8eN7/tDiagQR67ycSiM9sDwMf+4N84VlgAJBReOvcMDlzMI9hvNwy
iRJ0Zyzwekn8fGiltYSQmiqXBXpZ1P4Km20b7hLuTEM3Fl8qMCPi6wSoyhc4
+vTktfPicjwenjuD4fiVao5Hr+EvWGNc4IVhlNC36M3+CUi1TpL85ixURnKS
KfTVfwTdLf956IDHKh00OJsyl6iXxZFMKRoRuQ/1OpyHS6hb1gHUD9oHVttu
wulgrNcy49RS6yTWrmVWuyfi4wO3KxUoUKBAgQIFChQoUKBAgQIFChT4T+Fv
+dHDTwAoAAA=

--0-1717265135-1069879222=:73154--




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]