gtkbuilder and spinbutton

2009-09-03 Thread ROBERTO FORTUNATO
I use Glade 3 to create my interface. I have a problem with gtkspinbutton and gtkbuilder: gtkspinbutton accepts step_increment, page_increment, lower, upper but not the default value. Here an example of glade file: object class=GtkAdjustment id=adjustment220 property

Re: How to do a graphic overlay?

2009-09-03 Thread John Stebbins
Only certain widgets have their own GdkWindow. GtkDrawingArea, GtkWindow and GtkEventBox do. Pretty much all others don't. I don't know whether goocanvas does or not. But if it doesn't, then you would have really been drawing on one of it's ancestors GdkWindow. According to the GooCanvas

Re: [patch] constify g_simple_async_result_set_from_error

2009-09-03 Thread Michael Natterer
On Wed, 2009-09-02 at 14:53 -0400, Morten Welinder wrote: With this change, it won't break (or add warnings) to any program. It just removes a warning for programs that do not do the explicit cast, and get given a const GError. Really? Take the program below and notice that the

Re: Status of GTK+ on Mac OS X?

2009-09-03 Thread John Pye
Hi Paul Paul Davis wrote: On Wed, Sep 2, 2009 at 2:11 AM, John Pyej...@curioussymbols.com wrote: As I understand it, using jhbuild will allow me to conveniently switch between release tarballs and svn HEAD. It's also ensuring that dependencies are built in correct order, so I'm pretty

Re: Status of GTK+ on Mac OS X?

2009-09-03 Thread John Pye
John Pye wrote: Tor Lillqvist wrote: Is there a buildbot somewhere running continuous integration testing of GTK+ with the Mac platform? What about other platforms? Is that something that the community is lacking in order to progress this stuff? Depends on what you mean with

Re: Status of GTK+ on Mac OS X?

2009-09-03 Thread Tor Lillqvist
Does GTK on Windows currently build entirely with MinGW, Yes it does. It is much easier to cross-compile it from Linux than to set up a working build environment on Windows natively, though. (Although, once you have such an environment, it does work more or less as well as on Unix.) So I would

Re: Status of GTK+ on Mac OS X?

2009-09-03 Thread Tor Lillqvist
Can you point me at a particular project on OBS? The repository http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_10.3/ for 32-bit binaries, and http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_10.3/ for 64-bit ones. The Windows binaries are in

Gtk:ERROR

2009-09-03 Thread Luis Javier Peris
Hello guys, I'm writing here because I don't know where tell this issue. I'm writing an app using pygtk and after calling the run method of a gtk.Dialog, I get the following error: Gtk:ERROR:/build/buildd/gtk+2.0-2.16.1/gtk/gtkcontainer.c:2717:IA__gtk_container_propagate_expose: assertion

Re: GTK:ERROR

2009-09-03 Thread Douwe Vos
A copy of the original function gtk_dialog_new_empty shows us that it calls internally function gtk_window_set_transient_for (GTK_WINDOW (dialog), parent); where parent is of the type GtkWindow or you could call : GtkWidget* gtk_dialog_new_with_buttons (const gchar *title, GtkWindow

Build success on Mac OS X 10.6 (Snow Leopard)

2009-09-03 Thread Abdulaziz Ghuloum
Greetings, I would like to share the build instructions for GTK+ (as a 32-bit system) on Snow Leopard. I managed as far as compiling gimp and getting it to run, open a new image, scribble on it, and save the file (it can probably do more). The steps are as listed in

asking jhbuild to rebuild python [Was: Build success on Mac OS X 10.6 (Snow Leopard)]

2009-09-03 Thread Abdulaziz Ghuloum
On Sep 4, 2009, at 1:34 AM, Abdulaziz Ghuloum wrote: $ CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 jhbuild bootstrap --ignore-system Hmmm. I thought --ignore-system makes jhbuild rebuild its own python (instead of using the system-supplied one), but apparently not. I tried $

Future GTK+ projects and 1.18 new features page

2009-09-03 Thread Javier Jardón
Hello, I've recollected some info about future GTK+ features that people is now developing. I'd like to share this info, maybe It's useful for someone: [1] (I can move it to [2] if you want) Also, I think that would be great create a page with the new features of the future 2.18 GTK+ version.