Call to gtk_main() crashes

2009-04-29 Thread RNG
Hi, I am trying to get an old application to work using glade2. I've managed to get it to compile but the call to gtk_main(); crashes the application. The backtrace looks like this: (gdb) bt #0 0xb8041422 in __kernel_vsyscall () #1 0xb7244880 in raise () from /lib/tls/i686/cmov/libc.so.6 #2

children's button and motion events

2009-04-29 Thread Tony Wang
Hi all, I do not want parents in the widget tree to see the button and motion events of the children, how should I do to achieve the goal? Is it right for just not calling the gtk_propagate_event() function? TIA, Tony ___ gtk-app-devel-list mailing list

not receiving mouse release events

2009-04-29 Thread Chuck Crisler
I have an app that has two windows. The top window has a gtk scrolled window with an embedded tree control and the bottom has a scrolled window with some display object. I have tried a viewport (clearly wrong), a drawing area and a layout (at different times). The problem is that the bottom window

Re: Call to gtk_main() crashes

2009-04-29 Thread RNG
Hi, following your suggestion, I've added a call to gtk_init() at the beginning of main() but the program still crashes. The end of the stack trace now displays a different memory address but otherwise it's essentially the same. -- snip -- #21 0xb7846036 in ?? () from

Size of scrolled window

2009-04-29 Thread José Romildo Malaquias
One application has a dialog with a tree view widget based on a list store. The tree view is inside a scrolled window with PolicyNever and PolicyAutomatic policies for the horizontal and vertical scrollbars, respectively. See attached image. How can I automatically get the dialog height large

children's button and motion events

2009-04-29 Thread Tony Wang
Hi all, I do not want parents in the widget tree to see the button and motion events of the children, how should I do to achieve the goal? Is it right for just not calling the gtk_propagate_event() function? TIA, Tony ___ gtk-app-devel-list mailing list

Re: Call to gtk_main() crashes

2009-04-29 Thread Tristan Van Berkom
On Wednesday, April 29, 2009, RNG rga...@gmail.com wrote: Hi, following your suggestion, I've added a call to gtk_init() at the beginning of main() but the program still crashes. The end of the stack trace now displays a different memory address but otherwise it's essentially the same All I

Re: children's button and motion events

2009-04-29 Thread Praveen Innamuri
There is a way to prevent Parents from receiving the button events. When we register for button-press through g_signal_connect_closure_by_id(.., .., .., .., .., true/false) API, we can specify whether we can receive the event 'before' the event actually occurred, or 'after' the event. Register two

How to create a editable treeview

2009-04-29 Thread padthmanabhan paddu
Hi all, I am new to this GTK technology , and i am trying to create an tree view with two columns and it should get the input from an text document, i need it like editable window. And this is the code creating two columns in the tree view renderer = gtk_cell_renderer_text_new ();