Re: [vox-tech] gtk question - gtk notebook page creation from acallback

2002-05-23 Thread Gabriel Rosa
On Thu, 23 May 2002, Peter Jay Salzman wrote: i'd like to add a page to a gtk notebook from a menuitem activation. here's what i have (much snippage): [snip] so when someone clicks view sprites, it calls back viewSpritesItemCallback. what i'd like to do is call:

Re: [vox-tech] gtk question - gtk notebook page creation from acallback

2002-05-23 Thread Gabriel Rosa
On Thu, 23 May 2002, Peter Jay Salzman wrote: doesn't that _basically_ amount to making all the widgets global? No, because you can obfusc^Wprotect your widgets with a class interface :) What it ammount to is saying (within maybe your iface constructor): widget-callback(function, this);

Re: [vox-tech] gtk question - gtk notebook page creation from acallback

2002-05-23 Thread Gabriel Rosa
On Thu, 23 May 2002, Mark K. Kim wrote: He'd pay people $2.46 for every line of elegant GUI code they produced ;) You messed up the joke by using the wrong dollar amount. It's $2.56 -- 2^8 pennies. :P oops, finger slippage :) Actually, Knuth would code in CWeb and document the