Revision 2821 PLUGIN.txt

View differences:

PLUGIN.txt
173 173
                                 GtkMenu *menu,
174 174
                                 GtkTextView *textview,
175 175
                                 const gchar *uri,
176
                                 const gchar *selected_text);
176
                                 const gchar *selected_text,
177
                                 MsgInfo *msginfo);
177 178

  
178 179
Emitted on popup of the context menu of TextView.
179 180
You can add any menu items to the passed GtkMenu.
180
The menu object will be destroyed when closed.
181
The menu object will be created on open and destroyed on close, so menu items
182
must be added each time.
181 183

  
182 184
menu: context menu object
183 185
textview: GtkTextView object
184 186
uri: URI string if the menu popups on an URI
185 187
selected_text: string if a string is selected on the text view
188
msginfo: the MsgInfo message object displayed in the text view
186 189
-------------------------------------------------------------------------
187 190

  
188 191
* libsylph-0

Also available in: Unified diff