Gtkmm-based Date-Chooser widget
C++ Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
m4
src
tests
.gitignore
AUTHORS
COPYING
ChangeLog
INSTALL
Makefile.am
NEWS
README.rst
bootstrap.sh
configure.ac
gtk-date-chooser-0.1.pc.in

README.rst

GtkDateChooser

gtk-date-chooser provides a custom gtkmm (C++) widget: Gtk::DateChooser.

I'm writing this because GtkCalendar is completely unusable for a UI where you have to enter dates frequently.

GOALS

  1. Don't lock the user into a rigid text-entry format.
  2. Don't "magically" jump the user to unexpected states (i.e. we won't magically insert a date separator (e.g. slash) when they've entered a portion of the date).
  3. Allow dates to be pasted into the entry box.
  4. More or less allow a user to enter whatever garbage they want, and try to handle it as a date.
  5. Make it easy to enter dates; assume that this is an operation the user will perform frequently (e.g. a calendar or financial application).
  6. Parse partial dates sensibly. (What "sensibly" means will require some discretion from the app developer. As an example, if I enter "March 1" I probably mean whatever year is closest: using a calendar app on December 2011, I probably mean March 1, 2012. In a financial app where I've just added a bunch of dates in 2011, I probably mean 2011. There's room for "sensible" parsing to have some intelligence.)
  7. Provide a GtkCalendar popup when the user asks for it.