> On Oct 31, 2016, at 3:17 AM, Amin Aghabeiki <amin.aghabe...@gmail.com> wrote:
> 
> Hi All
> 
> Finally I add new Masked calendar to GnuCash , and it seem to be work ,
> I test date entry load and save date and sheet on database and report , all
> of this part work with my Mask Logic ,
> the last thing that need to be change is Date Picker. and write some test.
> I see this part is a GTK library , and I have not any Idea have can I mask
> my new Date ( Jalali ) on it .
> any one can help me on it I need Idea :D ?

Umm, "mask" isn't quite right. Perhaps you mean "override"?

For the GtkDatePicker, you'll need to learn how GObject classes work (there's a 
nice turorial [1] in the documentation), then derive a class 
GtkJalaliDatePicker from GtkDatePicker and replace the appropriate functions so 
that it displays a Jalali month and passes back a Gregorian date when the user 
completes the selection.

Be sure to use Gtk2!

Regards,
John Ralls

[1] https://developer.gnome.org/gobject/stable/pt02.html
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to