Use the context almost everywhere.
This commit is contained in:
@ -33,35 +33,54 @@ typedef void (* GimpQueryFunc) (GtkWidget *, gpointer, gpointer);
|
||||
|
||||
/* widget constructors */
|
||||
|
||||
GtkWidget * gimp_dialog_new (const gchar *title,
|
||||
const gchar *wmclass_name,
|
||||
GimpHelpFunc help_func,
|
||||
gpointer help_data,
|
||||
GtkWindowPosition position,
|
||||
gint allow_shrink,
|
||||
gint allow_grow,
|
||||
gint auto_shrink,
|
||||
GtkWidget * gimp_dialog_new (const gchar *title,
|
||||
const gchar *wmclass_name,
|
||||
GimpHelpFunc help_func,
|
||||
gpointer help_data,
|
||||
GtkWindowPosition position,
|
||||
gint allow_shrink,
|
||||
gint allow_grow,
|
||||
gint auto_shrink,
|
||||
|
||||
/* specify action area buttons as va_list:
|
||||
* gchar *label,
|
||||
* GtkSignalFunc callback,
|
||||
* gpointer data,
|
||||
* GtkWidget **widget_ptr,
|
||||
* gboolean default_action,
|
||||
* gboolean connect_delete,
|
||||
*/
|
||||
/* specify action area buttons
|
||||
* as va_list:
|
||||
* gchar *label,
|
||||
* GtkSignalFunc callback,
|
||||
* gpointer data,
|
||||
* GtkWidget **widget_ptr,
|
||||
* gboolean default_action,
|
||||
* gboolean connect_delete,
|
||||
*/
|
||||
|
||||
...);
|
||||
...);
|
||||
|
||||
GtkWidget * gimp_dialog_newv (const gchar *title,
|
||||
const gchar *wmclass_name,
|
||||
GimpHelpFunc help_func,
|
||||
gpointer help_data,
|
||||
GtkWindowPosition position,
|
||||
gint allow_shrink,
|
||||
gint allow_grow,
|
||||
gint auto_shrink,
|
||||
va_list args);
|
||||
|
||||
void gimp_dialog_create_action_area (GtkDialog *dialog,
|
||||
|
||||
/* specify action area buttons
|
||||
* as va_list:
|
||||
* gchar *label,
|
||||
* GtkSignalFunc callback,
|
||||
* gpointer data,
|
||||
* GtkWidget **widget_ptr,
|
||||
* gboolean default_action,
|
||||
* gboolean connect_delete,
|
||||
*/
|
||||
|
||||
...);
|
||||
|
||||
void gimp_dialog_create_action_areav (GtkDialog *dialog,
|
||||
va_list args);
|
||||
|
||||
GtkWidget * gimp_dialog_newv (const gchar *title,
|
||||
const gchar *wmclass_name,
|
||||
GimpHelpFunc help_func,
|
||||
gpointer help_data,
|
||||
GtkWindowPosition position,
|
||||
gint allow_shrink,
|
||||
gint allow_grow,
|
||||
gint auto_shrink,
|
||||
va_list args);
|
||||
|
||||
GtkWidget * gimp_option_menu_new (GtkSignalFunc menu_item_callback,
|
||||
gpointer initial, /* user_data */
|
||||
|
||||
Reference in New Issue
Block a user