ruby-****@sourc*****
ruby-****@sourc*****
2005年 3月 29日 (火) 19:21:23 JST
------------------------- REMOTE_ADDR = 15.211.169.100 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = http://ruby-gnome2.sourceforge.jp/cgi-bin/hiki/hiki.cgi?Gtk%3A%3ALabel ------------------------- @@ -31,7 +31,7 @@ label = Gtk::Label.new label.set_markup("<small>Small text</small>") -(See complete documentation of available tags in the ((<Pango Text Attribute Markup Language|pango-mark)>)). +(See complete documentation of available tags in the ((<Pango Text Attribute Markup|pango-markup>))) The markup passed to Gtk::Label#set_markup() must be valid; for example, literal </>/& characters must be escaped as <, >, and &. If you pass text obtained from the user, file, or a network to Gtk::Label#set_markup(), you'll want to escape it with GLib::Markup.escape_text(not implemented yet). @@ -95,13 +95,13 @@ --- markup=(str) Parses str which is marked up with the Pango text markup language, setting the label's text and attribute list based on the parse results. - * str: a markup string (see Pango markup format) + * str: a markup string (see ((<Pango Text Attribute Markup|pango-markup>))) * Returns: str --- set_markup(str, mnemonic = false) Parses str which is marked up with the Pango text markup language, setting the label's text and attribute list based on the parse results. If mnemonic = true and characters in str are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using Gtk::Label#mnemonic_widget=. - * str: a markup string (see Pango markup format) + * str: a markup string (see ((<Pango Text Attribute Markup|pango-markup>))) * mnemonic: true if mnemonic characters are underlined with an '_' in front of the mnemonic character * Returns: self @@ -311,7 +311,7 @@ * Default value: Pango::Layout::ELLIPSIZE_NONE --- justify: Integer (Read/Write) - The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See Gtk::Misc::xalign for that + The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See Gtk::Misc#xalign for that * Default value: Gtk::JUSTIFY_LEFT --- label: String (Read/Write)