KeK wrote:
>
> Hello,
> I've written a little calculator with a numeric pad. I've bound keys to the
> buttons signals, I mean that when i press '7' on the keyboard, the button
> labeled '7' emits the "clicked" signal, doing the appropriate stuff.
> But I expected that the button would really looks like if 'clicked'. I mean
> getting the focus, being depressed, changing its color, etc...
> I can see that the signal is really emitted, but the look of the button
> doesn't change. I've tried to emit all of the possible signals for the
> button, added delays to see better, but nothing happened.
>
> Does anyone has an idea ?
Hi, perhaps the usual (this is perl):
Gtk->main_iteration while Gtk->events_pending;
to show UI changes immediately?
Regards, Dermot
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
- [gtk-list] Accelerator question Leonardo Zide
- [gtk-list] Re: Accelerator question Chris Phelps
- [gtk-list] keyboard handling KeK
- [gtk-list] Re: keyboard handling Paul Barton-Davis
- [gtk-list] Re: keyboard handling Havoc Pennington
- [gtk-list] Re: keyboard handling Stephen Witkop
- [gtk-list] Re: keyboard handling Antonio Campos
- [gtk-list] Re: keyboard handling Paul Barton-Davis
- [gtk-list] Re: Accelerator question Dermot Musgrove
- [gtk-list] Re: Accelerator question Guy Harris
- [gtk-list] Re: Accelerator question Dermot Musgrove
- [gtk-list] Re: Accelerator question Guy Harris
- [gtk-list] Re: Accelerator question Nicolas GEORGE
- [gtk-list] Re: Accelerator question Leonardo Zide
- [gtk-list] Re: Accelerator question Guy Harris
- [gtk-list] Re: Accelerator question Per Hedbor
- [gtk-list] gtkmmext question Andrew Burr
- [gtk-list] Re: gtkmmext question Karl Nelson
