Hi
Overload on_key_pressed() method and inside, handle the keypress event.
This is what I did in my project. Hope it helps.
ClassX is my class extending from Gtk::Window.
bool ClassX::on_key_pressed(GdkEventKey* event)
{
try{
if(!event)
return fals
ope this helps.
>
> Rgds,
> Madhusudan.
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of SIRISHA
> MUPPAVARAPU
> Sent: Thursday, December 14, 2006 2:03 AM
> To: gtk-app-devel-list@gnome.org
> Subject: Display d
Madhusudan.
>
>
>
> -Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of SIRISHA
> MUPPAVARAPU
> Sent: Thursday, December 14, 2006 2:03 AM
> To: gtk-app-devel-list@gnome.org
> Subject: Display date and time using gtkmm2.4
>
>
Hi All
In my project, I need to display the date time on the window as long as
the application is running. Kind of real time display of date,time on
the window. I can use time_t from time.h and obtain the date and time.
But, how do I make is real time? I am using libgtk2.8 and libgtkmm 2.4.
I sea