get mouse position in C using gtk? -
get mouse position in C using gtk? -
i'm working on project in c using gtk+ 2.0.
i must check if user has pressed left click on image. thought phone call function when left click pressed , position of mouse, how can that?
the problem gtkimage widget used show image in gtk+ not generate events.
it's "nowindow" widget, meaning it's passive container, used display info , not interact user.
you can prepare wrapping image in gtkeventbox, add together event support.
c gtk mouse
Comments
Post a Comment