403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/inkscape/extensions/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/inkscape/extensions/__pycache__/web_set_att.cpython-310.pyc
o

0�a��@sLdZddlZddlmZddlZGdd�dej�Zedkr$e��	�dSdS)aL
This effect adds a feature visible (or usable) only on a SVG enabled web
browser (like Firefox). This effect sets one or more attributes in the second
selected element, when a defined event occurs on the first selected element.
If you want to set more than one attribute, you must separate this with a space,
and only with aspace.
�N)�
inkex_gettextc@s eZdZdZdd�Zdd�ZdS)�SetAttributez(Set a web attribute accross many objectscCsb|jddd�|jdddd�|jdd	d
d�|jddd
d�|jdddd�|jdddd�dS)Nz--tabz'The selected UI-tab when OK was pressed)�helpz--att�fillzAttribute to set.)�defaultrz--val�redzValues to set.z--when�onclickzWhen it must to set?z
--from-and-to�from_and_to�g-to-one)�destrz--compatibility�appendz/Compatibility with previews code to this event.)�add_argument)�self�pars�r�-/usr/share/inkscape/extensions/web_set_att.py�
add_arguments"s
�zSetAttribute.add_argumentscCs�|��t|jj�dkrt�td���|jjdkrdnd}t|j	j
���d|�}t|j	j
j�|d�}d�d�
|�|jj|jj�}|D]7}|�|jj�}|durSd}|jjd	kr_|d
|}|jjdkrk|d
|}|jjdkrs|}|�|jj|�qDdS)
N�z&You must select at least two elements.r
����z0InkWeb.setAtt({{el:['{}'], att:'{}', val:'{}'}})z','�rz;
�prepend�replace)�ensureInkWebSupport�len�options�ids�inkex�AbortExtension�_r	�list�svg�selected�values�format�join�att�val�get�when�
compatibility�set)r�split�el_from�id_to�ev_code�elem�prev_ev_code�
el_ev_coderrr�effect+s*��zSetAttribute.effectN)�__name__�
__module__�__qualname__�__doc__rr3rrrrr s	r�__main__)
r7r�inkex.localizationrr�inkwebeffect�InkWebEffectrr4�runrrrr�<module>s	&�

Youez - 2016 - github.com/yon3zu
LinuXploit