??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
§Zc @ s‰ d d l Z d d l m Z d e j k o6 d k n rG d „ Z n d e f d „ ƒ YZ d
e f d „ ƒ YZ d „ Z d
„ Z d S( iÿÿÿÿNi ( t _gobjecti i i c C s
t | d ƒ S( Nt __call__( t hasattr( t fn( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyt callable s t Signalc B s~ e Z d Z d e f d „ ƒ YZ d d „ Z d d
e j d
d
d d
d
d „ Z d
d „ Z
d „ Z d
d „ Z d „ Z
RS( s¸ Object which gives a nice API for creating and binding signals.
:param name:
Name of signal or callable closure when used as a decorator.
:type name: str or callable
:param callable func:
Callable closure method.
:param GObject.SignalFlags flags:
Flags specifying when to run closure.
:param type return_type:
Return type of the Signal.
:param list arg_types:
List of argument types specifying the signals function signature
:param str doc:
Documentation of signal object.
:param callable accumulator:
Accumulator method with the signature:
func(ihint, return_accu, handler_return, accu_data) -> boolean
:param object accu_data:
User data passed to the accumulator.
:Example:
.. code-block:: python
class Spam(GObject.Object):
velocity = 0
@GObject.Signal
def pushed(self):
self.velocity += 1
@GObject.Signal(flags=GObject.SignalFlags.RUN_LAST)
def pulled(self):
self.velocity -= 1
stomped = GObject.Signal('stomped', arg_types=(int,))
@GObject.Signal
def annotated_signal(self, a:int, b:str):
"Python3 annotation support for parameter types.
def on_pushed(obj):
print(obj)
spam = Spam()
spam.pushed.connect(on_pushed)
spam.pushed.emit()
t BoundSignalc B sV e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
RS( s‘
Temporary binding object which can be used for connecting signals
without specifying the signal name string to connect.
c O s t j | | ƒ S( N( t strt __new__( t clst namet argst kargs( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyR X s c C s# t j | ƒ | | _ | | _ d S( N( R t __init__t signalt gobj( t selfR R ( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyR
[ s
c C s d | S( Ns BoundSignal("%s")( ( R ( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyt __repr__` s c O s | j j | j | | Ž S( s Call the signals closure.( R t funcR ( R R R ( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyR c s c O s | j j | | | | Ž S( s^ Same as GObject.Object.connect except there is no need to specify
the signal name.( R t connect( R t callbackR R ( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyR g s c O s! | j j | d | | | | Ž S( s
Same as GObject.Object.connect except there is no need to specify
the signal name. In addition concats "::" to the signal name
when connecting; for use with notifications like "notify" when a property
changes.
s ::( R R ( R R t detailR R ( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyt connect_detailedl s c C s | j j | ƒ d S( s" Same as GObject.Object.disconnect.N( t instancet
disconnect( R t
handler_id( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyR t s c O s | j j t | ƒ | | Ž S( s[ Same as GObject.Object.emit except there is no need to specify
the signal name.( R t emitR ( R R R ( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyR x s ( t __name__t
__module__t __doc__R R
R R R R R R ( ( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyR S s t c O s( t | ƒ r | j } n t j | | ƒ S( N( R R R R ( R R
R R ( ( s6 /usr/lib64/python2.7/site-packages/gi/_signalhelper.pyR } s c C sà | r | r | j } n t | ƒ r7 | } | j } n | rP | rP | j } n t j | ƒ | r… | pl | r… t | ƒ \ } } n | d k r t ƒ } n | | _ | | _ | | _
| | _ | | _ | | _ | | _
d S( N( R R R R R
t get_signal_annotationst Nonet tupleR t flagst return_typet arg_typest accumulatort accu_data( R R
R R" R# R$ t docR% R&