>>>>> "Per" == Per Bojsen <[EMAIL PROTECTED]> writes:
Per> *** Regarding Re: Gnucash; Alexandru Harsanyi
Per> <[EMAIL PROTECTED]> adds:
Alexandru> The calendar window is modal, so you can't click
Alexandru> anywhere
Per> I hope you strive to avoid modal windows as much as possible.
Per> I don't think modal windows are good user interface design
Per> because they force the user into taking a path the programmer
Per> chose. For the calendar window this is okay, though, as long
Per> as there is a way to cancel the window.
Yes, I've read the textbooks too, but in this case I wanted the
calendar window pop-down when you click somewhere else (just like
normal pop-up's). I'm not a Gtk guru, so I tried to solve it from what
I knew: make the window modat, grab any event, and if it's not for me
I pop down the window. Unfortunately I have not got the time to
investigate how to grab events, so my patch did not contained that
code.
The calendar window does not aim to be a modal window from the
philosofical point of view, It's made modal just to obtain some
pop-up-like behaviour.
I know that my problem whould have been best solved by writing my own
widget, but I'm not that good yet.
Best Regards,
Alex.
Per> -- Per Bojsen <[EMAIL PROTECTED]> 6132 Lexington
Per> Ridge Drive Lexington, MA 02421-8317 USA ----- %<
--
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body