Where to start in the source code



Hello folks,

I am trying to add a GtkPlug widget instead of the default epiphany parent window (in EphyWindow > GtkWIndow parent)
I am very new to this level of complex programming but need it for just experiment.

For a try, I changed the type of the parent GtkWindow to a (GtkPlug *). I also added a g_print to print the plug id of the GtkPlug in ephi_window_finalise (line 3775 - 3791 in ephi-window.c).
 
it got compiled nicely but when i invoked, as expected, it throw 4-5 warnings about specified instance size for type `EphyWindow' is smaller than the parent type's `GtkWindow' instance size.. etc and nothing (i mean the g_print for the plug id) came up.

It was a blind throw and quite expectedly, it didn't work.
I want to somewhat understand how the window is realised and where it is packing everything into the parent.
can you please give me a pointer where to start?

--
Regards,

Debmalya Sinha
দেবমাল্য সিংহ

Research Scientist,
MS(R) student,
Computer Science and Engineering
IIT Kharagpur


Fedora Ambassador
Chandannagar
India.

http://cse.iitkgp.ac.in/~debmalya

GPG Key : 6E2BD51B
Keyserver : http://pgp.mit.edu



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