From: Masao M. <mu...@hi...> - 2002-10-27 10:15:05
|
むとうです。 #ちと古いですが。 On Fri, 18 Oct 2002 00:20:53 +0900 KUBO Takehiro <ku...@ji...> wrote: > 久保@茅ヶ崎市です。 > Gnome::Program の使い方は > > Gnome::Program.new(アプリケーション名, バージョン, Gnome::ModuleInfo::LIBGNOMEUI) > => 戻り値 Gnome::Program のインスタンス > > となっています。 > 最初に生成した Gnome::Program がグローバルプログラムとなり、複数の > Gnome::Program のインスタンスを生成できます。 > # もっとも複数の Gnome::Program を生成する状況がどういう状況なのか、まっ > # たくわからないのですけど....。(^^;) > > 第3引数の Gnome::ModuleInfo::LIBGNOMEUI は、GUI のあるアプリを作成す > るときで、GUI がいらないときは、Gnome::ModuleInfo::LIBGNOME とします。 これ、第3引数を省略可能にしませんか? Gnome::Program.new(appname, version, type = Gnome::ModuleInfo::LIBGNOMEUI) という感じで、デフォルトはUIというのはどうでしょう。 それでは。 -- .:% Masao Mutoh<mu...@hi...> |