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