convert an int variable into a gdouble

2006-09-29 Thread ferri_marllo
Hi everyone!! i'm building an application,and i need to convert an int variable into a gdouble to can use some plotting functions. I don't know how to do it!! can you help me?? thanks ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Scientific/instrumentation widgets library released

2006-09-29 Thread Alexandre
Hi everyone, I'm working in some widgets to scientific/instrumentation visualization, and now, I've relesed the version 0.2 of the library. You can view it in the link below: www.tesla.eletrica.ufpr.br/giw and the project's sourceforge page www.sourceforge.net/projects/giw The

Re: convert an int variable into a gdouble

2006-09-29 Thread John Cupitt
On 9/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i'm building an application,and i need to convert an int variable into a gdouble to can use some plotting functions. I don't know how to do it!! You can just cast: int i = 42; gdouble gd; gd = i; Unless I'm missing something?

Re: convert an int variable into a gdouble

2006-09-29 Thread Iago Rubio
On Fri, 2006-09-29 at 10:15 +0200, [EMAIL PROTECTED] wrote: Hi everyone!! i'm building an application,and i need to convert an int variable into a gdouble to can use some plotting functions. I don't know how to do it!! can you help me?? thanks From int to gdouble ??? gdouble d; int i =

Re: convert an int variable into a gdouble

2006-09-29 Thread Tor Lillqvist
Iago Rubio writes: A gdouble doubles in size an int Careful here, that depends on the machine. The original CRAY machines for instance had short, int, long, float and double all 64 bits in size, I think. --tml ___ gtk-app-devel-list mailing list

More widgets?

2006-09-29 Thread Juan Pablo
Im looking for some widgets like meters, thermometer, tachometers... I need it for show a numeric status in a coloured - quick to see way Are there any of them already been made? Saludos, Juan Pablo. -- Juan Pablo Daniel Borgna [EMAIL PROTECTED] Development Manager SHELLCODE, IT Solutions

Re: More widgets?

2006-09-29 Thread Allin Cottrell
On Fri, 29 Sep 2006, Juan Pablo wrote: Im looking for some widgets like meters, thermometer, tachometers... I need it for show a numeric status in a coloured - quick to see way Are there any of them already been made? www.tesla.eletrica.ufpr.br/giw Allin Cottrell

Re: Chinese Traditional appearance -- mixed weights?

2006-09-29 Thread Owen Taylor
On Fri, 2006-09-29 at 12:30 +0800, Greg Aumann wrote: Owen Taylor wrote: It's really hard to comment on versions of GTK+ and Pango that were released over 3 years ago (effectively more like 4, since 2.2.0 was released in Dec 2002, and 2.2.4 is just a bug-fix of that); I have trouble even

Re: Chinese Traditional appearance -- mixed weights?

