On Mon, Feb 15, 1999 at 09:46:50AM +0800, James Henstridge wrote:
> Now for adding new signals ... If I did this, you realise that you would
> only be able to attach python handlers and call them with GtkObject.emit()
> method?
No, I don't understand the limitations involved. I am not as intimate with
pygtk as its creator ;}
>In this case, it may be easier to store a list of tuples like
> (func, user_data) and run
> for func,user_data in handlers:
> func(object, some_arg, user_data)
I think you're saying pass a callback to the object in question? That's
what I'm doing now. I just like the idea of being able to create compound
widgets in Python that behave just like Gtk widgets. I suppose passing
callbacks struck me as a bit Tkinterish ;}
> Now for editable styles. I am personally in favour of using RC files to
> set this sort of information, but maybe it should be included for
> completeness.
I don't understand how to change styles dynamically this way. How can I let
the user change the font on the fly, for instance?
Dave
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]