Re: Proper Handling of GtkTreeModelFilters

2007-06-22 Thread Matthew Yaconis
Yeti, > What holds references to currentModel after the > gtk_tree_view_set_model() call? If it is a filter model, then nothing. If it was the base model then I was maintaining my own global pointer to it. I apologize for the difficult code snippet but regardless you have helped me tremendous

Proper Handling of GtkTreeModelFilters

2007-06-22 Thread Matthew Yaconis
I have an underlying model for a TreeView in my application that I am filtering based on certain user selections. I maintain a global reference to the "base" TreeModel (which is sometimes attached to the TreeView used to display the information.) The mechanism I am using goes something like t

Double Buffering

2006-11-09 Thread Matthew Yaconis
I tried searching the mailing list but the search seems to still be down from July... I'm looking to do some double buffered 2D animation in a GTK application. What is the best way to go about this? Are there double buffered GTK widgets or would I be better off using OpenGL or some other libra

Command Window with MSVC++ GTK apps

2006-10-03 Thread Matthew Yaconis
I have a natively linux GTK+ application that I've ported to Win32 using MSVC++. The way I originally ported it causes the cmd window (that catches all the printf type statements) to appear whenever running the application. I thought there was some way to disable this but haven't been able to find

Proper (memory) handling of TreeModels

2005-10-27 Thread Matthew Yaconis
I have an application that, depending on a user's selection, filters the display of the base TreeModel (which is a liststore). The way I've been doing it is as follows: Program initialization: The base model (basemodel) is filled with data. During execution: User selects a filter -> a new f

Re: another magnificant display of GTK software

2005-09-06 Thread Matthew Yaconis
Perhaps I'm the only one to follow the link in this email and not be suspicious but the site has a virus which it attempts to download on your system. (VBS Soraci B). Have a nice day... - Original Message - From: "Yogesh M" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 06, 2005

Freeing temporary context sensitive pop-up menus

2005-03-08 Thread Matthew Yaconis
I am generating some context sensitive pop-up menus and I'm afraid I'm leaking the memory used in their allocation. The basic flow of the program goes: 1. Click on a column in a tree-view 2. Capture the button press event and create and show a pop up menu based on certain criteria. 3. gtk_wid