Designing a 'console' with GtkTextViewer

2009-03-07 Thread Dutta, Seemanta
Hi, I want to design a console based interface to my application. The console would enable the user to manually give commands to my application. Something akin to the python console that you get in RhythmBox. I am planning to use GtkTextViewer widget for this. My main requirement for the

Re: Designing a 'console' with GtkTextViewer

2009-03-07 Thread Emmanuel Rodriguez
Take a look at libvte it's the Gtk widget used by gnome-terminal. It can be embedded easily in any application. http://library.gnome.org/devel/vte/unstable/VteTerminal.html On Sat, Mar 7, 2009 at 3:50 PM, Dutta, Seemanta seema...@qualcomm.com wrote: Hi, I want to design a console based

Re: Rendering text with an outline

2009-03-07 Thread Dov Grobgeld
Note that it is not completely trivial to use pango_show_layout_line instead of pango_show_layout as they have different anchor points. pango_show_layout draws with the current point at the upper logical extent of the layout, and pango_show_layout_line draws with respect to the baseline of the

Re: Designing a 'console' with GtkTextViewer

2009-03-07 Thread Vivien Malerba
2009/3/7 Dutta, Seemanta seema...@qualcomm.com Hi, I want to design a console based interface to my application. The console would enable the user to manually give commands to my application. Something akin to the python console that you get in RhythmBox. I am planning to use GtkTextViewer

Re: clutter-gtk

2009-03-07 Thread Emmanuele Bassi
On Thu, 2009-03-05 at 13:59 +0200, Roei Azachi wrote: Has anyone tried to embed clutter-gtk into gtk application. I have the weirdest problem. the clutter stage is rendered in a separated window although I pack the clutter widget into the application gtk window. any idea? you should ask

Re: Support for graphs/charts in gtk?

2009-03-07 Thread Jörn Reder
zentara wrote: What are these advanced features we're looking for? animations and things? If I can toss one out... how about 3-d animations with text frame overlays. :-) A 3d drawing area/canvas. A canvas would be nice, for persistence of items. We could start writing TV commercial

Re: Re-sampling a 32 bit geotif

2009-03-07 Thread Jeffrey Ratcliffe
2009/3/7 Jamie Lahowetz deadpic...@gmail.com: I am trying to display a geotif using Gtk2::Gdk::Pixbuf but the geotif is 32 bits and only a 24 bit image can be read in. I want to know if there is a way to resample the geotif so that it can be loaded into my Perl program. I imagine Imagemagick

Re: Support for graphs/charts in gtk?

2009-03-07 Thread zentara
On Sat, 7 Mar 2009 09:48:20 +0100 Jörn Reder jo...@zyn.de wrote: zentara wrote: What are these advanced features we're looking for? animations and things? If I can toss one out... how about 3-d animations with text frame overlays. :-) A 3d drawing area/canvas. A canvas would be nice,

Re: Support for graphs/charts in gtk?

2009-03-07 Thread zentara
On Sat, 7 Mar 2009 11:42:38 +1300 Srdan Dukic srdan.du...@gmail.com wrote: 2009/3/7 Paul Miller listm...@voltar-confed.org What are these advanced features we're looking for? animations and things? The advanced features are things like being able to create 'clickable' areas, such as if a

Re: Re-sampling a 32 bit geotif

2009-03-07 Thread Jamie Lahowetz
I tried to make a test script but it crashes when trying to read the geotif. Any ideas? #!/usr/local/bin/perl -w use strict; use Image::Magick; my($image, $x); $image = Image::Magick-new; $x = $image-Read('NED_52181266.tif'); warn $x if $x; my ($width, $height) = $image-Get('columns', 'rows');