GTK+ 2.90.1 released

2010-05-25 Thread Matthias Clasen
GTK+ 2.90.1 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.90/ http://download.gnome.org/sources/gtk+/2.90/ sha256 sums: 42f1b65bbef46f261d708a14b29dbb95c73cbe832461b1f828427da317f2de10 gtk +-2.90.1.tar.bz2 06e4a23618b0d5626408202c3264ed6686a76f4f3575c547d96c50a7647ff644 gtk +-

Re: Grid Based Canvas

2010-05-25 Thread Asad Jibran Ahmed
Dov, Thanks for the info. I think that your GtkImageViewer might just be what I needed. I'll see where I can get with it. I hope I can contact you for help if I run into any problems, since you are the author of the widget. Again, thanks for the great info. Regards, Jibran On Tue, 2010-05-25 at

Re: Grid Based Canvas

2010-05-25 Thread Dov Grobgeld
Why don't you just draw a grid with lines on the canvas, and then whenever you "select" a square you create a canvas rectangle item and put it in the grid between the grid lines? When you unselect, you just destroy the canvas item. You will still need 2 items, which might still be too much...

Re: Grid Based Canvas

2010-05-25 Thread Asad Jibran Ahmed
On Mon, 2010-05-24 at 23:21 -0400, Liam R E Quin wrote: > On Tue, 2010-05-25 at 05:04 +0500, Asad Jibran Ahmed wrote: > > [...] > > > The canvas will have grids, much like a graph paper. Whenever > > the user clicks on one of the grid squares, that square will become > > selected and the selection

Re: Good view on windows

2010-05-25 Thread Michael Cronenworth
Adam Chrapkowski wrote: I have written a GTK+ based application and I need to redistribute it on Windows (I'm Ubuntu user). Beware if you are wishing to use native 64-bit binaries. The latest GTK+ for Win64 has a few issues (example: Windows theme doesn't work). Be sure to use 2.16.

Re: Good view on windows

2010-05-25 Thread Adam Chrapkowski
> "wimp" is the internal slightly silly name for the theme engine that > implements the ms-windows theme. So you just need to have a file > etc/gtk-2.0/gtkrc in your gtk+ installation with the single line: > > gtk-theme-name = "MS-Windows" > > If you want some better than default theme on Windows

Re: Good view on windows

2010-05-25 Thread Tor Lillqvist
> I have meant any theme which improve the visual effects. Could you give > me more information how to use 'wimp' or 'pixmap'? "wimp" is the internal slightly silly name for the theme engine that implements the ms-windows theme. So you just need to have a file etc/gtk-2.0/gtkrc in your gtk+ instal

Re: Good view on windows

2010-05-25 Thread Tim Corio
I distribute my application using Inno Setup to create an installation executable. That executable delivers the GTK libraries that the application needs. The application is compiled on a Windows machine. All GTK related code works fine in both Linux and Windows, but there are a few other areas (n

Re: Good view on windows

2010-05-25 Thread Adam Chrapkowski
On Tue, 2010-05-25 at 19:14 +0300, Tor Lillqvist wrote: (I don't know why you point out "redistributable", by definition GTK+ > is always "redistributable" as that is what its license requires.) Of course you are right. I meant runtime, my fault. When I have written the 'redistributable' I meant ab

Re: Good view on windows

2010-05-25 Thread Vincent Torri
On Tue, 25 May 2010, jcup...@gmail.com wrote: I'd add another bit of advice to Tor's excellent mail: cross-compile from linux with mingw. It really is much faster and simpler than compiling on Windows. You can use Wine to test your program. beware that wine can't be a solution to everything.

Re: Good view on windows

2010-05-25 Thread jcupitt
On 25 May 2010 16:20, Adam Chrapkowski wrote: > I have written a GTK+ based application and I need to redistribute it on > Windows (I'm Ubuntu user). I'd add another bit of advice to Tor's excellent mail: cross-compile from linux with mingw. It really is much faster and simpler than compiling on

Re: Good view on windows

2010-05-25 Thread Tor Lillqvist
> Is it possible to run the application on > Windows without installing GTK+ redistributable package? I guess yes. You guess wrong, I'd say. You should bundle the GTK+ runtime, and any other 3rd-party libraries needed, with your application. (As part of its installer ideally.) (I don't know why

Good view on windows

2010-05-25 Thread Adam Chrapkowski
Hi I have written a GTK+ based application and I need to redistribute it on Windows (I'm Ubuntu user). Is it possible to run the application on Windows without installing GTK+ redistributable package? I guess yes. And the second one. Is it possible to use GTK+ themes by the same way, without instal

Re: GTK development setup on windows?

2010-05-25 Thread Armin Burgmeier
Hi, You can use the GTK+ bundle from ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.20/ which contains all required files to build GTK+ applications in C. If you add it's bin/ directory to the PATH environment variable you can build applications the same way as on Unix using MSYS and pkg-conf

GtkProgressBar state update issue

2010-05-25 Thread Timofei Istomin
Hello, I'm developing an embedded application using GTK+ (2.16.6) on the DirectFB backend. I use the gtk_progress_bar_set_fraction() to set the progress value, but it doesn't affect the visible state of the widget until the touchscreen is tapped. Other GUI elements (buttons and text entries) are