2006-09-29 Thread Greg Aumann
Owen Taylor wrote: Do you think that Pango should do frequency analysis of incoming text to guess the particular Han-using language it is in (allowing for the possibility of multiple Han-using languages in a single Paragraph, also allowing for paragraphs that are too short to do any such

RE: gtk-list Digest, Vol 29, Issue 53

2006-09-29 Thread Shyjumon N.
Hi I am a new GTK+ user, I have a small problem if any one can help me I will be happy. How to link a url say something like www.google.com from my gtk program. The situation is like, I have created a small window and there is a button search. If we click the search button I need to open

Re: possible bug in 'configure' of gtk+-2.8.20

2006-09-29 Thread Sergei Steshenko
--- [EMAIL PROTECTED] wrote: On Thu, 28 Sep 2006 23:45:39 +0200, David =?iso-8859-2?B?TmXoYXMgKFlldGkp?= said: AFAIK it checks only whether -lXrender makes function XRenderQueryExtension available and does not check for any Xrender header file at all. Bad! Bad configure script! No

help with setting up GTK on Suse

2006-09-29 Thread Michael Cloran
Hello I have Suse Enterprise Desktop 10 running and have installed GTK under KDE. when I run my program it includes #include gtk/gtk.h which is in opt/..foo.../gtk-2.0/gtk now the problem is when I compile gcc -gtk1.c -o gtk1 'pkg-config -cflags -libs gtk-2.0' the first error is gtk/gtk.h no

Re: help with setting up GTK on Suse

2006-09-29 Thread Carlo Agrusti
Michael Cloran ha scritto lo scorso 29/09/2006 11:30: Hello I have Suse Enterprise Desktop 10 running and have installed GTK under KDE. when I run my program it includes #include gtk/gtk.h which is in opt/..foo.../gtk-2.0/gtk now the problem is when I compile gcc -gtk1.c -o gtk1

Re: Need clarification about gtk_widget_set_events()

2006-09-29 Thread Tristan Van Berkom
DC A wrote: Hello! Can anyone kindly clarify when to use gtk_widget_set_events() routine? I know every widget has some default events. But how can we be sure which events are automatically selected by widgets and we don't need to call the above mentioned routine? Thanks. You probably want

changing Gtk::ComboBoxText text color

2006-09-29 Thread tony_silva
I've created a class StatusComboBoxText, derived from Gtk::ComboBoxText, that is intended to change its base and text colors depending on the currently selected value. I can already change the base color in this manner (using Gtk::ComboBoxText::modify_base()) but not its text color (using

Re: possible bug in 'configure' of gtk+-2.8.20

2006-09-29 Thread Valdis . Kletnieks
On Fri, 29 Sep 2006 00:15:34 PDT, Sergei Steshenko said: --- [EMAIL PROTECTED] wrote: On Thu, 28 Sep 2006 23:45:39 +0200, David =?iso-8859-2?B?TmXoYXMgKFlld header files installed. For example on Fedora one would get ---^^ ^^ (See that?) 'rpm -e

Install GTK+ to use FireFox browser into RedHat7.2

2006-09-29 Thread [EMAIL PROTECTED]
I have problem to install Firefox and to use Eclipse IDE into RH72 I download GTK+2... but have problems with compile it Any tutorial step by step to solve my problem and to use Firefox,Eclipse IDE, and others apps into RH72 ... Att -- _ [EMAIL

Re: possible bug in 'configure' of gtk+-2.8.20

2006-09-29 Thread Sergei Steshenko
--- [EMAIL PROTECTED] wrote: On Fri, 29 Sep 2006 00:15:34 PDT, Sergei Steshenko said: --- [EMAIL PROTECTED] wrote: On Thu, 28 Sep 2006 23:45:39 +0200, David =?iso-8859-2?B?TmXoYXMgKFlld header files installed. For example on Fedora one would get

Re: Install GTK+ to use FireFox browser into RedHat7.2

2006-09-29 Thread Sergei Steshenko
--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have problem to install Firefox and to use Eclipse IDE into RH72 I download GTK+2... but have problems with compile it Any tutorial step by step to solve my problem and to use Firefox,Eclipse IDE, and others apps into RH72 ... Att --

Re: possible bug in 'configure' of gtk+-2.8.20

2006-09-29 Thread Yeti
On Fri, Sep 29, 2006 at 07:15:39AM -0700, Sergei Steshenko wrote: --- [EMAIL PROTECTED] wrote: On Fri, 29 Sep 2006 00:15:34 PDT, Sergei Steshenko said: --- [EMAIL PROTECTED] wrote: On Thu, 28 Sep 2006 23:45:39 +0200, David =?iso-8859-2?B?TmXoYXMgKFlld header files installed.

gtk-print

2006-09-29 Thread Tetim
Hi,Exists a gtk-print port for win32?On linux I have to use the CUPS?Thanks __Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ ___ gtk-list mailing list

Re: Fwd: How to autostart X11 from GTK application on Mac OS X

2006-09-29 Thread Derek Piper
I agree, that would indeed be a wonderful thing to have GTK apps be 'native' under OS X. I'll be sure to try that out when it's available. Calvin, your info was great by the way and the Gimp.app approach works wonderfully. I had a bit of 'teething troubles' trying to get things

Problem in underline accelerator gtk1.2

2006-09-29 Thread DC A
I'm trying to implement underline and shortcut accelerator on a gtk1.2 application. After compilation shortcut accelerator works fine but when i run the program and press 'F' for _File, the pulldown menu for File doesn't come up. I can see the underline beneath the letter 'F' though. Can

Re: Need clarification about gtk_widget_set_events()

2006-09-29 Thread DC A
DC A wrote: Hello! Can anyone kindly clarify when to use gtk_widget_set_events() routine? I know every widget has some default events. But how can we be sure which events are automatically selected by widgets and we don't need to call the above mentioned routine? Thanks. You probably

Re: Problems with mup::cellrendererpopup

2006-09-29 Thread muppet
On Sep 29, 2006, at 1:21 PM, Fluff wrote: I found muppets code somewhere for a cell renderer test, so I've been trying to put it into my own application, and as of yesterday everything was fine... But since I need Win32::OLE in my app, I needed to upgrade perl to 5.8.8 (from 5.8.6) to