From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 14 Sep 2005 14:03:44 +0400 From: Alexey Tourbin To: devel@altlinux.ru Message-ID: <20050914100344.GG3290@solemn.turbinal.org> Mail-Followup-To: devel@altlinux.ru References: <200509141149.56948.lav@altlinux.ru> <20050914081444.GF3290@solemn.turbinal.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mtfogggI1YmpIpmy" Content-Disposition: inline In-Reply-To: <20050914081444.GF3290@solemn.turbinal.org> Subject: [devel] Re: Requires =?koi8-r?b?xMzR?= perl X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 10:04:49 -0000 Archived-At: List-Archive: List-Post: --mtfogggI1YmpIpmy Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 14, 2005 at 12:14:44PM +0400, Alexey Tourbin wrote: > =EC=D5=DE=DB=C5 =D7=D3=D4=C1=D7=C9=D4=D8 Gtk2->init =D7 =CD=C5=D3=D4=CF = =C6=C1=CB=D4=C9=DE=C5=D3=CB=CF=CA =C9=CE=C9=C3=C9=C1=CC=C9=DA=C1=C3=C9=C9 = =C7=D5=D1 =D5 > =D0=D2=CF=C7=D2=C1=CD=CD=D9, =C9=CC=C9 =D6=C5, =C5=D3=CC=C9 =CE=C5=D4 =D6= =C5=CC=C1=CE=C9=D1 =D2=C1=DA=C2=C9=D2=C1=D4=D8=D3=D1, =C7=C4=C5 =CE=C1=C8= =CF=C4=C9=D4=D3=D1 =DC=D4=CF > =D3=CB=CF=D2=C2=CE=CF=C5 =CD=C5=D3=D4=CF, =CE=C1=D0=C9=D3=C1=D4=D8 use Gt= k2; INIT { Gtk2->init; }. =F3 =C4=D2=D5=C7=CF=CA =D3=D4=CF=D2=CF=CE=D9, =D7 `perldoc Gtk2' =D3=CB=C1= =DA=C1=CE=CF: -init Equivalent to Gtk2->init, called to initialize GLIB and GTK+. Just about every Gtk2-Perl script should do "use Gtk2 -init"; This initialization should take place before using any other Gtk2 functions in your GUI applications. It will initialize everything needed to operate the toolkit and parses some standard command line options. @ARGV is adjusted accordingly so your own code will never see those standard arguments. =F4=CF =C5=D3=D4=D8 =DC=D4=C1 =C2=CE=D1 =C5=DD=A3 =C9 =CD=C1=CE=C7=CC=C9=D4= =C1=D2=C7=D5=CD=C5=CE=D4=D9 =CB=CF=CD=C1=CE=C4=CE=CF=CA =D3=D4=D2=CF=CB=C9= . Needless to say =DE=D4=CF =D3=D4=CF=C9=CC=CF =C2=D9 =CB=C1=CB-=CE=C9=C2=D5=C4=D8 =CF= =D4=C4=C5=CC=C9=D4=D8 =C9=CE=C9=C3=C9=C1=CC=C9=DA=C1=C3=C9=C0 =C7=D5=D1 =CF= =D4 =CB=D2=CF=CD=D3=C1=CE=C9=D1 =C1=D2=C7=D5=CD=C5=CE=D4=CF=D7 =CB=CF=CD=C1=CE=C4=CE=CF=CA =D3=D4=D2=CF=CB= =C9, =CE=CF =DC=D4=CF=C7=CF =CE=C5=D4. use Gtk2; INIT { Gtk2->init; } =CF=D3=D4=C1=A3=D4=D3=D1 =CE=C1=C9=C2=CF=CC=C5=C5 =D0=D2=C9=C5=CD=CC=C5=CD= =D9=CD =D7=C1=D2=C9=C1=CE=D4=CF=CD. --mtfogggI1YmpIpmy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFDJ/WAfBKgtDjnu0YRAjr3AJ48GMqumUoqNOyCxxipFOnMh3B4xgCgmxZj xDI1OTQbmWUMj1zKdLW90lk= =Mif+ -----END PGP SIGNATURE----- --mtfogggI1YmpIpmy--