[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - Gtk::SourceView

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2014年 5月 1日 (木) 22:00:16 JST


-------------------------
REMOTE_ADDR = 106.188.5.170
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3ASourceView
-------------------------
@@ -1,67 +1,497 @@
 = class Gtk::SourceView
-A view on a source.
 
-== Object Hierarchy
+ソースコードの表示に適したTextView
+
+== オブジェクト階層
+
 * Object
   * GLib::Instantiatable
     * GLib::Object
-      * Gtk::Object
-        * Gtk::Widget
-          * Gtk::Container
-            * Gtk::TextView
-              * Gtk::SourceView
+      * GLib::InitiallyUnowned
+        * Gtk::Object
+          * Gtk::Widget
+            * Gtk::Container
+              * Gtk::TextView
+                * Gtk::SourceView
 
-== Class Methods
+== クラスメソッド
+
 --- Gtk::SourceView.new(buffer=nil)
-    Creates a new Gtk::SourceView.  If buffer is not provided or nil, an empty
-    buffer will be created for you.  Note that one buffer can be shared among
-    many widgets.
-    * buffer: a Gtk::SourceBuffer object.  
-    * Returns: a newly created Gtk::SourceView object.
 
-== Instance Methods
+     新しいGtk::SourceViewを作成します。bufferがnilまたは省略されている場合、自動的に空のバッファが作成されます。bufferは既に他のウィジェットで使用されているものでもかまいません。
+    * buffer: Gtk::SourceBufferオブジェクト
+    * 戻り値: 作成されたGtk::SourceViewオブジェクト
+
+== インスタンスメソッド
+
 --- get_marker_type(marker_type)
-    Gets the pixbuf which is associated with the given marker_type.
-    * marker_type: a marker type (as a string).  
-    * Returns: a Gdk::Pixbuf object if found, or nil if not found.
 
+     引数に指定されたマーカータイプに関連付けられたGdk::Pixbufオブジェクトを取得します。
+    * marker_type: マーカータイプ(文字列)
+    * 戻り値: 関連付けられたGdk::Pixbufオブジェクトが見つかればそれが返り、見つからなければnilが返ります。
+
 --- set_marker_pixbuf(marker_type, pixbuf)
-    Associates a given pixbuf with a given marker_type.
-    * pixbuf: a Gdk::Pixbuf object.  
-    * marker_type: a marker type (as a string). 
-    * Returns: self.
 
-== Properties
+     引数に指定されたマーカータイプとGdk::Pixbufオブジェクトを関連付けます。
+    * pixbuf: Gdk::Pixbufオブジェクト
+    * marker_type: マーカータイプ(文字列)
+    * 戻り値: self
+
+--- auto_indent=(auto_indent)
+
+     オートインデントのオン・オフを設定します。
+    * auto_indent: オンにしたい場合true
+    * 戻り値: auto_indent
+
+--- auto_indent?
+
+     現在のオートインデント設定を取得します。
+    * 戻り値: オンになっている場合true
+
+--- get_marker_pixbuf
+     
+    * 戻り値: self: ((*要修正*))
+
+--- highlight_current_line=(highlight_current_line)
+
+     カーソルがある行をハイライトする機能のオン・オフを設定します。
+    * highlight_current_line: オンにしたい場合true
+    * 戻り値: highlight_current_line
+
+--- highlight_current_line?
+
+     カーソルがある行をハイライトする機能の現在の設定を取得します。
+    * 戻り値: オンになっている場合true
+
+--- indent_on_tab=(indent_on_tab)
+
+     Tabキーが押された時に選択状態のテキストをインデントする機能のオン・オフを設定します。
+    * indent_on_tab: オンにしたい場合true
+    * 戻り値: indent_on_tab
+
+--- indent_on_tab?
+
+     Tabキーが押された時に選択状態のテキストをインデントする機能の現在の設定を取得します。
+    * 戻り値: オンになっている場合true
+
+--- insert_spaces_instead_of_tabs=(insert_spaces_instead_of_tabs)
+
+     タブが入力された時にタブ文字のかわりにスペース文字を挿入する機能のオン・オフを設定します。
+     * insert_spaces_instead_of_tabs: オンにしたい場合true
+     * 戻り値: insert_spaces_instead_of_tabs
+
+--- insert_spaces_instead_of_tabs?
+
+     タブが入力された時にタブ文字のかわりにスペース文字を挿入する機能の現在の設定を取得します。
+    * 戻り値: オンになっている場合true
+
+--- redo
+     
+    * 戻り値: self: ((*要修正*))
+
+--- ref_accessible
+
+     Atk::Implementor#ref_accessibleを参照してください。
+
+--- set_auto_indent(auto_indent)
+
+     機能はGtk::SourceView#auto_indent=と同じです。
+    * auto_indent: オンにしたい場合true
+    * 戻り値: self
+
+--- set_highlight_current_line(highlight_current_line)
+
+     機能はGtk::SourceView#highlight_current_line=と同じです。
+    * highlight_current_line: オンにしたい場合true
+    * 戻り値: self
+
+--- set_indent_on_tab(indent_on_tab)
+
+     機能はGtk::SourceView#indent_on_tab=と同じです。
+    * indent_on_tab: オンにしたい場合true
+    * 戻り値: self
+
+--- set_insert_spaces_instead_of_tabs(insert_spaces_instead_of_tabs)
+
+     機能はGtk::SourceView#insert_spaces_instead_of_tabs=と同じです。
+    * insert_spaces_instead_of_tabs: オンにしたい場合true
+    * 戻り値: self
+
+--- set_show_line_marks(show_line_marks)
+
+     機能はGtk::SourceView#show_line_marks=と同じです。
+    * show_line_marks: オンにしたい場合true
+    * 戻り値: self
+
+--- set_show_line_numbers(show_line_numbers)
+
+     機能はGtk::SourceView#show_line_numbers=と同じです。
+    * show_line_numbers: オンにしたい場合true
+    * 戻り値: self
+
+--- set_smart_home_end(smart_home_end)
+
+     機能はGtk::SourceView#smart_home_end=と同じです。
+    * smart_home_end: Gtk::SourceView::SmartHomeEndType列挙体、またはGtk::SourceView::SMART_HOME_END_??定数
+    * 戻り値: self
+
+--- set_tab_width(tab_width)
+
+     機能はGtk::SourceView#tab_width=と同じです。
+    * tab_width: タブ幅
+    * 戻り値: self
+
+--- show_line_marks=(show_line_marks)
+
+     ラインマーカーpixbufを表示する機能のオン・オフを設定します。
+    * show_line_marks: オンにしたい場合true
+    * 戻り値: show_line_marks
+
+--- show_line_marks?
+
+     ラインマーカーpixbufを表示する機能の現在の設定を取得します。
+    * 戻り値: オンになっている場合true
+
+--- show_line_numbers=(show_line_numbers)
+
+     行番号を表示する機能のオン・オフを設定します。
+    * show_line_numbers: オンにしたい場合true
+    * 戻り値: show_line_numbers
+
+--- show_line_numbers?
+
+     行番号を表示する機能の現在の設定を取得します。
+    * 戻り値: オンになっている場合true
+
+--- smart_home_end=(smart_home_end)
+
+     HOMEまたはENDキーが押された時に、(行頭または行末ではなく)行の最初または最後の非空白文字にカーソルを移動する機能の動作を設定します。
+    * smart_home_end: Gtk::SourceView::SmartHomeEndType列挙体、またはGtk::SourceView::SMART_HOME_END_??定数
+    * 戻り値: smart_home_end
+
+--- tab_width
+
+     現在のタブ幅を取得します。
+    * 戻り値: タブ幅
+
+--- tab_width=(tab_width)
+
+     タブ幅を設定します。
+    * tab_width: タブ幅
+    * 戻り値: tab_width
+
+--- undo
+     
+     * 戻り値: self: ((*要修正*))
+
+--- add_child
+
+     Gtk::Buildable#add_childを参照してください。
+
+--- construct_child
+
+     Gtk::Buildable#construct_childを参照してください。
+
+--- get_internal_child
+
+     Gtk::Buildable#get_internal_childを参照してください。
+
+--- name
+
+     Gtk::Buildable#nameを参照してください。
+
+--- name=
+
+     Gtk::Buildable#name=を参照してください。
+
+--- set_buildable_property
+
+     Gtk::Buildable#set_buildable_propertyを参照してください。
+
+--- set_name
+
+     Gtk::Buildable#set_nameを参照してください。
+
+--- builder_name
+
+     Gtk::Buildable#builder_nameを参照してください。
+
+--- builder_name=
+
+     Gtk::Buildable#builder_name=を参照してください。
+
+--- completion
+
+     SourceViewに関連付けられたcompletionオブジェクトを取得します。
+    * 戻り値: SourceViewに関連付けられたcompletionオブジェクト
+
+--- draw_spaces
+
+     各種空白文字を可視化するかどうかの現在の設定を取得します。
+    * 戻り値: Gtk::SourceView::DrawSpacesFlagsオブジェクト
+
+--- draw_spaces=(draw_spaces)
+
+     各種空白文字を可視化するかどうかを設定します。
+    * draw_spaces: Gtk::SourceView::DrawSpacesFlagsオブジェクト
+    * 戻り値: draw_spaces
+
+--- get_mark_category_background
+     
+    * 戻り値: self: ((*要修正*))
+
+--- get_mark_category_pixbuf
+     
+    * 戻り値: self: ((*要修正*))
+
+--- get_mark_category_priority
+     
+    * 戻り値: self: ((*要修正*))
+
+--- indent_width
+
+     現在設定されているインデント1回分のスペースの数を取得します。
+    * 戻り値: インデント1回分のスペースの数
+
+--- indent_width=(indent_width)
+
+     インデント1回分のスペースの数を設定します。
+    * indent_width: インデント1回分のスペースの数
+    * 戻り値: indent_width
+
+--- move_lines
+     
+    * 戻り値: self: ((*要修正*))
+
+--- right_margin_position
+
+     右マージンの現在の位置を取得します。
+    * 戻り値: 現在の右マージンの位置
+
+--- right_margin_position=(right_margin_position)
+
+     右マージンの位置を設定します。
+    * margin: 右マージンの位置
+    * 戻り値: margin
+
+--- set_builder_name
+
+     Gtk::Buildable#set_builder_nameを参照してください。
+
+--- set_draw_spaces(draw_spaces)
+
+     機能はGtk::SourceView#draw_spaces=と同じです。
+    * draw_spaces: Gtk::SourceView::DrawSpacesFlagsオブジェクト
+    * 戻り値: self
+
+--- set_indent_width(indent_width)
+
+     機能はGtk::SourceView#indent_width=と同じです。
+    * indent_width: インデント1回分のスペースの数
+    * 戻り値: self
+
+--- set_mark_category_background
+     
+    * 戻り値: self: ((*要修正*))
+
+--- set_mark_category_pixbuf
+     
+    * 戻り値: self: ((*要修正*))
+
+--- set_mark_category_priority
+     
+    * 戻り値: self: ((*要修正*))
+
+--- set_right_margin_position(right_margin_position)
+
+     機能はGtk::SourceView#right_margin_position=と同じです。
+    * right_margin_position: 右マージンの位置
+    * 戻り値: self
+
+--- set_show_line_marks(show_line_marks)
+
+     機能はGtk::SourceView#show_line_marks=と同じです。
+    * show_line_marks: オンにしたい場合true
+    * 戻り値: self
+
+--- set_show_right_margin(show_right_margin)
+
+     機能はGtk::SourceView#show_right_margin=と同じです。
+    * show_right_margin: オンにしたい場合true
+    * 戻り値: self
+
+--- set_tab_width(tab_width)
+
+     機能はGtk::SourceView#tab_width=と同じです。
+    * tab_width: タブ幅として設定するスペースの数
+    * 戻り値: self
+
+--- show_completion
+     
+    * 戻り値: self: ((*要修正*))
+
+--- show_line_marks=(show_line_marks)
+
+     行マークpixbufを表示する機能のオン・オフを設定します。
+    * show_line_marks: オンにしたい場合true
+    * 戻り値: show_line_marks
+
+--- show_line_marks?
+
+     行マークpixbufを表示する機能の現在の設定を取得します。
+    * 戻り値: オンになっている場合true
+
+--- show_right_margin=(show_right_margin)
+
+     右マージンを表示する機能のオン・オフを設定します。
+    * show_right_margin: オンにしたい場合true
+    * 戻り値: show_right_margin
+
+--- show_right_margin?
+
+     右マージンを表示する機能の現在の設定を取得します。
+    * 戻り値: オンになっている場合true
+
+--- smart_home_end
+
+     HOMEまたはENDキーが押された時に、(行頭または行末ではなく)行の最初または最後の非空白文字にカーソルを移動する機能の現在の設定を取得します。
+    * 戻り値: Gtk::SourceView::SmartHomeEndType列挙体
+
+--- tab_width
+
+     現在のタブ幅をスペースの数に換算したものを取得します。
+    * 戻り値: 現在のタブ幅をスペースの数に換算したもの
+
+--- tab_width=(tab_width)
+
+     タブ幅をスペースの数で指定して設定します。
+    * tab_width: タブ幅として設定するスペースの数
+    * Returns: tab_width
+
+== 定数
+
+--- BUILD_VERSION
+--- DRAW_SPACES_ALL
+--- DRAW_SPACES_LEADING
+--- DRAW_SPACES_NBSP
+--- DRAW_SPACES_NEWLINE
+--- DRAW_SPACES_SPACE
+--- DRAW_SPACES_TAB
+--- DRAW_SPACES_TEXT
+--- DRAW_SPACES_TRAILING
+--- SMART_HOME_END_AFTER
+--- SMART_HOME_END_ALWAYS
+--- SMART_HOME_END_BEFORE
+--- SMART_HOME_END_DISABLED
+
+== プロパティ
+
 --- auto-indent: true or false (Read/Write)
-    Whether to enable auto indentation.
 
+    オートインデント機能のオン・オフ
+
 --- insert-spaces-instead-of-tabs: true or false (Read/Write)
-    Whether to insert spaces instead of tabs.
 
---- margin: Integer (Read/Write)
-    Position of the right margin.
+    タブが入力された時にタブ文字のかわりにスペース文字を挿入する機能のオン・オフ
 
---- show-line-markers: true or false (Read/Write)
-    Whether to display line marker pixbufs.
+--- right-margin: Integer? (Read/Write)
 
+    ((*要修正*))
+
+--- show-line-marks: true or false (Read/Write)
+
+    ラインマーカーpixbufを表示する機能のオン・オフ
+
 --- show-line-numbers: true or false (Read/Write)
-    Whether to display line numbers.
 
---- show-margin: true or false (Read/Write)
-    Whether to display the right margin.
+    行番号を表示する機能のオン・オフ
 
---- smart-home-end: true or false (Read/Write)
-    HOME and END keys move to first/last characters on line first before going to the start/end of the line.
+--- show-right-margin: true or false (Read/Write)
 
---- tabs-width: Integer (Read/Write)
-    Tabs Width.
+    右マージンを表示する機能のオン・オフ
 
-== Signals
+--- highlight-current-line: true or false (Read/Write)
+
+    カーソルがある行をハイライトする機能のオン・オフ
+
+--- indent-on-tab: true or false (Read/Write)
+
+    Tabキーが押された時に選択状態のテキストをインデントする機能のオン・オフ
+
+--- completion: Gtk::SourceCompletion (Read)
+
+    SourceViewに関連付けられたcompletionオブジェクト
+
+--- draw-spaces: Gtk::SourceView::DrawSpacesFlags (Read/Write)
+
+    各種空白文字を可視化するかどうかの設定
+
+--- indent-width: Integer (Read/Write)
+
+    インデント1回分のスペースの数
+
+--- right-margin-position: Integer (Read/Write)
+
+    右マージンの位置
+
+--- show-right-margin: true or false (Read/Write)
+
+    右マージンを表示する機能のオン・オフ
+
+--- tab-width: Integer (Read/Write)
+
+    タブ幅として設定するスペースの数
+
+== スタイルプロパティ
+
+--- right-margin-line-alpha: Integer (Read)
+
+    マージン線の透明度
+
+--- right-margin-line-color: Gdk::Color (Read)
+
+    右マージン線の色
+
+--- right-margin-overlay-alpha: Integer (Read)
+
+    マージンオーバーレイの透明度
+
+--- right-margin-overlay-color: Gdk::Color (Read)
+
+    マージンオーバーレイの描画色
+
+--- right-margin-overlay-toggle: String (Read)
+
+    Whether to draw the right margin overlay
+
+== シグナル
+
 --- redo
 
+    ((*要修正*))
+
 --- undo
 
+    ((*要修正*))
+
+--- line-mark-activated: self
+     
+    * self: Gtk::SourceView: ((*要修正*))
+
+--- move-lines: self
+     
+    * self: Gtk::SourceView: ((*要修正*))
+
+--- show-completion: self
+     
+    * self: Gtk::SourceView: ((*要修正*))
+
 == See Also
+
 ((<Gtk>)).
+
+== 更新履歴
+
+- 2014/05/01 現在の英語版をベースに翻訳、内容の修正。 ((<きたがわ>))
 
 - ((<lrz>))




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