Re: Delayed events

2008-11-26 Thread Tadej Borovšak
Hi. I think that your callback is called when the selection changes. It's printf's output that is being buffered and not being written immediately to the console. 2008/11/26 Roy G. Biv [EMAIL PROTECTED]: Hello everybody! I am just learning how to use GTK+ and have run into a problem. After

program leak because creating new mutexes?

2008-11-26 Thread Luka Napotnik
Hello. I'm having a strange problem with my multi-threaded application. It leaks memory. I've executed it under valgrind and valgrind reports that calls to g_mutex_new_posix_impl() allocates around 22 MB of memory. The thing is that I create around 4 mutexes max. And the longer the program runs,

Re: Delayed events

2008-11-26 Thread Roy G. Biv
On Wed, Nov 26, 2008 at 8:03 AM, Nicola Fontana [EMAIL PROTECTED] wrote: On Tue, 25 Nov 2008 21:26:54 -0800 Roy G. Biv [EMAIL PROTECTED] wrote: Hello everybody! I am just learning how to use GTK+ and have run into a problem. After having followed Micah Carrick's Glade3 tutorial, I have

Re: Delayed events

2008-11-26 Thread Tadej Borovšak
Hi. I've modified your example a bit to give you a kick start with this problem. == test.c == #include gtk/gtk.h #include stdio.h void on_combobox1_changed (GtkComboBox *widget, GtkWidget *window) { GtkTreeIter iter; GtkTreeModel *model; gchar*color;

Re: Delayed events

2008-11-26 Thread Roy G. Biv
On Wed, Nov 26, 2008 at 3:34 PM, Tadej Borovšak [EMAIL PROTECTED] wrote: Hi. I've modified your example a bit to give you a kick start with this problem. snip Thank you very much Tadej. Having a working example will really help me understand. I'm still reading about the functions that you

Re: Problem with index entries for style properties

2008-11-26 Thread Stefan Kost
Hi Matthias, Matthias Clasen schrieb: I've put a working patch in http://bugzilla.gnome.org/show_bug.cgi?id=562064 many thanks, will look at this in the next days. Quite busy now. Too bad that I just did a release. Stefan ___ gtk-doc-list mailing

Gtk on windows - Gtk builder and signal connection

2008-11-26 Thread Harinandan S
Hi All, I was using gtk builder on linux platform and was successfully able to connect signals by giving -export-dynamic option while compiling. However on msvc using Gtk Windows I am not able to get callbacks to work. I tried debug build also. What compiler options should I give to get this to

Re: Gtk on windows - Gtk builder and signal connection

2008-11-26 Thread Tristan Van Berkom
2008/11/26 Harinandan S [EMAIL PROTECTED]: Hi All, I was using gtk builder on linux platform and was successfully able to connect signals by giving -export-dynamic option while compiling. However on msvc using Gtk Windows I am not able to get callbacks to work. I tried debug build also.

Re: Gtk on windows - Gtk builder and signal connection

2008-11-26 Thread Tor Lillqvist
I was using gtk builder on linux platform and was successfully able to connect signals by giving -export-dynamic option while compiling. However on msvc using Gtk Windows I am not able to get callbacks to work. You should mark the functions that will be looked up and called dynamically with

Re: Gtk on windows - Gtk builder and signal connection

2008-11-26 Thread Harinandan S
Thanks Tristan. gmodule-2.0.lib has been included while linking. But I'm not able to connect the signal handlers. On Linux I tried using gmodule-2.0 and I was able to connect signals without -export-dynamic. Regards, Harinandan S On Wed, Nov 26, 2008 at 2:34 PM, Tristan Van Berkom [EMAIL

Re: Gtk on windows - Gtk builder and signal connection

2008-11-26 Thread Harinandan S
Thanks a lot. After I marked the function by G_MODULE_EXPORT, I was able to connect callbacks. Regards, Harinandan S On Wed, Nov 26, 2008 at 2:47 PM, Tor Lillqvist [EMAIL PROTECTED] wrote: I was using gtk builder on linux platform and was successfully able to connect signals by giving

Re: List Scrolling

