Re: Notes from building Gtk2-Perl using MinGW/dmake (long)

2009-06-09 Thread Ari Jolma
Brian Manning kirjoitti: On Tue, Jun 9, 2009 at 12:34 PM, Ari Jolma wrote: Spicy Jack, This was a long time ago already. Did you get any reply or feedback? The latest (May 30 2009) EU::MM still has this problem in MinGW. I used a patch that you created for EU::Liblist::Kid to work

Re: Notes from building Gtk2-Perl using MinGW/dmake (long)

2009-06-09 Thread Ari Jolma
EU::MM's RT queue: <http://rt.cpan.org/Dist/Display.html?Queue=ExtUtils-MakeMaker>. There are already many open tickets about this and similar issues. An entry point is <http://rt.cpan.org/Ticket/Display.html?id=21430>. -- Prof. Ari Jolma Environmental Management Informatio

Glib 64bit test failing in MinGW

2009-06-08 Thread Ari Jolma
I believe if it is used, gcc correctly sets __MSVCRT__ Regards, Ari -- Prof. Ari Jolma Environmental Management Information Technology Teknillinen Korkeakoulu / Helsinki University of Technology tel: +358 9 4511 address: POBox 5300, 02015 TKK, Finland Email: ari.jolma at tkk.fi URL

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-09-10 Thread Ari Jolma
PL 3. Now the patch for ExtUtils/Depends.pm - that's attached 4. Gtk2 installs without problems - at least in my test just now with everything freshly built. These same steps dlltool --input-def Gtk2.def --dllname Gtk2.dll --output-lib Gtk2.dll.a copy Gtk2.dll.a blib/arch/auto/Gtk2 need to b

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-08-18 Thread Ari Jolma
Torsten Schoenfeld kirjoitti: Ari Jolma wrote: My approach works but all this feels as a mixture between MS compilers and cygwin, I'm not sure what should be fixed - at least I'd like to change Glib et al Makefile.PL's so that I didn't need to hand-edit Makefile.

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-08-10 Thread Ari Jolma
find_extra_libs does not find my Glib.dll.a I have to add them by hand to Makefile too (see the wiki page, it says "sometimes" though). My approach works but all this feels as a mixture between MS compilers and cygwin, I'm not sure what should be fixed - at least I'

.dll.a, .lib and ExtUtils whines

2008-05-19 Thread Ari Jolma
Why is it that ExtUtils::Depends::find_extra_libs seems to assume that import libraries have .lib extension if the OS is MSWin32 and .dll.a when it is cygwin? I'm using GTK binaries from http://ftp.gnome.org/pub/GNOME/binaries/win32 and MinGW and thus the import libraries have .dll.a extension

Re: Rendering SVG on Cairo

2008-04-16 Thread Ari Jolma
Torsten Schoenfeld kirjoitti: > On Wed, 2008-04-16 at 08:30 +0300, Ari Jolma wrote: > > >> Is anyone aware of SVG to Cairo rendering code? > librsvg and thus Gnome2::Rsvg can do this. Great! I had overlooked librsvg since its latest release seems to be fr

Rendering SVG on Cairo

2008-04-15 Thread Ari Jolma
not a separate library. Ari -- Prof. Ari Jolma Geoinformatiikka / Geoinformatics Teknillinen Korkeakoulu / Helsinki University of Technology tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland Email: ari.jolma at tkk.fi URL: http://ww

Re: Camelbox, April Fool's Day edition available

2008-04-08 Thread Ari Jolma
eek or so once I get what's missing in > this release compiled and packaged. > > Thoughts/comments/flames welcome. > > Thanks, > > Brian > _______ > gtk-perl-list mailing list > gtk-perl-list@gnome.org > http://mail.gnome.org/mail

Re: Installing Gtk2 based applications on Windows

2008-03-06 Thread Ari Jolma
, Glade, Perl, and a bunch of modules became in my case ~37MB. However, it contains a lot of pods, htmls, unused modules etc. so it could probably be stripped down quite a bit. Ari -- Prof. Ari Jolma Geoinformatiikka / Geoinformatics Teknillinen Korkeakoulu / Helsinki University of Technology

Building with MinGW

2008-02-14 Thread Ari Jolma
Hi, I updated to perl 5.10.0 without problems (only one test fails) and went through compiling and installing Glib, Gtk2, and Cairo. I've reported about these things before, but let's look at it again a bit. I'd love to get these modules installed with cpan as many modules do even in MinGW. I'm us

