Re: Stop text view to scroll on pageup/down (Gabriele Greco)

2008-10-07 Thread Garth's KidStuff
I've assigned a global meaning to the PageUp/Down keys in a application and I catch them with a key snooper. The keys are catched and the action performed, but if the window contains a textview also the textview contents are scrolled, so I tried to catch the keys in the textview, and then in the

GtkPaned

2008-10-07 Thread IacopoDeeNosee
hi everyone,i need help with this widget,how i can resize the gutter of the paned widget?i see the *gtk_paned_gutter_size()* but it is deprecated.i try this way: GTK_PANED(Paned)gutter_size=10; but it not work,gcc tell me that when compiling: src/MakeWin.c:334: error: ‘GtkPaned’ has no member

Re: shared memory queue

2008-10-07 Thread Tristan Van Berkom
2008/10/6 Luka Napotnik [EMAIL PROTECTED]: Hello. I have a problem that I need an GAsyncQueue shared among multiple processes. If I allocate a structure with shared memory and then allocate the GAsyncQueue with g_async_queue_new() to a structure member, is the queue shared or not? And if

Debugging the event loop and other things in gdb

2008-10-07 Thread Ruben Safir
I'm wondering how I can trace and debug the gtk event object or some of the built in constructors. 1 #include onewindow.h 2 #include iostream 3 #include gtkmm/stock.h 4 5 Onewindow::Onewindow() 6 :m_button(Gtk::Stock::OK) //Create a new button on initialization line 7 {

Re: how can i scale big pixbuf in realtime?

2008-10-07 Thread Mike Massonnet
Le Mon, 6 Oct 2008 16:13:25 +0800, chen zhixin [EMAIL PROTECTED] a écrit : hello i have to scale the image i recived,NTSC,30f/s,yuyv-gray and 720*480 because i need to do something on image,so i use gray-pixmap,and use cairo_t to do . then i must scale the 720*480, use gdk_pixbuf_scale make

Re: What strategy to use to deal with Glade-3's problem in removing pixbuf directory paths in .glade file!

2008-10-07 Thread Tristan Van Berkom
On Mon, Oct 6, 2008 at 2:01 PM, Daniel Yek [EMAIL PROTECTED] wrote: Hi, I'm trying to find a way to deal with the problem with Glade-3 removing absolute or relative path from pixbuf property. Hi, since we are in the middle of adding builder support, this would be a great time to file a bug

GtkTreeView foreground color doesn't work if mode is GTK_SELECTION_SINGLE

2008-10-07 Thread alee
I changed the foreground color in a GtkTreeView and it works if the selection is set to GTK_SELECTION_NONE, but the color changes back to the default if I set gtk_tree_selection_set_model to GTK_SELECTION_SINGLE and I select the item with my mouse. Is there a way to keep my chosen foreground

Re: Windows dev-* environment

2008-10-07 Thread Vlad Grecescu
On 10/7/2008 1:47 AM, Cody Russell wrote: On Mon, 2008-10-06 at 23:47 +0300, Vlad Grecescu wrote: I think most of the people that use Gtk+ on Windows also use autoconf/automake (think Inkscape, Geany, Pidgin). Unfortunately they also use parralel Makefiles for win32.. having the opportunity

Re: Theming API hackfest: last call

2008-10-07 Thread Robert Staudinger
On Mon, Oct 6, 2008 at 6:56 PM, Alberto Ruiz [EMAIL PROTECTED] wrote: Hi there, we have set the proposed date for the theming API hackfest to the third week of februrary, this is: 16th-22nd It'll take place in Dublin, Ireland, hosted by Sun Microsystems at their headquarters. The scope

Emission hooks for parent-set signal.(cont.)

2008-10-07 Thread Yu Feng
static void gtk_window_destroy (GtkObject *object) { GtkWindow *window = GTK_WINDOW (object); toplevel_list = g_slist_remove (toplevel_list, window); if (window-transient_parent) gtk_window_set_transient_for (window, NULL); /* frees the icons */ gtk_window_set_icon_list (window,

Re: Windows dev-* environment

2008-10-07 Thread Christian Dywan
Am Mon, 6 Oct 2008 18:58:16 -0400 (EDT) schrieb Allin Cottrell [EMAIL PROTECTED]: On Mon, 6 Oct 2008, Vlad Grecescu wrote: I think most of the people that use Gtk+ on Windows also use autoconf/automake (think Inkscape, Geany, Pidgin). Unfortunately they also use parralel Makefiles for

Re: Emission hooks for parent-set signal.(cont.)

2008-10-07 Thread Tim Janik
On Mon, 6 Oct 2008, Yu Feng wrote: static void gtk_window_destroy (GtkObject *object) { GtkWindow *window = GTK_WINDOW (object); toplevel_list = g_slist_remove (toplevel_list, window); if (window-transient_parent) gtk_window_set_transient_for (window, NULL); /* frees the icons */

Re: Announcement for the DBus backed Global Menu

2008-10-07 Thread John Stowers
On Sat, 2008-10-04 at 15:16 -0400, Yu Feng wrote: Hi, I am sorry for the longlong delay after last time I talked about writing the applets and stuffs. Hi Yu, You do not seem to have got much feedback on this, but I would like to personally thank you for your continued persistance on this

Re: g_utf8_validate() and NUL characters

2008-10-07 Thread Behdad Esfahbod
Havoc Pennington wrote: Hi, On Mon, Oct 6, 2008 at 4:42 PM, coda [EMAIL PROTECTED] wrote: As a result of all this, gedit's inability to edit binary files is simply an inability to edit a file with a NUL byte in it. That doesn't seem true; a binary file could be invalid UTF-8 (or

Re: g_utf8_validate() and NUL characters

2008-10-07 Thread Behdad Esfahbod
coda wrote: I ended up here after pursuing the invalid character coding behavior of gedit. gedit tries to convert a file to UTF-8 using g_convert, which always succeeds when converting from an 8-bit encoding like ISO-8859-1. The converted string contents could contain a NUL, since that's

Re: g_utf8_validate() and NUL characters

2008-10-07 Thread Brian J. Tarricone
Behdad Esfahbod wrote: Havoc Pennington wrote: On Mon, Oct 6, 2008 at 4:42 PM, coda [EMAIL PROTECTED] wrote: Is there any reason not to support NUL/U+ in strings? The point of not allowing nul in g_utf8_validate() I think is that nul is not valid text. It may be valid unicode in some

Force containers to be list-like

2008-10-07 Thread BJörn Lindqvist
Hello good people, I think there should be a contract that all subclasses of GtkContainer must implement. Conceptually, a container is a collection of widgets. Usually that collection is implemented as a list but it does not have to be [1]. This means that: 1. The order child widgets are stored

Re: Emission hooks for parent-set signal.(cont.)

2008-10-07 Thread Yu Feng
On Tue, 2008-10-07 at 22:21 +0200, Tim Janik wrote: On Mon, 6 Oct 2008, Yu Feng wrote: static void gtk_window_destroy (GtkObject *object) { GtkWindow *window = GTK_WINDOW (object); toplevel_list = g_slist_remove (toplevel_list, window); if (window-transient_parent)