Mercurial > pidgin
view plugins/perl/perl-handlers.h @ 7714:3d9d3d21e600
[gaim-migrate @ 8359]
I rock so hard! This is just too easy. WYSIWYG foreground and background
colors.
The observant commit watcher will note that I'm not really paying too close
attention to the toolbar UI yet. And as a result, it doesn't really work too
great. The plan is to make the toolbar its own GtkWidget, which will attach
to a GtkIMHtml. The GtkIMHtml will emit signals to it, telling it what state
it should be in, and the toolbar will manipulate the GtkIMHtml accordingly.
This way, anything that has text entry can have a toolbar with which to edit
it.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 03 Dec 2003 04:17:42 +0000 |
parents | 33486b749aa9 |
children | 4315bb5f427b |
line wrap: on
line source
#ifndef _GAIM_PERL_HANDLERS_H_ #define _GAIM_PERL_HANDLERS_H_ #include "plugin.h" typedef struct { SV *callback; SV *data; GaimPlugin *plugin; int iotag; } GaimPerlTimeoutHandler; typedef struct { char *signal; SV *callback; SV *data; void *instance; GaimPlugin *plugin; } GaimPerlSignalHandler; void gaim_perl_timeout_add(GaimPlugin *plugin, int seconds, SV *callback, SV *data); void gaim_perl_timeout_clear_for_plugin(GaimPlugin *plugin); void gaim_perl_timeout_clear(void); void gaim_perl_signal_connect(GaimPlugin *plugin, void *instance, const char *signal, SV *callback, SV *data); void gaim_perl_signal_disconnect(GaimPlugin *plugin, void *instance, const char *signal); void gaim_perl_signal_clear_for_plugin(GaimPlugin *plugin); void gaim_perl_signal_clear(void); #endif /* _GAIM_PERL_HANDLERS_H_ */