Mercurial > pidgin
comparison src/gtkutils.h @ 5162:b8eafeb874a1
[gaim-migrate @ 5526]
After my last commit, Nathan promptly asked me if I remembered to move
the declarations for gaim_new_item and gaim_new_item_stock from one .h
file to the next, and I promptly cracked on his mom.
Robot101, or anyone else cool, if you want to fix the comments in
gtkutils.h for these 2 functions, that'd be terrif.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 18 Apr 2003 03:40:54 +0000 |
parents | 4691c5936c01 |
children | 3adb20b869b4 |
comparison
equal
deleted
inserted
replaced
5161:777f56b95a92 | 5162:b8eafeb874a1 |
---|---|
109 void gaim_gtk_toggle_sensitive(GtkWidget *widget, GtkWidget *to_toggle); | 109 void gaim_gtk_toggle_sensitive(GtkWidget *widget, GtkWidget *to_toggle); |
110 | 110 |
111 /** | 111 /** |
112 * Adds a seperator to a menu. | 112 * Adds a seperator to a menu. |
113 * | 113 * |
114 * @param menu The menu to add a seperator to. | 114 * @param menu The menu to add a seperator to. |
115 */ | 115 */ |
116 void gaim_separator(GtkWidget *menu); | 116 void gaim_separator(GtkWidget *menu); |
117 | 117 |
118 /** | |
119 * Creates a menu item. | |
120 * | |
121 * @param menu The menu to which to append the menu item. | |
122 * @param str The title to use for the newly created menu item. | |
123 * | |
124 * @return The newly created menu item. | |
125 */ | |
126 GtkWidget *gaim_new_item(GtkWidget *menu, const char *str); | |
127 | |
128 /** | |
129 * Creates a menu item. | |
130 * | |
131 * @param menu The menu to which to append the menu item. | |
132 * @param str The title for the menu item. | |
133 * @param icon An icon to place to the left of the menu item, or NULL for no icon. | |
134 * @param sf A function to call when the menu item is activated. | |
135 * @param data Data to pass to the signal function. | |
136 * @param accel_key Something. | |
137 * @param accel_mods Something. | |
138 * @param mod Something. | |
139 * | |
140 * @return The newly created menu item. | |
141 */ | |
142 GtkWidget *gaim_new_item_from_stock(GtkWidget *menu, const char *str, const char *icon, GtkSignalFunc sf, gpointer data, guint accel_key, guint accel_mods, char *mod); | |
143 | |
118 #endif /* _GAIM_GTK_UTILS_H_ */ | 144 #endif /* _GAIM_GTK_UTILS_H_ */ |