Re: New Perl/GTK for Windows build: announcing Camelbox

2007-11-24 Thread Ari Jolma
spicy jack kirjoitti: > On 11/23/07, Ari Jolma <[EMAIL PROTECTED]> wrote: > >> I ask because in my MinGW builds I've had to disable threads. >> > > You had to disable threads because something wouldn't compile or > something wouldn't run? &g

Re: New Perl/GTK for Windows build: announcing Camelbox

2007-11-23 Thread Ari Jolma
spicy jack kirjoitti: > Please let me know if you have any questions. > This is the MinGW build? Do you build a threaded Perl? I ask because in my MinGW builds I've had to disable threads. Cheers, Ari ___ gtk-perl-list mailing list gtk-perl-list@

Re: Problem building Gtk2 using MinGW/dmake on Windows XP

2007-11-04 Thread Ari Jolma
: http://geoinformatics.tkk.fi/twiki/bin/view/Main/InstallingWithMinGW Ari > Thanks, > > Brian > ___ > gtk-perl-list mailing list > gtk-perl-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-perl-list > --

Re: Emitting a signal leads to a failed assertion

2007-11-04 Thread Ari Jolma
muppet kirjoitti: >> How do I then react to the user scrolling? >> > > By connecting to the value-changed signals on the vertical and > horizontal adjustments. In your example you create the ScrolledWindow with two adjustments. In my case I want to manage the adjustments (and the image

Re: Emitting a signal leads to a failed assertion

2007-11-03 Thread Ari Jolma
muppet kirjoitti: > > On Nov 2, 2007, at 9:37 AM, Ari Jolma wrote: > >> GLib-GObject-CRITICAL **: g_object_notify: assertion `G_IS_OBJECT >> (object)' failed >> > > (gdb) run myscript --g-fatal-warnings otherargs... > (gdb) backtrace sadly, the res

Emitting a signal leads to a failed assertion

2007-11-02 Thread Ari Jolma
*: g_object_notify: assertion `G_IS_OBJECT (object)' failed return 1; } Best regards, Ari -- Prof. Ari Jolma Geoinformaatio- ja paikannustekniikka / Geoinformation and positioning Teknillinen Korkeakoulu / Helsinki University of Technology tel: +358 9 451 3886 a

Re: Non-ascii characters break Cairo's show_text

2007-07-01 Thread Ari Jolma
Torsten Schoenfeld kirjoitti: >> You can use pango_layout_get_pixel_size() to avoid the divisions. Even simpler. Now that I've got Cairo working, I'll should soon be able to release a version of Gtk2::Ex::Geo, which is (almost) pure Perl. It will define a framework for geospatial data viewers (

Re: Non-ascii characters break Cairo's show_text

2007-06-28 Thread Ari Jolma
muppet kirjoitti: > You shouldn't need to parse anything. gtk_font_selection_get_font_name() > creates its result by calling pango_font_description_to_string(), so on your > end it should be as simple as > > $font_name = $font_selection->get_font_name (); > $font_desc = Gtk2::Pango::FontDescri

Re: Non-ascii characters break Cairo's show_text

2007-06-28 Thread Ari Jolma
TW, I find parsing what it returns in get_font_name difficult. Cheers, Ari -- Prof. Ari Jolma Geoinformaatio- ja paikannustekniikka / Geoinformation and positioning Teknillinen Korkeakoulu / Helsinki University of Technology tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland Email: ari.jolma at

Non-ascii characters break Cairo's show_text

2007-06-27 Thread Ari Jolma
ws"); print STDERR "2\n"; $cr->move_to(200, 200); print STDERR "3\n"; $cr->show_text("but this not åäöÅÄÖ"); print STDERR "4\n"; $cr->move_to(300, 300); print STDERR "5\n"; $cr->show_text("neither this"); print STDERR &quo

Re: The Always on top issue

2007-04-30 Thread Ari Jolma
muppet wrote: > > It works on X11. No idea about windows; if anything, it's probably a > windows-gtk+ issue, not a perl bindings one. ok, this is the reply for those not on gtk-list: Tor Lillqvist kirjoitti: > Ari Jolma writes: > > I have a piece of code (Perl but that

Re: show_glyphs doesn't work well

2007-04-30 Thread Ari Jolma
[EMAIL PROTECTED] kirjoitti: > t/Cairo...ok 1/68Free to wrong pool 285ca8 not 80184 at I used to get these errors in MinGW, but then I built my Perl without threads (comment away USE_MULTI, USE_ITHREADS, and USE_IMP_SYS) and the problem is gone. The other possibility was to change all ca

Re: Problems with signals and object destruction

2007-04-28 Thread Ari Jolma
Joe Smith kirjoitti: > muppet wrote: > >> ... >> The situations you want to watch out for are: >> >> - Any form of circular reference. Avoid keeping references to yourself. >> - Take care with closures, and they can hide references to objects >> and create reference cycles. >> - NEVER overrid

Re: Building on Windows with MSVC

2007-04-23 Thread Ari Jolma
in cmd.exe. Do they use another shell or what? Regards, Ari > > -- > It's all very complicated and would take a scientist to explain it. >-- MST3K > > > ___ > gtk-perl-list mailing list > gtk-perl-list@gnome.org &g

Building on Windows with MSVC

2007-04-22 Thread Ari Jolma
#x27;print "hello world\n"' does not work. Since the Makefile uses a lot of these one liners, my "make install" fails. I wonder why http://gtk2-perl.sourceforge.net/win32/howto_build_gtk2perl_win32.html does not mention this. Am I missing something? Reg

Re: The Always on top issue

2007-04-12 Thread Ari Jolma
n't exist. >-- Simon Cozens > > > _______ > gtk-perl-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/gtk-perl-list > -- Prof. Ari Jolma Geoinformaatio- ja paikannustekniikka Geoinformation an

Re: Problem with global destruction

2007-03-29 Thread Ari Jolma
I'm getting back to this issue, since I finally got a good gdb backtrace and Glib NOISY log from the bug(?): Below are three logs, the first and third are from gdb, they show that the SegFault may happen at least in g_signal_emit_valist () and g_signal_has_handler_pending (). The 2nd log shows

Re: Problem with global destruction

2007-03-19 Thread Ari Jolma
Ari Jolma kirjoitti: > hmm, I updated to the latest (2.12.11) libgobject-2.0.0.dll from > ftp://ftp.gtk.org/pub/glib/2.10 (I was using 2.10.7(?) which is > available from http://gladewin32.sourceforge.net/modules/news/) > > and the problem disappeared... > This was only

Re: Problem with global destruction

2007-03-19 Thread Ari Jolma
hmm, I updated to the latest (2.12.11) libgobject-2.0.0.dll from ftp://ftp.gtk.org/pub/glib/2.10 (I was using 2.10.7(?) which is available from http://gladewin32.sourceforge.net/modules/news/) and the problem disappeared... Ari muppet kirjoitti: > Ari Jolma wrote: > >> I trie

Re: Problem with global destruction

2007-03-19 Thread Ari Jolma
muppet kirjoitti: > Ari Jolma wrote: > >> I tried commenting out every line of code which has something to do with >> signals and it turns out that if I connect the size_allocate signal to a >> function (this is in sub INIT_INSTANCE of the subclass of >> Gtk2

Re: Problem with global destruction

2007-03-19 Thread Ari Jolma
tion->values; @{$self->{viewport_size}} = @v[2..3]; $self->render() if $v[2] != $old_v[0] or $v[3] != $old_v[1]; return 0; } Ari -- Prof. Ari Jolma Geoinformaatio- ja paikannustekniikka Geoinformation and positioning technology Teknillinen Korkeakoulu / Helsinki Univ

Re: Problem with global destruction

2007-03-19 Thread Ari Jolma
y if an object of that class is created and used. I've defined two new signal types for the object. Ari > > Greetings, > Mario > ___ > gtk-perl-list mailing list > gtk-perl-list@gnome.org > http://mail.gnome.org/mail

Re: Problem with global destruction

2007-03-18 Thread Ari Jolma
situation? Ari Jolma kirjoitti: > I have an application, which uses Gtk2 and other modules, which use > linked libraries. In Windows (not in Linux, but I'm not sure if that > means anything) I have a problem in global desctruction. If I close the > app without doing anything ev

Problem with global destruction

2007-03-18 Thread Ari Jolma
problem does not appear if I run the app with -DD. I'm running out of things to try. Does anybody here have any tips or ideas? Ari -- Prof. Ari Jolma Geoinformaatio- ja paikannustekniikka Geoinformation and positioning technology Teknillinen Korkeakoulu / Helsinki University of Techno

Colormaps in pixbufs which are in treeview

2007-02-08 Thread Ari Jolma
to do that? Best regards, Ari -- Prof. Ari Jolma Geoinformaatio- ja paikannustekniikka Geoinformation and positioning technology Teknillinen Korkeakoulu / Helsinki University of Technology POBox 1200, 02015 TKK, Finland Email: ari.jolma at tkk.fi URL

Re: Linking problem when compiling under MinGW

2006-10-13 Thread Ari Jolma
equire at blib\lib/Glib/GenPod.pm line 217. > dmake.exe: Error code 9, while making 'build/podindex' > > I've got ActivePerl 5.8.8.819. My Perl is compiled with MinGW (that was easy) and the same dmake.exe (and C compiler) that I use for the modules. I'm not sur

Re: Strange problem with image and event box in Windows

2006-10-08 Thread Ari Jolma
The set_size_request is an easy method. I tried to explicitly set the adjustments with Gtk2::ScrolledWindow->set_hadjustment and set_vadjustment but could not get them working. Ari -- Prof. Ari Jolma Geoinformaatio- ja paikannustekniikka Geoinformation and positioning technology Teknilline

Re: Linking problem when compiling under MinGW

2006-10-08 Thread Ari Jolma
Torsten Schoenfeld kirjoitti: > On Wed, 2006-10-04 at 17:36 +0300, Ari Jolma wrote: > >> I'm building Gtk2 under MinGW. >> > needed. There's a hack for Win32 at the end of Gtk2's Makefile.PL, > maybe it can be adapted for MinGW. > I

Strange problem with image and event box in Windows

2006-10-06 Thread Ari Jolma
r how to debug? Ari -- Prof. Ari Jolma Geoinformaatio- ja paikannustekniikka Geoinformation and positioning technology Teknillinen Korkeakoulu / Helsinki University of Technology POBox 1200, 02015 TKK, Finland Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma ___

Linking problem when compiling under MinGW

2006-10-04 Thread Ari Jolma
he link command does not seem to help, g++ does not seem to see Cairo.dll. Any help would be appreciated. My perl is also compiled under MinGW with dmake. Ari -- Prof. Ari Jolma Geoinformaatio- ja paikannustekniikka / Geoinformation and positioning Teknillinen Korkeakoulu / Helsinki Universi

Decimal symbol in dialogs

2006-08-17 Thread Ari Jolma
Hello, I just found out this. I'm using GtkEntry for numbers. This is in Windows and my Regional options says Decimal symbol is comma. When set_text gets a number, the regional settings are honoured, but when the same value is retrieved with get_text, the comma comes back and the string is not

Re: [OT] Perl question

2006-06-29 Thread Ari Jolma
David kirjoitti: > On Thu, Jun 29, 2006 at 12:13:12PM +0300, Ari Jolma wrote: > >> I guess my .packlist or what it is is probably very long now, since I >> tend to install for tests. I never uninstall anything and I've had no >> problems or almost never had

Re: [OT] Perl question

2006-06-29 Thread Ari Jolma
directories. Ari > > These may be some unnecessary questions, but thought I'd ask before > jumping in and perhaps messing things up badly. > ___ > gtk-perl-list mailing list > gtk-perl-list@gnome.org > http://mail.gnome.org/

Exceptions while running a dialog box

2006-06-07 Thread Ari Jolma
the program is closed. What would be the best solution for this kind of case? All I can think is to get rid of or avoid croaks. Regards, Ari -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Teknillinen Korkeakoulu / Helsinki University of Technology POBox

Re: MinGW build

2006-06-03 Thread Ari Jolma
test code, it even does not finish, but at least simple dialog boxes and windows (like my simple geodata viewer) work. Cheers, Ari -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Teknillinen Korkeakoulu / Helsinki University of Technology POBox 1200, 02015

Re: MinGW build

2006-06-03 Thread Ari Jolma
Ari Jolma kirjoitti: Hi, I've been building things on MinGW. I saw earlier posts on compiling Gtk2 on MinGW, two problems were mentioned: too long lines and DynaLoader failing to load Gtk2.dll. I solved the too long lines problem simply by using xs/*.o instead of the long list. For th

MinGW build

2006-06-02 Thread Ari Jolma
ly have the name dll.exp.dll in their export table. They are also loaded in the run-time. A wild guess: maybe having to specify Glib.dll when Gtk2.dll is linked, leads to having to put Glib.dll in the path and maybe it is loaded somehow differently than usual Perl module dlls?? Ari -- Pr

Re: can we combile gtk2-perl with gtkmm in an application?

2006-03-26 Thread Ari Jolma
Mitchell Laks wrote: Medical images "slice" a patient into thousands of consecutive images. Images will typically be stored on local disk as well as streamed over the network to the workstation. They are then loaded in memory. It is not unusual to be looking at 2000-3000 images at a time, eac

Re: can we combile gtk2-perl with gtkmm in an application?

2006-03-26 Thread Ari Jolma
Mitchell Laks wrote: Hi, I am designing an open source application to display medical images (MRI and CT etc). Hi, I've been working on Gtk2::Ex::Geo modules, where a central functionality is to display geospatial data. I have read about the idea of splitting the functionality so that t

Re: treeview clearing

2006-03-21 Thread Ari Jolma
Szabó Géza wrote: Dear All, I have a very simple question for which you experts can answer me surely in a second, but I was not able to find the solution even after few hours googling. So I have a Treeview (and of cours e a treestore) and I just want to simply clear all the whole treeview. I

Re: Correct use of pixbuf, pixmap, and image?

2006-03-20 Thread Ari Jolma
Ari Jolma wrote: looking at process info, it seems that X is piling up memory, the code $self->{pixmap} = $self->{pixbuf}->render_pixmap_and_mask; $self->{image}->set_from_pixmap($self->{pixmap}); I've still seem to have a problem with this. I did a bit of

Re: Correct use of pixbuf, pixmap, and image?

2006-03-20 Thread Ari Jolma
muppet wrote: Ari Jolma wrote: looking at process info, it seems that X is piling up memory, the code $self->{pixmap} = $self->{pixbuf}->render_pixmap_and_mask; $self->{image}->set_from_pixmap($self->{pixmap}); I've still seem to have a problem wi

Re: GTK2, XML, perl

2006-03-16 Thread Ari Jolma
Ari Jolma wrote: muppet wrote: If dealing with the separate XML file is a problem, you can embed the XML in the perl file with very little effort. I've seen various people use a Makefile rule to concatenate the .glade file onto the .pm or .pl file before installation. This is a

Re: Correct use of pixbuf, pixmap, and image?

2006-03-16 Thread Ari Jolma
muppet wrote: Alternatively, use a single offscreen pixmap for the source buffer, and another for the annotate image; to "undraw" previous annotations, copy from the clean one. This avoids the whole re-render stage. This seems to remove the memory problem :) and if I understand correctly,

Re: Correct use of pixbuf, pixmap, and image?

2006-03-16 Thread Ari Jolma
muppet wrote: 1. create pixmap from the initial pixbuf and set the pixmap into the image 2. draw on the pixmap 3. hide the ScrolledWindow 4. show the ScrolledWindow Why the hide and show? ok, that _was_ unnecessary, but did not solve the problem Similarly, image data can be stored i

Re: GTK2, XML, perl

2006-03-16 Thread Ari Jolma
muppet wrote: If dealing with the separate XML file is a problem, you can embed the XML in the perl file with very little effort. I've seen various people use a Makefile rule to concatenate the .glade file onto the .pm or .pl file before installation. This is a very good idea (I've done

Correct use of pixbuf, pixmap, and image?

2006-03-14 Thread Ari Jolma
Hi, This is about the Gtk2::Ex::Geo modules, which are on CPAN. How the code works is, at least partly, explained also on http://map.hut.fi/PerlForGeoinformatics I've got a derivative (subclass in Perl sense) of Gtk2::Gdk::Pixbuf. I create it using gdk_pixbuf_new_from_data. The data is creat

How to add a glade file in a module?

2006-01-18 Thread Ari Jolma
I've made a module, which implements a dialog. The graphical design of this dialog is made with glade and is thus an glade XML file and used in the module with the help of Gtk2::GladeXML. Now I have a simple question. How do I package this to the module so that it is available at test time and at

How is this handled in gtk perl?

2005-09-15 Thread Ari Jolma
as fixed or dealt with? Do you have any recommendations/ideas? Of course the swig is an added complication and the need to support more languages that Perl. Ari -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Teknillinen Korkeakoulu / Helsinki University o

Data::TreeDumper::Renderer::GTK makes brother objects children

2005-09-13 Thread Ari Jolma
ogr_driver = blessed in 'ogr::Driver' [O13] |- ogr_layer = blessed in 'ogr::Layer' [O14] |- srs = blessed in 'osr::SpatialReference' [O15] |- type = HASH [S16] `- update = 0 [S17] -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Te

Exceptions into messageboxes?

2005-09-13 Thread Ari Jolma
lt I think. Does this question make sense? ;-) Ari -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Teknillinen Korkeakoulu / Helsinki University of Technology POBox 1200, 02015 TKK, Finland Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~

Re: Projects Using Gtk2-Perl

2005-08-14 Thread Ari Jolma
Ruben Vandamme kirjoitti: muppet wrote: Also done. Anybody else? =) Gtk2::GIS at http://libral.sourceforge.net/ ... a geograhic information system -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Teknillinen Korkeakoulu / Helsinki University of

Re: Different graphing options

2005-05-06 Thread Ari Jolma
has been good enough for me. Ari Zach ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Teknillinen Korkeakoulu / Helsinki University of Technolo

Re: find-as-u-type on a simple::list

2005-04-27 Thread Ari Jolma
mail.gnome.org/mailman/listinfo/gtk-perl-list -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Teknillinen Korkeakoulu / Helsinki University of Technology POBox 1200, 02015 TKK, Finland Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma

Re: passing arguments to the

2005-04-11 Thread Ari Jolma
muppet wrote: On Apr 11, 2005, at 8:11 PM, Gabor Szabo wrote: I was looking at the tutorial of Stephen Wilhelm and here http://personal.riverusers.com/~swilhelm/gtkperl-tutorial/ signalsandevents.html That is, of course, the tutorial for the old gtk+ 1.x Gtk-Perl. Does anybody know why this st

Re: Namespace request

2005-04-07 Thread Ari Jolma
Ross McFarland wrote: Florian Ragwitz said: Hello list, I recently wrote some perl [0]bindings for [1]libphat. They already work quite well, but I'm still not sure which namespace to use. I currently would prefer Gtk2::Phat to keep XS stuff in Gtk2:: and outside of Gtk2::Ex::, which I think of a

Re: new software Gtk2::GIS

2005-03-17 Thread Ari Jolma
Ross McFarland wrote: it's not really standard practice to have the example app as a module. I understand this, but what my ..App module actually does is that it takes a couple of widgets and makes them work together, it is left for the user (final app developer) to put or not to put these wid

Re: new software Gtk2::GIS

2005-03-17 Thread Ari Jolma
Sorry for replying to my own post Ari Jolma wrote: Would it be ok to call the RasterWindow module (which subclasses ScrolledWindow) Gtk2::Ex::RasterWindow? The problem is that it should also support (geographic) vector data, so maybe Gtk2::Ex::GIWindow? (GI = Geographic Information) Any

Re: new software Gtk2::GIS

2005-03-16 Thread Ari Jolma
Regards, Joern ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Teknillinen Korkeakoulu / Helsinki University of Techno

new software Gtk2::GIS

2005-03-16 Thread Ari Jolma
d Gtk2 are all cross-platform), is maybe not simple to build on a non-GNU environment. Ari Jolma ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

window updating

2005-03-14 Thread Ari Jolma
Hello, I'm working on an application, which has a GUI but I also want to have a text-based shell (the usual Perl while(<>){eval}). It is enough that the user is working on either the shell or the GUI, I don't want to use threads (probably). The idea is similar to opening a dialog box for the sh

Re: "changed" signal

2005-03-06 Thread Ari Jolma
muppet wrote: In my custom widget I have an image, which I make on the fly. I also can't seem to make the widget support flexible resizing of the window, this also works in ScrolledWindow. "flexible resizing"? I mean basically the widget is an image viewer. The use has to be able to zoom in -

Re: "changed" signal

2005-03-05 Thread Ari Jolma
muppet wrote: Indeed, because "changed" is one of Gtk2::Adjustment's signals, not a Gtk2::Scale's. Also, the "changed" signal means that the properties of the adjustment have changed -- e.g. the max value, the min yes, actually I'm trying to catch the "resize-window" event, i.e., when the us

"changed" signal

2005-03-05 Thread Ari Jolma
Hello, I have this kind of code: my $h = new_with_range Gtk2::HScale (0,10,1); $h->signal_connect("changed" => sub {print "changed\n" }); $h->signal_connect("value-changed" => sub {print"value changed\n"} ); this gives a warning: signal "changed" is invalid my $h = new_with_range Gtk2::HScale (0,10

Using the motion-notify-event

2005-03-03 Thread Ari Jolma
but I expected it to be the drag-begin drag-end events, which I did not yet get fired in any case. Ari -- Prof. Ari Jolma Kartografia ja Geoinformatiikka / Cartography and Geoinformatics Teknillinen Korkeakoulu / Helsinki University of Technology POBox 1200, 02015 TKK, Finland Email: ari.jolma at t