[gtkmm] key press problem
- From: "Arvind R." <arvind acarlab com>
- To: gtkmm-list gnome org
- Subject: [gtkmm] key press problem
- Date: Fri, 13 Feb 2004 19:50:50 +0530
Hi,
On Thu, 12 Feb 2004 15:07:36 -0700, Phillip Neiswanger wrote:
> ...
> How do I get handling of key press/release events in both the main
> widget and the drawingarea? I need to cntl-<key> handling
> in both widgets.
Somebody correct me if I am wrong -
The over-riding of a virtual functions mean that it
really over-rides previous implementation! If you need the
functionality of the over-ridden function in the new
function - simply call it appropriately in the new func! -
RETVAL class::virtual_func( ... )
{
do_something_if_needed();
::virtual_func( ... ); // or base_class::virtual_func( ... );
or_do_something_here_if_needed();
}
- arvind
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]