PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
data type of new GtkTextBuffer and others (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: data type of new GtkTextBuffer and others

davekimble (User)
Fresh Boarder
Posts: 3
User Offline Click here to see the profile of this user
data type of new GtkTextBuffer and others 1 Year, 7 Months ago Karma: 0  
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
$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,
$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.
Last Edit: 2013/02/26 08:04 By davekimble.
  The administrator has disabled public write access.

Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. All Rights Reserved