Re: Help with closing a notebook page (GTK2)

2011-07-03 Thread Bill C
On 03/07/11 18:33, Neil Munro wrote: On 3 July 2011 01:25, Bill Cbi...@netspace.net.au wrote: On 03/07/11 07:40, Neil Munro wrote: Hi, I have used pygtk before so I am familiar with some of the basic concepts of gtk, but this is my first attempt with an actual gtk+ C application and I have

Re: Help with closing a notebook page (GTK2)

2011-07-03 Thread Bill C
On 04/07/11 04:31, Thomas Bollmeier wrote: Ursprüngliche Nachricht- Von: Neil Munroneilmu...@gmail.com Gesendet: 02.07.2011 23:40:02 An: gtk-app-devel-list@gnome.org Betreff: Help with closing a notebook page (GTK2) Hi, I have used pygtk before so I am familiar with some of the basic

Re: Help with closing a notebook page (GTK2)

2011-07-02 Thread Bill C
On 03/07/11 07:40, Neil Munro wrote: Hi, I have used pygtk before so I am familiar with some of the basic concepts of gtk, but this is my first attempt with an actual gtk+ C application and I have run into a few issues. I have a notebook that I wish to have a close button on the page tabs that

Re: how to display initial information of program

2011-06-22 Thread Bill C
Hi Jh What language are you writing in? I can help in C (5+ years with GTK) and PyGtk.. just started using it. Be aware that once gtk_main() has been called everything must be done by callbacks. Anything else will cause subtle faults, although it may appear to work. The gtk_main loop

Re: memory leak in PangoLayout?

2011-05-06 Thread Bill C
On 06/05/11 17:28, Olivier Sessink wrote: Hi all, valgrind reports a memory leak in the following code: gint widget_get_string_size(GtkWidget * widget, gchar * string) { PangoLayout *layout; gint retval = -1; layout = gtk_widget_create_pango_layout(widget, string); if (layout

Re: GtkNotebook with action on click of special tab

2011-04-20 Thread Bill C
this helps Bill C On 20/04/11 09:34, Bernhard Schuster wrote: Hi I am trying to achieve the effect of new tab openening if one tab gets selected. Unfortunaltly the doc is very sparse on that: http://developer.gnome.org/gtk/stable/GtkNotebook.html as of using the select-page signal. Can anyone give me

Re: Hook user loop into program

2011-04-17 Thread Bill C
Once gtk-main is called, it waits for something to do. Normally this would be a result of some user interaction. Either use a Run button to get some action or use a timer to interrupt and start the processing. Rgds Bill On 17/04/11 16:15, Maklakov Andrey wrote: Hello. I'm not

Re: Memory leaks

2011-02-12 Thread Bill C
On 13/02/11 04:43, John Emmas wrote: FWIW I tracked sown the mechanism for suppressing leak detections in MSVC. Basically, you can set checkpoints and only display the leaks between two specified points. It might not be as flexible as the method used in Valgrind but it's one helluva lot

Re: Memory leaks

2011-02-10 Thread Bill C
Hi All On 10/02/11 18:26, John Emmas wrote: On 9 Feb 2011, at 17:01, James Morris wrote: Not only do we have to write our own code, we have to put work into making other peoples code ignore the errors in other peoples code so we can see the errors in our own code. It's a bloody outrage!

Re: Memory leaks

2011-02-10 Thread Bill C
On 10/02/11 19:50, Costin Chirvasuta wrote: I'm sorry, I now understand what you mean. If what you say is true (which I don't doubt) it's a really boneheaded mechanism in my opinion. Defragmenting memory in realtime is a performance nightmare. But that's irrelevant. Your point is well taken.

Re: Memory leaks

2011-02-10 Thread Bill C
On 11/02/11 09:13, David Nečas wrote: While I agree having a clean-up function could be useful in some cases (dynamical modules with GUI) this ‘widespread expectation in C++’ stuff is just rubbish. Yeti ___ gtk-app-devel-list mailing list

Re: Memory leaks

2011-02-09 Thread Bill C
that there are no leaks. Have not tried GTK3. Have not tried the C++ wrappers. Dont use an IDE. Maybe the problems you have are outside GTK. Rgds Bill C ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Re: Valgrind and GTK libraries

2010-01-04 Thread Bill C
... A pleasant change from the mainstream monopoly suppliers that milk their user base Rgds Bill C ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Application termination at some point

2009-11-17 Thread Bill C
Valgrind gives detailed information on memory errors. Requires understanding of programming to use however. Suggest building programs with -g option Rgds Bill C ds.sun...@gmail.com wrote: Dear All, My GTK+ application terminates at some point. I have given below the backtrace that i got