Re: newbie key binding question

2008-11-24 Thread Sirisha Muppavarapu
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

RE: Display date and time using gtkmm2.4

2006-12-14 Thread SIRISHA MUPPAVARAPU
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

RE: Display date and time using gtkmm2.4

2006-12-14 Thread SIRISHA MUPPAVARAPU
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 > >

Display date and time using gtkmm2.4

2006-12-13 Thread SIRISHA MUPPAVARAPU
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