Re: Calendar Popup



On Mon, 2009-03-16 at 15:45 -0600, Eddie Carle wrote:
> On Sun, 2009-03-15 at 13:55 -0600, Eddie Carle wrote:
> > I have been working on a gtkmm widget that mimics the popup calendar
> > in evolution. Things seem to be going relatively well save I can't
> > figure out how to make a window of type Gtk::WINDOW_POPUP with a hint
> > set to Gdk::WINDOW_TYPE_HINT_COMBO disappear when I click out of the
> > window. I've tried on_focus_out_event() but I can't seem to get any
> > action. 

Is your signal handler (actually an override of the default signal
handler in your case) actually called?

> Suggestions?
> 
> I have create a test case for this as well.
> 
> http://gist.github.com/80096
> 
> I was thinking another interesting option instead of the window going
> away would be for Date::DateWindow::reposition() to be called whenever
> the main widget is moved. Is this possible?

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]