Re: TAB operation in text widget

2002-01-25 Thread Steph
: TAB operation in text widget Hi All, Does anyone know how to move the cursor in a text window forward a fixed number of pixels? I would like to produce columns of text in the text widget when using a proportionally-spaced font. I can easily find out the width of the current line

Re: TAB operation in text widget

2002-01-25 Thread Havoc Pennington
Hi, If you guys are using GtkTextView just set the tab stops with gtk_text_view_set_tabs() or whatever, or use the defaults. If it doesn't work right with proportional fonts it's just some sort of bug, file it on http://bugzilla.gnome.org. If you're using GtkText, you're not going to get it

Re: TAB operation in text widget

2002-01-25 Thread Philip Bunce
At 01:48 PM 1/25/2002 -0500, Havoc Pennington wrote: Hi, If you guys are using GtkTextView just set the tab stops with gtk_text_view_set_tabs() or whatever, or use the defaults. If it doesn't work right with proportional fonts it's just some sort of bug, file it on http://bugzilla.gnome.org.

Re: TAB operation in text widget

2002-01-25 Thread Havoc Pennington
Philip Bunce [EMAIL PROTECTED] writes: Perhaps I am using the wrong version. But can't find anything about a widget called GtkTextView in my documentation. I am using 1.2.10 gtk+ and glib. Yes, GtkTextView is only in 1.3.x/2.0. Havoc ___

Re: TAB operation in text widget

2002-01-25 Thread Philip Bunce
At 05:53 PM 1/25/2002 -0500, Havoc Pennington wrote: Philip Bunce [EMAIL PROTECTED] writes: Perhaps I am using the wrong version. But can't find anything about a widget called GtkTextView in my documentation. I am using 1.2.10 gtk+ and glib. Yes, GtkTextView is only in 1.3.x/2.0. The

Re: TAB operation in text widget

2002-01-25 Thread Sven Neumann
Hi, Philip Bunce [EMAIL PROTECTED] writes: Yes, GtkTextView is only in 1.3.x/2.0. The gtk.org homepage seemed to discourage using 1.3 or 2.0 by calling 1.2 the stable version, so since I am new to GTK+ I decided that stability seemed like a good idea. If I upgrade to get GtkTextView,

TAB operation in text widget

2002-01-24 Thread Philip Bunce
Hi All, Does anyone know how to move the cursor in a text window forward a fixed number of pixels? I would like to produce columns of text in the text widget when using a proportionally-spaced font. I can easily find out the width of the current line in pixels, but then I need to move the