api reference

2006-04-04 Thread ashley maher
The api has the following reference: http://www.gtk.org/api/2.6/gtk/TextWidget.html I have everything in this reference working. However after you have made a mark of a section of text in a buffer how do you save this so if you save the text in a file when you open this file again all the text ed

meta data

2006-04-03 Thread ashley maher
Following the Multiple Views example from the gtk-demos I'm able to save the text buffer to-from a file. Also, using the example, I can create a gtktexttagtable, and use this to alter the appearance of the textview. My question is: Where is the metadata held to describe which tags are to be used

text tag table

2006-04-03 Thread ashley maher
G'day, In the references to the text widget of the GTK API it says to refer to the gtk-demo for examples. These examples are very good. Using the Multiple Views example I can save a gtk text buffer to, and retrieve, from a text file. I can change the look and feel using tags. All modified from t

end of line error

2006-03-15 Thread ashley maher
G'day, I'm trying to format text as it is being entered into a text input widget. sprintf(formatted_line, "%c%c/%c", entry_text[0], entry_text[1], entry_text[2]); gtk_entry_set_text(GTK_ENTRY(v->entry), ""); tmp_pos = GTK_ENTRY(v->entry)->text_length;

Re: example

2005-11-22 Thread ashley maher
On Mon, 2005-11-21 at 10:54 +, Axel Simon wrote: > On Mon, 2005-11-21 at 21:31 +1100, ashley maher wrote: > > G'day, > > > > I have followed the gtk tree view tutorial at: > > > > http://scentric.net/tutorial/. > > > > The tutorial is ver

example

2005-11-21 Thread ashley maher
G'day, I have followed the gtk tree view tutorial at: http://scentric.net/tutorial/. The tutorial is very good. However section: 3.5 deals with Retrieving row data. This works well for data to stdout. However I can't see in the tutorial, nor has google helped, where to find an example where th

row_activated error?????

2005-11-15 Thread ashley maher
G'day, I have the following run time error: (dump_key:16343): GLib-GObject-WARNING **: gsignal.c:1716: signal `row_activated' is invalid for instance `0x80a6d00' There are no compile time errors or warnings when using gcc -Wall. In the code below when I use "changed" all works well, when I use