Re: Help with closing a notebook page (GTK2)

2011-07-03 Thread Bill C
On 04/07/11 06:26, Neil Munro wrote: On 3 July 2011 19:31, Thomas Bollmeier wrote: Ursprüngliche Nachricht- Von: "Neil Munro" 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

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 Munro" 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 concepts of gtk, but

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 C 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 run into a few issues

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 w

Re: how to display initial information of program

2011-06-21 Thread Bill C
x27;t know how to realize that. Can you give me some tips? Regars At 2011-06-22 06:29:21??"Bill C" wrote: >On 22/06/11 01:16, jh_wang2004 wrote: >> hi all: >> In my app program initialization, it connects database, initializes SDL video channel,etc . >> these a

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
ata Hope 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" sig

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 experie

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 easi

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 gtk-app-dev

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. T

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! I'v

Re: Memory leaks

2011-02-09 Thread Bill C
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/listin

Accessing text file

2010-06-23 Thread Bill C
I don't know if there is a "correct" method I am using "g_io_channel" with no problems 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: Valgrind and GTK libraries

2010-01-04 Thread Bill C
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