|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/22697/root/usr/lib64/python2.4/site-packages/gtk-2.0/gobject/ |
Upload File : |
mò
t~øEc @ s˜ d Z d k Z d k Z d k l Z d k Z d d d d d g Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d
„ ƒ YZ e Z
d S( s/ GOption command line parser
Extends optparse to use the GOptionGroup, GOptionEntry and GOptionContext
objects. So it is possible to use the gtk, gnome_program and gstreamer command
line groups and contexts.
Use this interface instead of the raw wrappers of GOptionContext and
GOptionGroup in gobject.
N( s OptionErrort OptionErrort Optiont OptionGroupt OptionParsert make_optionc B s_ t Z d Z e i i d Z e i i d d d g Z d e i Z d „ Z
d „ Z d „ Z RS(
s¼ Represents a command line option
To use the extended possibilities of the GOption API Option
(and make_option) are extended with new types and attributes.
Types:
filename The supplied arguments are read as filename, GOption
parses this type in with the GLib filename encoding.
Attributes:
optional_arg This does not need a arguement, but it can be supplied.
hidden The help list does not show this option
in_main This option apears in the main group, this should only
be used for backwards compatibility.
Use Option.REMAINING as option name to get all positional arguments.
NOTE: Every argument to an option is passed as utf-8 coded string, the only
exception are options which use the 'filename' type, its arguments
are passed as strings in the GLib filename encoding.
For further help, see optparse.Option.
t filenamet hiddent in_maint optional_args --c O s‡ t i i | | | Ž | i p t d ƒ ‚ n t | i ƒ t | i ƒ j o t d ƒ ‚ n | i
p t d | i d ƒ ‚ n d S( Ns! %s at least one long option name.s; %s at least more long option names than short option names.s %s needs a help message.i ( t optparseR t __init__t selft argst kwargst
_long_optst
ValueErrort lent _short_optst help( R R R
( ( t<