| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
Gimp;
Gimp* gimp_new (const gchar *name,
const gchar *session_name,
gboolean be_verbose,
gboolean no_data,
gboolean no_fonts,
gboolean no_interface,
gboolean use_shm,
gboolean console_messages,
GimpStackTraceMode stack_trace_mode,
GimpPDBCompatMode pdb_compat_mode);
void gimp_initialize (Gimp *gimp,
GimpInitStatusFunc status_callback);
void gimp_restore (Gimp *gimp,
GimpInitStatusFunc status_callback);
void gimp_exit (Gimp *gimp,
gboolean force);
void gimp_load_config (Gimp *gimp,
const gchar *alternate_system_gimprc,
const gchar *alternate_gimprc);
GimpImage* gimp_create_image (Gimp *gimp,
gint width,
gint height,
GimpImageBaseType type,
gboolean attach_comment);
void gimp_set_default_context (Gimp *gimp,
GimpContext *context);
GimpContext* gimp_get_default_context (Gimp *gimp);
void gimp_set_user_context (Gimp *gimp,
GimpContext *context);
GimpContext* gimp_get_user_context (Gimp *gimp);
GimpToolInfo* gimp_get_tool_info (Gimp *gimp,
const gchar *tool_name);
void gimp_set_global_buffer (Gimp *gimp,
GimpBuffer *buffer);
void gimp_message (Gimp *gimp,
GObject *handler,
GimpMessageSeverity severity,
const gchar *format,
...);
void gimp_message_valist (Gimp *gimp,
GObject *handler,
GimpMessageSeverity severity,
const gchar *format,
va_list args);
Gimp* gimp_new (const gchar *name, const gchar *session_name, gboolean be_verbose, gboolean no_data, gboolean no_fonts, gboolean no_interface, gboolean use_shm, gboolean console_messages, GimpStackTraceMode stack_trace_mode, GimpPDBCompatMode pdb_compat_mode);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
void gimp_initialize (Gimp *gimp, GimpInitStatusFunc status_callback);
|
|
|
void gimp_restore (Gimp *gimp, GimpInitStatusFunc status_callback);
|
|
|
void gimp_exit (Gimp *gimp, gboolean force);
Exit this GIMP session. Unless force is TRUE, the user is queried
whether unsaved images should be saved and can cancel the operation.
|
a Gimp object |
|
whether to force the application to quit |
void gimp_load_config (Gimp *gimp, const gchar *alternate_system_gimprc, const gchar *alternate_gimprc);
|
|
|
|
|
GimpImage* gimp_create_image (Gimp *gimp, gint width, gint height, GimpImageBaseType type, gboolean attach_comment);
|
|
|
|
|
|
|
|
|
|
Returns : |
void gimp_set_default_context (Gimp *gimp, GimpContext *context);
|
|
|
void gimp_set_user_context (Gimp *gimp, GimpContext *context);
|
|
|
GimpToolInfo* gimp_get_tool_info (Gimp *gimp, const gchar *tool_name);
|
|
|
|
Returns : |
void gimp_set_global_buffer (Gimp *gimp, GimpBuffer *buffer);
|
|
|
void gimp_message (Gimp *gimp, GObject *handler, GimpMessageSeverity severity, const gchar *format, ...);
Present a message to the user. How exactly the message is displayed
depends on the severity, the handler object and user preferences.
|
a pointer to the Gimp object
|
|
either a GimpProgress or a GtkWidget pointer
|
|
severity of the message |
|
printf-like format string |
|
arguments to use with format
|
void gimp_message_valist (Gimp *gimp, GObject *handler, GimpMessageSeverity severity, const gchar *format, va_list args);
See documentation for gimp_message().
|
a pointer to the Gimp object
|
|
either a GimpProgress or a GtkWidget pointer
|
|
severity of the message |
|
printf-like format string |
|
arguments to use with format
|
"buffer-changed" signalvoid user_function (Gimp *gimp, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"exit" signalgboolean user_function (Gimp *gimp, gboolean arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
Returns : |
"initialize" signalvoid user_function (Gimp *gimp, gpointer arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |