gtktext/popup menu problem
- From: Timo Sirainen <a sicom fi>
- To: gtk-list redhat com
- Subject: gtktext/popup menu problem
- Date: Fri, 07 May 1999 10:49:41 +0300
I'm trying to create a popup menu which items depends of what word in
text
widget I clicked, but there's a problem:
After creating popup menu when clicking text widget with right
mouse button, selecting text doesn't work anymore (it shows as gray).
That's because I use gtk_signal_connect_after() to grab
button_press_event.
And I need to use that to make gtk_editable_get_position() return the
right
position (where I just clicked in text widget). I could handle all this
in
button_release_event, but creating menus in button_release_event
works a bit weird.. I really can't think of any way to fix this.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]