gtk Plugin

2006-11-30 Thread sunzysjzri
hi, how to wirte a panel plugin applicaiton with libgtk+2.6? many thanks sun zhiyong 2006-11-30 [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Handling picking with Gtk

2006-11-30 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Nov 29, 2006 at 03:31:03PM +0100, Yann Renard wrote: Hi people, I'm new to the list and have a question. I have used Gtk for a couple of weeks now in cooperation with glade (wonderfull tools !!). I have a small problem on custom widgets

Re: How to keep UTF-8 characters, but escape non-UTF-8 byte sequence to hex codes in ASCII

2006-11-30 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Nov 29, 2006 at 05:25:25PM -0800, Daniel Yek wrote: Hi, I am attempting to handle raw filenames (which may be encoded differently than the character set used by the filesystem) gracefully. [...] with a raw character outside of UTF-8

Re: How to keep UTF-8 characters, but escape non-UTF-8 byte sequence to hex codes in ASCII

2006-11-30 Thread Yeti
On Thu, Nov 30, 2006 at 11:54:51AM +, [EMAIL PROTECTED] wrote: On Wed, Nov 29, 2006 at 05:25:25PM -0800, Daniel Yek wrote: I am attempting to handle raw filenames (which may be encoded differently than the character set used by the filesystem) gracefully. [...] with a raw character

Re: Application crash

2006-11-30 Thread Ishii Satoshi
My application crashes after working for about a month. It works fine for the time being. The core shows gtk part only except main. gtk version is 2,4. Does anyone know how I can debug this kind of case? If you mean the app was running for a month continuously and then crashed, not

Re: Warnings/Errors during Threaded Execution

2006-11-30 Thread Brian J. Tarricone
(Please move this discussion over to gtk-app-devel-list. gtk-devel-list is for the development of gtk itself.) Christopher Bland wrote: Brian J. Tarricone wrote: Clicking the first button fires the 'clicked' event where I make the following calls: g_thread_init(NULL); gdk_threads_init();

Re: How to keep UTF-8 characters, but escape non-UTF-8 byte sequence to hex codes in ASCII

2006-11-30 Thread Daniel Yek
Hi, First, thanks for replying. I appreciate it. At 03:54 AM 11/30/2006, [EMAIL PROTECTED] wrote: On Wed, Nov 29, 2006 at 05:25:25PM -0800, Daniel Yek wrote: Hi, I am attempting to handle raw filenames (which may be encoded differently than the character set used by the filesystem)

Problem running GTK application on Monta Vista

2006-11-30 Thread Naveen Kumar
Hi All, I am able to run a Gtk application on X86 machine without any problem. and it runs stable. I cross compiled the same for Monta Vista Linux and Run. There is a part of application which collects the data from connected USB link. if i try running the USB part alone(without gtk), the

Re: Handling picking with Gtk

2006-11-30 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Nov 30, 2006 at 03:57:25PM +0100, Yann Renard wrote: [EMAIL PROTECTED] wrote: [1] http://freshmeat.net/projects/gtkcanvas/ [2] http://www.atai.org/gtk-canvas/ Regards -- tomás Dear Tomas, you perfectly

Re: Warnings/Errors during Threaded Execution

2006-11-30 Thread Christopher Bland
Brian J. Tarricone wrote: Clicking the first button fires the 'clicked' event where I make the following calls: g_thread_init(NULL); gdk_threads_init(); Looks like you didn't read the docs well enough then. Those two calls *must* come *before* your gtk_init() call. Then, as another

Re: Warnings/Errors during Threaded Execution

2006-11-30 Thread Brian J. Tarricone
(Please move this discussion over to gtk-app-devel-list. gtk-devel-list is for the development of gtk itself.) Christopher Bland wrote: Brian J. Tarricone wrote: Clicking the first button fires the 'clicked' event where I make the following calls: g_thread_init(NULL); gdk_threads_init();

Installing latest gtk+

2006-11-30 Thread Andrew Dunkin
I tried to install Adobe reader with following result; [EMAIL PROTECTED] user]$ rpm -ivh AdobeReader_enu-7.0.8-1.i386.rpm error: Failed dependencies: gtk2 = 2.4.0 is needed by AdobeReader_enu-7.0.8-1 I searched the available packages on my Mandrake 10 system. Packages containing gtk2 in their

[no subject]

2006-11-30 Thread FreeMindeR
How do I configure my compiler (Codeblocks, for example) to use GTK+ on Windows? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk cross compilation

2006-11-30 Thread Magnus Myrefors
gtk cross compilationHi, Make sure your PKG_CONFIG_PATH points to the directory which contains the pc-files. Can you really use the gcc command when you cross-compile ? To make sure that it is the cross-compiler that is used I suggest you use another name for it. When I compile I have

Re: Screenshot from another program

2006-11-30 Thread johleimer
Thanks John for your posting. That helped me a bit further. -- View this message in context: http://www.nabble.com/Screenshot-from-another-program-tf2711677.html#a7609618 Sent from the Gtk+ - General mailing list archive at Nabble.com. ___ gtk-list

