[gimp-perl/progressbar] partial for progressbar
- From: Ed J <edj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-perl/progressbar] partial for progressbar
- Date: Wed, 4 May 2016 23:47:26 +0000 (UTC)
commit b32298b7ecd3fd5d14859c58327b27ffbd30c43a
Author: Ed J <edj src gnome org>
Date: Thu Jan 8 19:19:18 2015 +0000
partial for progressbar
lib/Gimp/UI.pm | 1 +
lib/Gimp/UI.xs | 8 ++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/lib/Gimp/UI.pm b/lib/Gimp/UI.pm
index ed0e563..c160bcf 100644
--- a/lib/Gimp/UI.pm
+++ b/lib/Gimp/UI.pm
@@ -711,6 +711,7 @@ sub interact {
$mainloop->run;
die $exception_text if $exception_text;
my @input_vals = map {&$_} @getvals if $res;
+ Gimp::on_proc(sub { warn "proc(@_)" });
my @return_vals = $code->(@$silent_vals, @input_vals) if $res and $code;
$w->destroy;
return (0, \ input_vals, []) unless $res;
diff --git a/lib/Gimp/UI.xs b/lib/Gimp/UI.xs
index 3d770aa..44cdb47 100644
--- a/lib/Gimp/UI.xs
+++ b/lib/Gimp/UI.xs
@@ -443,6 +443,14 @@ BOOT:
#void gimp_pixmap_set (GimpPixmap *pixmap,
# gchar **xpm_data);
+MODULE = Gimp::UI PACKAGE = Gimp::UI::ProgressBar PREFIX = gimp_progress_bar_
+
+BOOT:
+ gperl_register_object (GIMP_TYPE_PROGRESS_BAR, "Gimp::UI::ProgressBar");
+
+GtkWidget * gimp_progress_bar_new (SV *unused_class)
+ C_ARGS:
+
MODULE = Gimp::UI PACKAGE = Gimp::UI::SizeEntry PREFIX = gimp_size_entry_
BOOT:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]