02-27-2015
The ideal course of action is to fix the memory problems in your application. Sounds like these memory problems may relate to the change of programming models from ILP32 (32-bit Linux) to LP64 (64-bit Linux) rather than issues due to moving from GTL2.2 to GTK2.4
Do an Internet search. There are many good guides to porting 32-bit applications to 64-bit platforms.
Alternatively, you could continue to build your application as a 32-bit application and install all the necessary 32-bit shared libraries on your clients system.
This User Gave Thanks to fpmurphy For This Post:
8 More Discussions You Might Find Interesting
1. Linux
I need to have the ability to read acrobat files on my Red hat linux boxes (enterprise level 3) . however acroread will not install saying i do not have gtk2 (gimp toolkit). Does anyone know where i can either get gtk2 for this linux or where i can get an acrobat reader for this flavour of linux. (1 Reply)
Discussion started by: frankkahle
1 Replies
2. UNIX Desktop Questions & Answers
I write this code.
It show the first dialog correctly.
but, no matter i modify the code(load module by use or require, or something i think maybe error)
it can't pop-up anymore.
and show this warning.
Thanks.
(I'm sorry for my English.)
Tue Mar 16 17:24:36 2010
... (0 Replies)
Discussion started by: snyh
0 Replies
3. Programming
hi everybody,
currently i'm playing with perl and Gtk2.
i've found a fairly old but nice looking example of a client/server application which is written in perl and Gtk2.
the server part works perfect but i can't start the client part and keep getting following error message:
$ ./client-gui.pl... (1 Reply)
Discussion started by: pseudocoder
1 Replies
4. Red Hat
I will shortly be adding a fedora flavor to my devel box. I currently have XP (installed first on an ssd), ubuntu 10.04 (installed second on the first partition of a platter drive), and I want to add either Cent or SL on the second partition of the platter drive. I will probably also want to... (0 Replies)
Discussion started by: LMHmedchem
0 Replies
5. Shell Programming and Scripting
Hello All,
Wasn't sure if this was the correct thread to post this under but figured it has to do with Perl and Gtk2 so why not...
Anyway.. How can I find out what the Default font being used is inside a Gtk2::Widget. In this case I'm trying to figure out the
font being used inside a... (1 Reply)
Discussion started by: mrm5102
1 Replies
6. Shell Programming and Scripting
Hai
how to activate (script2)page of a note book in Gtk2-Perl when one script1 is run successfully...
Thanks
kiran (0 Replies)
Discussion started by: kiran425
0 Replies
7. Shell Programming and Scripting
Hai
how to activate (script2)page of a note book in Gtk2-Perl when one script1 is run successfully...
Thanks
kiran (1 Reply)
Discussion started by: kiran425
1 Replies
8. UNIX for Advanced & Expert Users
Hi all,
So, I have a 32 bit gtk2.22 application that I run flawlessly in Fedora 14.
When I compile it on the 32bit machine run it on Fedora 20 64bit machine I get:
(myprogram:6736): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(myprogram.:6736): Gtk-WARNING **:... (15 Replies)
Discussion started by: fedora18
15 Replies
Gtk3(3pm) User Contributed Perl Documentation Gtk3(3pm)
NAME
Gtk3 - Perl interface to the 3.x series of the gtk+ toolkit
SYNOPSIS
use Gtk3 -init;
my $window = Gtk3::Window->new ('toplevel');
my $button = Gtk3::Button->new ('Quit');
$button->signal_connect (clicked => sub { Gtk3::main_quit });
$window->add ($button);
$window->show_all;
Gtk3::main;
ABSTRACT
Perl bindings to the 3.x series of the gtk+ toolkit. This module allows you to write graphical user interfaces in a Perlish and object-
oriented way, freeing you from the casting and memory management in C, yet remaining very close in spirit to original API.
DESCRIPTION
The Gtk3 module allows a Perl developer to use the gtk+ graphical user interface library. Find out more about gtk+ at
<http://www.gtk.org>.
The gtk+ reference manual is also a handy companion when writing Gtk3 programs in Perl: <http://developer.gnome.org/gtk3/stable/>. The
Perl bindings follow the C API very closely, and the C reference documentation should be considered the canonical source.
To discuss Gtk3 and ask questions join gtk-perl-list@gnome.org at http://mail.gnome.org/mailman/listinfo/gtk-perl-list
<http://mail.gnome.org/mailman/listinfo/gtk-perl-list>.
Also have a look at the gtk2-perl website and sourceforge project page, http://gtk2-perl.sourceforge.net
<http://gtk2-perl.sourceforge.net>.
Porting from Gtk2 to Gtk3
The majority of the API has not changed, so as a first approximation you can run "s/Gtk2/Gtk3/" on your application. A big exception to
this rule is APIs that were deprecated in gtk+ 2.x -- these were all removed from gtk+ 3.0 and thus from Gtk3. The migration guide at
<http://developer.gnome.org/gtk3/stable/migrating.html> describes what to use instead. Apart from this, here is a list of some other
incompatible differences between Gtk2 and Gtk3:
o The call syntax for class-static methods is now always "Gtk3::Stock::lookup" instead of "Gtk3::Stock->lookup".
o The %Gtk2::Gdk::Keysyms hash is gone; instead of "Gtk2::Gdk::Keysyms{XYZ}", use "Gtk3::Gdk::KEY_XYZ".
o The Gtk2::Pango compatibility wrapper was not carried over; simply use the namespace "Pango" everywhere. It gets set up automatically
when loading Gtk3.
o The Gtk3::Menu menu position callback passed to popup() does not receive x and y parameters anymore.
Note also that Gtk3::CHECK_VERSION will always fail when passed 2.y.z, so if you have any existing version checks in your code, you will
most likely need to remove them.
SEE ALSO
Glib
Glib::Object::Introspection
AUTHORS
Torsten Schoenfeld <kaffeetisch@gmx.de>
COPYRIGHT AND LICENSE
Copyright (C) 2011-2012 by Torsten Schoenfeld <kaffeetisch@gmx.de>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
perl v5.14.2 2012-06-23 Gtk3(3pm)