Re: Detecting whether a widget is displayed.

2009-11-05 Thread Chris Vine
On Thu, 5 Nov 2009 06:28:36 -0800 Daniel Burrows dburr...@algebraicthunk.net wrote: I have what's probably a simple GTK+ problem, and I was wondering if anyone could give me a tip. I'm trying to write a custom widget (in GTK--) that would benefit from knowing whether it's currently

pango-cairo backward compat

2009-11-05 Thread Allin Cottrell
I'm trying to write a function in such a way that (a) it doesn't use currently deprecated code if that's avoidable while (b) it builds OK against earlier versions of pango. I'd be grateful if any pango expert could take a quick look at this and see if anything looks wrong: PangoLayout

Re: pango-cairo backward compat

2009-11-05 Thread Behdad Esfahbod
On 11/05/2009 05:37 PM, Allin Cottrell wrote: I'm trying to write a function in such a way that (a) it doesn't use currently deprecated code if that's avoidable while (b) it builds OK against earlier versions of pango. I'd be grateful if any pango expert could take a quick look at this and see

Re: pango-cairo backward compat

2009-11-05 Thread Allin Cottrell
On Thu, 5 Nov 2009, Behdad Esfahbod wrote: On 11/05/2009 05:37 PM, Allin Cottrell wrote: I'm trying to write a function in such a way that (a) it doesn't use currently deprecated code if that's avoidable while (b) it builds OK against earlier versions of pango. I'd be grateful if any

Problem with gtk_tree_selection_select_path: background color does not change

2009-11-05 Thread Carlos Pereira
Hi list, I need to select multiple rows in a treeview, directly from my code, in MULTIPLE selection mode. This is a very simple treemodel, only one column with a string. Unfortunately, although gtk_tree_selection_select_path() seems to select the indicated rows, the background color of the rows

Attributes clarification ?

2009-11-05 Thread Siddu
Hi All, Can some one please clarify what does attributes mean ? The below code seems to confuse me what does it mean by foreground taking the value of COLOR_COLUMN (which is 1) enum { TEXT_COLUMN, COLOR_COLUMN, N_COLUMNS }; ... { GtkTreeViewColumn *column; GtkCellRenderer *renderer =