Re: [GNC] GnuCash source code

2024-11-29 Thread John Ralls
Shashi, Ultimately it’s called from https://gitlab.gnome.org/GNOME/glib/-/blame/main/gobject/gobject.c?ref_type=heads#L850, but if you’re looking for an explicit invocation of gnc_main_window_init you’re not going to find it. The COject creation macro G_DEFINE_TYPE_WITH_CODE at https://githu

Re: [GNC] GnuCash source code

2024-11-28 Thread Shashi Kant Singh
Dear John Thank you for your response. Can you please tell the name of the file in which gnc_main_winodow_init method is called Thanks and regards Shashi Kant Singh On Mon, 25 Nov, 2024, 11:23 am Shashi Kant Singh, < shashikantsing...@gmail.com> wrote: > Dear Sir/Madam > > I am exploring the so

Re: [GNC] GnuCash source code

2024-11-26 Thread John Ralls
Gnc_main_window_init is part of the GObject construction process. A good place to start is https://docs.gtk.org/gobject/tutorial.html (for how Gtk’s C-based OO programming model works) and https://docs.gtk.org/gtk3/getting_started.html for how the GUI is built. Keep in mind as you study that st

Re: [GNC] GnuCash source code

2024-11-26 Thread William Prescott
This question might get more response in gnucash-de...@gnucash.org Will On 24 Nov 2024, at 23:53, Shashi Kant Singh wrote: Dear Sir/Madam I am exploring the source code of gnucash but not able to figure out how and when menus are created . Can anyone please

[GNC] GnuCash source code

2024-11-26 Thread Shashi Kant Singh
Dear Sir/Madam I am exploring the source code of gnucash but not able to figure out how and when menus are created . Can anyone please figure out when this function gnc_main_window_init is called in the source code. I am not able to find the same Please do the needful Thanks and regards Shashi K