RE: [gtkmm] Gtk::Button issues
- From: Matthew Walton <mxw00u cs nott ac uk>
- To: Alex Pavloff <apavloff eason com>
- Cc: "'gtkmm-list gnome org'" <gtkmm-list gnome org>
- Subject: RE: [gtkmm] Gtk::Button issues
- Date: 11 Dec 2002 01:11:50 +0000
On Wed, 2002-12-11 at 01:04, Alex Pavloff wrote:
> > These are both normal behaviour... on_pressed and on_released occur as
> > mouse events only as far as I'm aware. on_released, being defined as
> > when a mouse button is released over a button, is quite valid to be
> > called when it is in #1. If you did it the other way around (press on
> > button, hold, drag away, release) you'd only get on_pressed.
>
> #1: on_pressed and on_released as mouse only? That seems rather strange,
> since, well, the button is pressed and released. If that's the expected
> behavior though, how do I go about making the keyboard actually call those
> functions.
Mmm, it is kind of strange I guess, but that's how I've always thought
of them.
> #2: Nope, on_released gets called on a click,drag off button,release. Its
> inconsistent. Bug.
Hmm, that's odd. Does it do the same thing in pure GTK+? If so, then
it's a GTK+ issue. Might even be intentional, although I have no idea
why it might be.
--
Matthew Walton <mxw00u cs nott ac uk>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]