| 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_ */ |