Re: Private function

2006-11-30 Thread Eugene Zagidullin
On Thu, 30 Nov 2006 16:08:52 +0300 Andrew E. Makeev [EMAIL PROTECTED] wrote: AEM Is there reason why function: AEM AEM _gtk_tree_view_volumn_autosize( GtkTreeView *tree, Maybe just add it's declaration in any your .h file manually? -- Best regards, Eugene

Re: Private function

2006-11-30 Thread Yeti
On Thu, Nov 30, 2006 at 04:47:27PM +0300, Eugene Zagidullin wrote: On Thu, 30 Nov 2006 16:08:52 +0300 Andrew E. Makeev [EMAIL PROTECTED] wrote: AEM Is there reason why function: AEM AEM _gtk_tree_view_volumn_autosize( GtkTreeView *tree, Maybe just add it's declaration in any your .h

Re: Private function

2006-11-30 Thread Andrew E. Makeev
В Чтв, 30/11/2006 в 14:58 +0100, David Nečas (Yeti) пишет: On Thu, Nov 30, 2006 at 04:47:27PM +0300, Eugene Zagidullin wrote: On Thu, 30 Nov 2006 16:08:52 +0300 Andrew E. Makeev [EMAIL PROTECTED] wrote: AEM Is there reason why function: AEM AEM _gtk_tree_view_volumn_autosize(

Re: Private function

2006-11-30 Thread Yeti
On Thu, Nov 30, 2006 at 05:06:15PM +0300, Andrew E. Makeev wrote: right, '_' prefix makes function very private, and you can't use it anywhere outside library. You are perfectly right. info libtool and read the description of -export-symbols-regex carefully, then look at Gtk+ Makefiles...

RE: gtk cross compilation

2006-11-30 Thread Shyjumon N.
Hi Magnus Myrefors, Thanks for your support. actually what i can find is in my arm-linux cross compiler, is not having lib corresponding to gtk, it uses my gtk lib available for i386 archi. and that now creating an elf but not run in arm, only on i386. now my question is wheather i need to

Re: [pygtk] Overriding GObject methods in Python

2006-11-30 Thread John K Luebs
On Mon, Nov 27, 2006 at 05:08:28PM +0100, Hrvoje Nikšić wrote: On Sat, 2006-11-25 at 03:49 +0100, John K Luebs wrote: If it's only a prototype, then it is assumed that large portions of the system may need to be rearchitected. Note that I meant prototype in the working model sense, not in

Re: [pygtk] Overriding GObject methods in Python

2006-11-30 Thread Gustavo J. A. M. Carneiro
On Ter, 2006-11-28 at 10:01 +0100, Hrvoje Nikšić wrote: On Tue, 2006-11-28 at 04:57 +0100, John K Luebs wrote: The idea is to reuse GObject facilities where possible (e.g. types, inheritance, signals, GValues), and simply implement the appropriate vtable semantics overridable at

Re: [pygtk] Overriding GObject methods in Python

2006-11-30 Thread John K Luebs
On Tue, Nov 28, 2006 at 10:01:45AM +0100, Hrvoje Nikšić wrote: On Tue, 2006-11-28 at 04:57 +0100, John K Luebs wrote: The idea is to reuse GObject facilities where possible (e.g. types, inheritance, signals, GValues), and simply implement the appropriate vtable semantics overridable

RE: gtk cross compilation

2006-11-30 Thread Sergei Steshenko
--- Shyjumon N. [EMAIL PROTECTED] wrote: Hi Magnus Myrefors, Thanks for your support. actually what i can find is in my arm-linux cross compiler, is not having lib corresponding to gtk, it uses my gtk lib available for i386 archi. and that now creating an elf but not run in arm, only

Re: Private function

2006-11-30 Thread Andrew E. Makeev
В Чтв, 30/11/2006 в 15:22 +0100, David Nečas (Yeti) пишет: On Thu, Nov 30, 2006 at 05:06:15PM +0300, Andrew E. Makeev wrote: right, '_' prefix makes function very private, and you can't use it anywhere outside library. You are perfectly right. info libtool and read the

Re: Private function

2006-11-30 Thread Yeti
On Thu, Nov 30, 2006 at 06:38:27PM +0300, Andrew E. Makeev wrote: Btw, the purpose of question was not to determine why I couldn't call that private function using GTK library. I would to know if I could patch GTK code to make function public and use it in my code without having any

What is the maximum length of a g_slist?

2006-11-30 Thread Christ, Bryan
Since g_slist_length returns a guint, I assume the max is G_MAXUINT Is this correct? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk cross compilation

2006-11-30 Thread Magnus Myrefors
RE: gtk cross compilationI think you should download developer libraries for arm (if there is such libraries to download) and then set PKG_CONFIG_PATH to point to those libraries and then compile with the cross- compiler for arm. magnus m - Original Message - From: Shyjumon N.

Re: What is the maximum length of a g_slist?

2006-11-30 Thread John Cupitt
A gslist can be any length, but you're right, g_slist_length() will return an incorrect result over 4g items. You can't hit that limit on a 32-bit machine, but you could on a 64-bit. You'd need 2 pointers plus a data item (say 4 bytes for the data), so 20 bytes per entry. 20 * 2 ** 32 is about 80

RE: GtkPrintOperation and margins

2006-11-30 Thread Ian Puleston
I wrote: in its Win32 port ... I set the top and left margins to one inch ... but the text is printed with top and left margins that are about one and a quarter inches. OK, I tried this in Linux too now. Better, but not quite. I get exactly 1 inch margin on the left, but something like 3/4

Re: Installing latest gtk+

2006-11-30 Thread Michael L Torrie
On Tue, 2006-11-28 at 20:19 +1100, Andrew Dunkin wrote: I tried to install Adobe reader with following result; [EMAIL PROTECTED] user]$ rpm -ivh AdobeReader_enu-7.0.8-1.i386.rpm error: Failed dependencies: gtk2 = 2.4.0 is needed by AdobeReader_enu-7.0.8-1 I searched the available packages

Re: v2.10.6 configure unhappy on Redhat Enterprise Linux box

2006-11-30 Thread steve kirby
Hi, I have tried uninstalling cairo and pango and reinstalling both but gtk configure is still failing saying Pango not found. Pango built with Cairo support is required Can someone tell me where configure is looking for the pango files and which ones it expects there. That would

RE: GtkPrintOperation and margins

2006-11-30 Thread Ian Puleston
Another bug that I noticed whilst working on this is that I initially tried to work in pixels rather than inches, so I tried to extract the print margin size in pixels by: margin = gtk_page_setup_get_top_margin(pageSetup, GTK_UNIT_PIXEL); And with a 1 top margin this returned the value 72.

Re: v2.10.6 configure unhappy on Redhat Enterprise Linux box

2006-11-30 Thread Sergei Steshenko
--- steve kirby [EMAIL PROTECTED] wrote: Hi, I have tried uninstalling cairo and pango and reinstalling both but gtk configure is still failing saying Pango not found. Pango built with Cairo support is required Can someone tell me where configure is looking for the pango

RE: GtkPrintOperation and margins

2006-11-30 Thread Ian Puleston
Just in case anyone wants to crib that code to correct the GTK print margins in Windows, note that there was a typo in it as I posted it. The first PHYSICALOFFSETY should be PHYSICALOFFSETX. Sorry. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian

Problem running GTK application on Monta Vista

2006-11-30 Thread Naveen Kumar
Hi All, I am able to run a Gtk application on X86 machine without any problem. and it runs stable. I cross compiled the same for Monta Vista Linux and Run. There is a part of application which collects the data from connected USB link. if i try running the USB part alone(without gtk), the

Re: shaped windows

2006-11-30 Thread zentara
On Wed, 29 Nov 2006 15:32:54 -0600 Vulpes Velox [EMAIL PROTECTED] wrote: Any one know of a demo or the like for shaped windows under for perl Gtk2? Check out the thread starting at http://mail.gnome.org/archives/gtk-perl-list/2006-October/msg5.html zentara -- I'm not really a human, but I

Hook perl-gtk application into nautilus

2006-11-30 Thread Dieter Schicker
Hi, I wrote a small gtk-perl application that manipulates files and directories in a special way. Now I want to hook this application into nautilus in such a way that when the user right-clicks a file or a folder there is an entry in the context menu for this application. When the user clicks on

Re: Hook perl-gtk application into nautilus

2006-11-30 Thread Emmanuele Bassi
hi; On Thu, 2006-11-30 at 15:53 +0100, Dieter Schicker wrote: I already found information that tells me that there are 2 ways to extend nautilus: 1) with scripts, 2) with extensions. My preferred option would be the second one. There's no nautilus extension wrappers for Perl, so you'll have

Gnome2::Vte 0.08

2006-11-30 Thread Torsten Schoenfeld
Gnome2::Vte allows you to use the Virtual Terminal Emulation library (libvte for short) from Perl. The package is available from: http://sourceforge.net/project/showfiles.php?group_id=64773package_id=102456release_id=467782 Overview of changes in Gnome2::Vte 0.08

Win32 binaries

2006-11-30 Thread Daniel Kasak
Any word on some fresh Win32 binaries? I know I'm not the only person who has to rely on them ... and I know I'm not the only person incapable of producing them :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2

Re: shaped windows

2006-11-30 Thread Dirk vdw
Check out the chapter on Gtk2::Gdk in the study guide also: http://forgeftp.novell.com//gtk2-perl-study/documentation/html/c1917.html You can download the sources (including all the pics ext)here: http://forgeftp.novell.com//gtk2-perl-study/homepage/ On 11/29/06, Vulpes Velox [EMAIL