comparison src/gtkutils.h @ 5530:2c4c975620f0

[gaim-migrate @ 5930] Okay, several changes in this commit. - We now have gtkprefs.h. - We have a place where we can add UI prefs. - show_prefs() -> gaim_gtk_prefs_show(). - make_frame() -> gaim_gtk_make_frame(). - The debug window is the first thing to have prefs. You can even turn off the toolbar if you edit ~/.gaim/prefs.xml. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 26 May 2003 08:30:48 +0000
parents 3adb20b869b4
children 213e999fa5cc
comparison
equal deleted inserted replaced
5529:e7747cae9710 5530:2c4c975620f0
136 /** 136 /**
137 * Creates a menu item. 137 * Creates a menu item.
138 * 138 *
139 * @param menu The menu to which to append the menu item. 139 * @param menu The menu to which to append the menu item.
140 * @param str The title for the menu item. 140 * @param str The title for the menu item.
141 * @param icon An icon to place to the left of the menu item, or NULL for no icon. 141 * @param icon An icon to place to the left of the menu item,
142 * or @c NULL for no icon.
142 * @param sf A function to call when the menu item is activated. 143 * @param sf A function to call when the menu item is activated.
143 * @param data Data to pass to the signal function. 144 * @param data Data to pass to the signal function.
144 * @param accel_key Something. 145 * @param accel_key Something.
145 * @param accel_mods Something. 146 * @param accel_mods Something.
146 * @param mod Something. 147 * @param mod Something.
147 * 148 *
148 * @return The newly created menu item. 149 * @return The newly created menu item.
149 */ 150 */
150 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); 151 GtkWidget *gaim_new_item_from_stock(GtkWidget *menu, const char *str,
152 const char *icon, GtkSignalFunc sf,
153 gpointer data, guint accel_key,
154 guint accel_mods, char *mod);
155
156 /**
157 * Creates a HIG preferences frame.
158 *
159 * @param parent The widget to put the frame into.
160 * @param title The title for the frame.
161 *
162 * @return The vbox to put things into.
163 */
164 GtkWidget *gaim_gtk_make_frame(GtkWidget *parent, const char *title);
151 165
152 #endif /* _GAIM_GTK_UTILS_H_ */ 166 #endif /* _GAIM_GTK_UTILS_H_ */