+
    Qi  c                   s    R t RtRtRtRtRt^ RIt^ RIt]P                  ! RR4       ^ R	I	H
t
 ^R
IHt  ! R R4      tR# )z)Displays a GUI for the user to quit Orca.z$Id$z
$Revision$z$Date$z-Copyright (c) 2005-2009 Sun Microsystems Inc.ZLGPLNGtkz3.0)r    )_c                   sB   a  ] tR t^#t o RtR tR tR tR tR t	Rt
V tR# )	GtkBuilderWrapperat  
Superclass for GtkBuilder based applications. Just derive from this
and your subclass should create methods whose names correspond to
the signal handlers defined in the GtkBuilder file. Any other attributes
in your class will be safely ignored.

This class will give you the ability to do:
    subclass_instance.GtkWindow.method(...)
    subclass_instance.widget_name...
c                s   \         P                  ! 4       V n        V P                  P                  \        P
                  ! 4       4       V P                  P                  V4       V P                  P                  V4      V n        V P                  P                  4        F  pV P                  V4       K  	  V P                  4        / p\        V P                  4       F  p\        W4      WE&   K  	  V P                  P                  V4       R # )N)r    ZBuilderbuilderZset_translation_domaingettextZ
textdomainZadd_from_file
get_object	gtkWindowZget_objectslocalize_widgetset_orca_iconZdirZ	__class__ZgetattrZconnect_signals)selfZfileNameZ
windowNameobjZinstance_attributes	attributes   &&&   9/usr/lib/python3.14/site-packages/orca/orca_gtkbuilder.py__init__ZGtkBuilderWrapper.__init__/   s    {{}++G,>,>,@A""8,00<
 <<++-C  % . 	 T^^,I-4T-E* -$$%89    c                sn   \         P                  P                  4       p VP                  R^^ 4      pVP                  R^^ 4      pVP                  R^^ 4      pVP                  R^ ^ 4      pVP                  R^0^ 4      p\         P                  P                  VVVVV34       R#   \         d     R# i ; i)zfGet the icon in all sizes from the current theme and set them as
default for all application windows.
ZorcaN)r    Z	IconThemeZget_defaultZ	load_iconZWindowZset_default_icon_list	Exception)r	   Z
icon_themeZicon16Zicon22Zicon24Zicon32Zicon48s   &      r   r   ZGtkBuilderWrapper.set_orca_iconD   s    
 ]]..0
	6))&"a8F))&"a8F))&"a8F))&"a8F))&"a8F JJ,,f-3-3-3-3	.5 6  		s   AB% %B43B4c                sv    V P                   P                  V4      pVf   \        RV,           R,           4      hV# )a   Return the requested widget. This routine has been introduced
(and calls to it made by the Orca GtkBuilder sub-classes), to prevent
"No class attribute" pychecker errors caused when using __getattr__.

Arguments:
- attribute: name of the widget to return.
Widget [] not found)r   r   AttributeErrorr	   r   Zwidget   && r   
get_widgetZGtkBuilderWrapper.get_widgetY   s7     ((3> i!7-!GHHr   c                s    V P                   P                  V4      pVf   \        RV,           R,           4      hW P                  V&   V# )Nr   r   )r   r   r   Z__dict__r   r   r   __getattr__ZGtkBuilderWrapper.__getattr__h   sA    ((3> i!7-!GHH#)i r   c                s    VP                  4       pVP                  4       p\        V\        P
                  4      '       d   R#  VP                  4       pV'       d,   \        V4      '       d   VP                  \        V4      4       T'       d   TP                  R4       R#   \         d    RpRp Li ; i  \         d     TP                  4       pM  \         d      R# i ; iT'       dP   \        T4      '       d?   T'       d   TP                  \        T4      4        LTP                  \        T4      4        Li ; i)zForce the localization of the label/title of GtkBuilder objects

Arguments:
- obj: the GtkBuilder object whose label or title should be localized
FNT)Zget_use_markupZget_use_underliner   Z
isinstancer    ZFrameZ	get_titleZlenZ	set_titler   Z	get_labelZ
set_markupZ	set_labelZset_use_underline)r	   r
   Z	useMarkupZuseUnderlineZtitleZtexts   &&    r   r   Z!GtkBuilderWrapper.localize_widgetp   s    	!**,I002L
 c399%% 	+MMOEUah' !!$'A  	!I L	!"  
	+}}  D		NN1T7+MM!D'*
	+s_    B# B8 +B8 #B54B58ECEC% E$C%%
E0E	E%EE)r   r   N)Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r   #   s(     	:*6*. .r   r   )r   Z__id__Z__version__Z__date__Z__copyright__Z__license__r   ZgiZrequire_versionZgi.repositoryr    Z	orca_i18nr   r   ) r   r   <module>r      sK   ( 0?  	   5%    { {r   