Re: widget destroyed: need to disconnect handlers?

2009-03-10 Thread Ardhan Madras
The signal is automatically removed when the widget destroyed. So you don't have to call g_signal_handler*() manually. --- ajhwb --- fka...@googlemail.com wrote: From: fka...@googlemail.com fka...@googlemail.com To: gtk-app-devel-list@gnome.org Subject: widget destroyed: need to disconnect

Re: OpenGL(FreeGlut?) within GTK?

2009-03-10 Thread Yu Feng
Hi Larry, Martin and Jon, On Fri, 2009-03-06 at 19:11 +, Jon Harrop wrote: On Friday 06 March 2009 16:31:05 Feng Yu wrote: Dear list, What is the usual way of using opengl to display 3d models within a GTK application? I tried to search for GtkGlArea and GtkGlExt on the net. They

Re: How to make a simple beep?

2009-03-10 Thread Ardhan Madras
Maybe here is not right place to ask such question. Basically, you will need to open /dev/console, call ioctl to the device with KIOCSOUND request (see linux/kd.h) and a integer that describes the freq. Use delay (usleep, nanosleep, etc.), then use 0 as freq to stop the beep. --- ajhwb ---

Re: How to make a simple beep?

2009-03-10 Thread zz
On Tuesday 10 March 2009 07:35:35 Ardhan Madras wrote: Maybe here is not right place to ask such question. Basically, you will need to open /dev/console, call ioctl to the device with KIOCSOUND request (see linux/kd.h) and a integer that describes the freq. Use delay (usleep, nanosleep,

Continuous variable updation in a text box

2009-03-10 Thread Adeel Malik
I intend to monitor the variable's value (acquired via data acquisition hardware) at a rate of around 1,000 times per second. I haven't used textboxes before in GTK+. Could anyone suggest how to update the value of a variable in a textbox etc., at this rate.   Thanks, Adeel

Re: Continuous variable updation in a text box

2009-03-10 Thread jcupitt
2009/3/10 Adeel Malik adeelmali...@yahoo.com: I intend to monitor the variable's value (acquired via data acquisition hardware) at a rate of around 1,000 times per second. I haven't used textboxes before in GTK+. Could anyone suggest how to update the value of a variable in a textbox etc.,

Re: Continuous variable updation in a text box

2009-03-10 Thread Ardhan Madras
So you will need call textbox insertion (update) 1000 times per second or the textbox get updated every 1ms, my question is: Can you see it changes correctly with given cycle? --- adeelmali...@yahoo.com wrote: From: Adeel Malik adeelmali...@yahoo.com To: gtk-app-devel-list@gnome.org Subject:

Re: Continuous variable updation in a text box

2009-03-10 Thread Jim George
It wouldn't matter too much, since most screens would only have a refresh rate of 60-120 Hz, which is also much higher than what most people can even see. I've handled such cases by using g_idle_add when I get an update of the variable's status, and have the idle function update the text box.

newbie question

2009-03-10 Thread frederico schardong
Hi, Sorry, but I know it is a newbie question.. I have a button, and a gtk_drawing_area, and a function to save what is happen in the gtk_drawing_area.. When this button is pressed, the function must be run.. I'm using now this gtk_drawing_area how a global variable, how I can connect the button

Re: newbie question

2009-03-10 Thread Alexander
On Wednesday 11 March 2009, frederico schardong wrote: Hi, Sorry, but I know it is a newbie question.. I have a button, and a gtk_drawing_area, and a function to save what is happen in the gtk_drawing_area.. When this button is pressed, the function must be run.. I'm using now this

Assertion.

2009-03-10 Thread Veeru Maka
Hi All, I am getting following assertion and my application is exiting. Could anyone help me to know what is the cause for this assertion? and how can I solve it. GLib-GObject-ERROR **: file gsignal.c: line 569 (handler_unref_R): assertion failed: (hlist-tail_after == handler) aborting...

Re: Gtk+ 3.0 Theming API Hackfest Minutes

2009-03-10 Thread Robert Staudinger
On Mon, Mar 9, 2009 at 8:44 PM, Owen Taylor otay...@redhat.com wrote: On Mon, 2009-03-09 at 15:09 -0400, Behdad Esfahbod wrote: Alberto Ruiz wrote: 2009/3/2 Behdad Esfahbod beh...@behdad.org: Alberto Ruiz wrote: * All drawing funcitions to use a cario context and hide GtkWidget and

Re: WebKit on webkit.gtk.org

2009-03-10 Thread Sven Neumann
Hi, On Sun, 2009-03-08 at 19:45 -0300, Gustavo Noronha wrote: On Sun, 2009-03-08 at 15:46 +0100, Sven Neumann wrote: PS: What is the state of WebkitGTK on the Windows platform? It would totally rock if we could finally ship the GIMP help browser with the GIMP installer for Windows.

Re: Fwd: regarding animated mng support in gtk for directfb

2009-03-10 Thread Sven Neumann
Hi, On Sat, 2009-03-07 at 10:37 +0530, Monil Parmar wrote: I am using GTK-2.12.12. I have compiled mng lib from http://sourceforge.net/projects/libmng/ . The test application, I have used for X11 with linux.mng is at libmng-1.0.10/contrib/gcc/gtm-mng-view . gtk-mng-view is a sample gtk

Re: Fwd: regarding animated mng support in gtk for directfb

2009-03-10 Thread Dominic Lachowicz
Also, you could write a GdkPixbufLoader plugin, so that all GTK+ apps can view MNGs. It shouldn't be too difficult. On Tue, Mar 10, 2009 at 11:52 AM, Sven Neumann s...@gimp.org wrote: Hi, On Sat, 2009-03-07 at 10:37 +0530, Monil Parmar wrote: I am using GTK-2.12.12. I have compiled mng lib

cross-compiling gobject-introspection

2009-03-10 Thread Christoph Spielmann
Hi everybody! I'm one of the guys that want to bring Gentoo to the OpenMoko phone. I'm responsible for most of the gui-related stuff and lately almost all projects seem to move away from whatever they where using before (python, c,...) and start to use vala in conjunction with

Re: Fwd: regarding animated mng support in gtk for directfb

2009-03-10 Thread Matthias Clasen
On Tue, Mar 10, 2009 at 12:56 PM, Dominic Lachowicz domlachow...@gmail.com wrote: Also, you could write a GdkPixbufLoader plugin, so that all GTK+ apps can view MNGs. It shouldn't be too difficult. It actually is difficult, because libmng doesn't expose its functionality in a way that easily

Late api correction for 2.16

2009-03-10 Thread Matthias Clasen
Just a heads-up, http://bugzilla.gnome.org/show_bug.cgi?id=574561 points out that the addition of gtk_style_get/gtk_style_get_property cause some issues for object-oriented bindings, where turning this into style.get()/style.get_property() will cause clashes with the existing binding for

Re: cross-compiling gobject-introspection

2009-03-10 Thread Johan Dahlin
On Tue, Mar 10, 2009 at 2:14 PM, Christoph Spielmann spi...@gmail.com wrote: Hi everybody! I'm one of the guys that want to bring Gentoo to the OpenMoko phone. I'm responsible for most of the gui-related stuff and lately almost all projects seem to move away from whatever they where using

GObject Introspection as part of the GNOME platform

2009-03-10 Thread Johan Dahlin
Hi, We think GObject Introspection adds a lot to the GNOME platform and would like to discuss how it can be integrated. For background, there's a longer description of what introspection does here: http://live.gnome.org/GObjectIntrospection From a component perspective, the major moving parts

Re: High-performance Priority Queue / Heap for glib

2009-03-10 Thread Maik Zumstrull
Maik Zumstrull wrote: Behdad Esfahbod wrote: I agree that having a priority queue in glib would be useful. However, the API should use an opaque structure and be agnostic of the actual implementation. I'm going to rethink the API and package the thing as a patch against 2.19.10