I'm very new to PHP-GTK2, so this might be obvious to most people.
One piece of information relating to PHP-GTK2 specifically seems to be missing - the data type of $buffer in
| Code: |
$buffer = new GtkTextBuffer(); |
I have an array of (string) that I want to output, but I could easily have an array of array of (integer, string) if that is what $buffer is. It would save having to translate my array into $buffer every time something changes. But I can't find the definition of $buffer anywhere.
Similarly using GtkTreeView without any hierarchy,
| Code: |
$buffer = new GtkTreeBuffer(); |
if the format of $buffer was made clear, I could use that directly. The sample codes all WANT to output the fields id, parent, data string, but I only want to output the data string. What is strictly necessary to have in $buffer ?
Hope that makes sense.