[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-txtw-textview

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2009年 2月 4日 (水) 06:35:11 JST


-------------------------
REMOTE_ADDR = 74.15.84.244
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-textview
-------------------------
@@ -105,9 +105,12 @@
 
 === Pango Tab Arrays
 
+{{image_right("txtw-textview-03.png")}}
 Tabs added to a text view are set to a default width, but there are times when this is not what you want. GTK+ provides Pango::TabArray object, which can help you define a new tab size. In order to change the tab size you must first calculate the number of horizontal pixels the tab will take up based on the current font. Let us expand our first simple example by adding a tab size altering function called ((*make_tab_array.*)) 
 
-{{image_right("txtw-textview-03.png")}}
+
+{{br}}
+
 
  #!/usr/bin/env ruby
  require 'gtk2'




ruby-gnome2-cvs メーリングリストの案内
Back to archive index