writing a gtkwidget for pidgin

Etan Reisner pidgin at unreliablesource.net
Thu Feb 12 00:07:45 EST 2009

On Wed, Feb 11, 2009 at 09:01:50PM -0800, arun kumar wrote:
> yup i saw few plugins ....but was not able to make out what the
> contents  inside the get_config_frame() mean......and thats why i
> asked is there any tutorial on how to write such
> widgets?..........Actually  i want to create a widget which is
> something similar to one in text replacement(spellcheck.c) plugin of
> pidgin.........

You aren't "writing widgets" you are creating GtkWidget:s representing the
widgets you want displayed. GtkWidget:s aren't a pidgin thing, they are
GTK+ widgets. You are creating the GTK+ widget structure and giving it to
pidgin to display.

There are GTK+ tutorials out there if you want to read them, but there
isn't really anything here for pidgin to have a tutorial about. Your
plugin is simply creating a widget structure and handing it to pidgin to
display it for you.

> any help?
> cheers,
> arun


More information about the Devel mailing list