Re: problem finding the position of a button in the gtk dialog ( sample code inside )

2008-05-16 Thread Federico Mena Quintero
On Wed, 2008-05-07 at 11:33 +0530, chirag juneja wrote: > approach i am using is : > i will find the distance of the button from its parent, and then its > parent's distance form its parent .. and so on, till i get toplevel > window. > then i am adding the decoration's height, border's width and d

Re: Theory of good signal/event API design?

2007-10-03 Thread Federico Mena Quintero
On Sun, 2007-09-16 at 18:28 +0200, Sander Marechal wrote: > My question: How do I determine what signals/events I should send out so > that together they make for a nice module API? For now, I am simply > building modules and adding signals to the application as I need them, > but I bet there is a

Re: GTK signals and widget destruction/disposal/finalization

2005-02-09 Thread Federico Mena Quintero
On Tue, 2005-02-08 at 20:57 -0500, Havoc Pennington wrote: > > - Between the time a widget is destroyed, and the time that "dispose" > > is called, is it possible for other signals to be serviced? That is, > > is it best to explicitly disconnect signal handlers before destroying > > a widget