新規作成  編集  Ruby-GNOME2 Project Website  ページ一覧  検索  更新履歴  編集履歴  RSS  ログイン

Gnome::PrintConfig

Class Methods

default
new(string, flags=nil)
  • string: XML format.
  • flags: not used.
  • Returns: a new config from string.

Instance Methods

dup
  • Returns: the copy of self.
to_s
  • Returns: XML representation of self.
get(key, type=:string)
[key, type:=string]
  • key:
  • type: type of returned value. The available value is :string, :boolean, :int, :double, :length, :transform or nil (= :string).
  • Returns: the value associated by key.
set(key, value)
[key] = value
  • key:
  • value:
  • Returns: true on success, false on error.
page_size
  • Returns: an array of width and height of page.
dump
Displays config as tree. For debug.
  • Returns: nil.

See Also

- kou

更新日時:2005/11/17 02:43:41
キーワード:
参照:[Gnome::PrintJob] [Gnome::PrintConfig] [Gnome::PrintContext]