2008-11-26 Thread Milosz Derezynski
Something like you take the coordinates at press, and on subsequent motion events you take the coordinates again, with the velocity depending on the position/distance from the original coordinates. On unpress (release) you stop the scroll. No? On Wed, Nov 26, 2008 at 2:22 PM, Demetris

Speeding up GTK over DirectFB on embedded linux

2008-11-26 Thread Harinandan S
Hi All, I am using Gtk 2.12.2 over DirectFB 1.1.1 on embedded linux. I have built gtk, directfb and dependency libraries by giving O3 optimization and in release mode. Is there something I can do to speed up the system? The system is 300MHz ARM and 210MB RAM. Regards, Harinandan S

List Scrolling

2008-11-26 Thread Demetris Zavorotnichenko
Hi to all. I have a Tree View on a scrolling window. I need to be able to scroll it by pressing on the tree and dragging it. I need this since the application runs on a Touchscreen device so I don't want to Drag the window Up and Down from the scroll bars but by pressing on it and dragging. How

Re: List Scrolling

2008-11-26 Thread Tommi Komulainen
On Wed, Nov 26, 2008 at 1:22 PM, Demetris Zavorotnichenko [EMAIL PROTECTED] wrote: Hi to all. I have a Tree View on a scrolling window. I need to be able to scroll it by pressing on the tree and dragging it. I need this since the application runs on a Touchscreen device so I don't want to

RE: List Scrolling

2008-11-26 Thread Demetris Zavorotnichenko
Tnx Guys, I have it working now :) I appreciate all the help ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

RE: List Scrolling

2008-11-26 Thread Demetris Zavorotnichenko
Ok, I got the scrolling window to scroll from my mouse. But I have another problem now. I need to set the vadhustment on the window as soon as I create it, so the window is in the center and not in the beginning. But when I do : Gtk_adjustment *adj = gtk_scrolled_window_get_vadjustment

gtk themes, missing icons ?

2008-11-26 Thread Marc Weber
Hi @ll. I finally suceeded in startin pitivi on nixos. However I don't like the way I've done it so I'd like to ask wether there is a better way? Can I tell an application where the installation directory of a theme such as gnome-icon-theme-2.22.0 is? the gnome-icon-theme-2.22.0 theme

RE: List Scrolling

2008-11-26 Thread Ian Puleston
-Original Message- From: Demetris Zavorotnichenko Ok, I got the scrolling window to scroll from my mouse. But I have another problem now. I need to set the vadhustment on the window as soon as I create it, so the window is in the center and not in the beginning. But when I

Re: gtk themes, missing icons ?

2008-11-26 Thread Sergei Steshenko
--- On Wed, 11/26/08, Marc Weber [EMAIL PROTECTED] wrote: From: Marc Weber [EMAIL PROTECTED] Subject: gtk themes, missing icons ? To: gtk-list@gnome.org Date: Wednesday, November 26, 2008, 4:12 PM Hi @ll. I finally suceeded in startin pitivi on nixos. However I don't like the way I've

Re: Gtk2::Entry with Pango markup

2008-11-26 Thread Kevin Ryde
Emmanuel Rodriguez [EMAIL PROTECTED] writes: # Escape the XML entities - MUST be done before applying the Pango markup $text =~ s/([])/$ENTITIES{$1}/eg; Glib::Markup::escape_text() might do that. (A well-hidden func :-) ___

$flags-as_arrayref directly

2008-11-26 Thread Kevin Ryde
I thought to call a Glib::Flags as_arrayref directly like myexpression()-as_arrayref inspired by other as_arrayref funcs, and because it seemed a little cleaner than lots of brackets [EMAIL PROTECTED]()}] Alas as_arrayref requires the overload three args. I wonder if that could be

GStreamer 0.12 available

2008-11-26 Thread Torsten Schoenfeld
Overview of changes in GStreamer 0.12 = * Add support for GST_TYPE_FOURCC, GST_TYPE_DOUBLE_RANGE, GST_TYPE_ARRAY, GST_TYPE_FRACTION, and GST_TYPE_FRACTION_RANGE. The package is available from Sourceforge: