KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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/21585/root/usr/lib64/pygtk/2.0/demos/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/lib64/pygtk/2.0/demos/sizegroup.pyc
mò
e‡8Hc@sMdZdkZdeifd„ƒYZd„ZedjoeƒndS(soSize Group

GtkSizeGroup provides a mechanism for grouping a number of widgets together so
they all request the same amount of space. This is typically useful when you
want a column of widgets to have the same size, but you can't use a GtkTable
widget.

Note that size groups only affect the amount of space requested, not the size
that the widgets finally receive. If you want the widgets in a GtkSizeGroup to
actually be the same size, you need to pack them in such a way that they get
the size they request and not more. For example, if you are packing your
widgets into a table, you would not include the GTK_FILL flag.Nt
SizeGroupDemocBs/tZdd„Zd„Zd„Zd„ZRS(Nc	Csntii|d|dtitifƒy|i|iƒƒWn&t	j
o|i
dd„ƒnX|i
dd„ƒ|itƒti
tdƒ}|ii|ttdƒ|idƒtitiƒ|_tidƒ}|i|ttdƒtid	d	tƒ}|idƒ|idƒ|id
ƒ|i|ƒd}|i|dd|ƒ|i|dd|ƒtidƒ}|i|ttdƒtid	d	tƒ}|idƒ|idƒ|id
ƒ|i|ƒd}d}|i|dd|ƒ|i|dd|ƒti dƒ}|i|ttdƒ|i"tƒ|i
d|i#ƒ|i$ƒdS(NsSize GroupsitdestroycGs
tiƒS(N(tgtkt	main_quit(tw((t'/usr/lib64/pygtk/2.0/demos/sizegroup.pyt<lambda>stresponsecCs
|iƒS(N(tdR(Rtr((RRsis
Color optionsii
tRedtGreentBluet_Foregroundit_BackgroundsLine optionstSolidtDashedtDottedtSquaretRoundtArrowt_Dashings
_Line endss_Enable groupingttoggled(R
RR(RRR(RRR(%RtDialogt__init__tselftparenttSTOCK_CLOSEtRESPONSE_CLOSEt
set_screent
get_screentAttributeErrortconnectt
set_resizabletFalsetVBoxtvboxt
pack_starttTruetset_border_widtht	SizeGrouptSIZE_GROUP_HORIZONTALt
size_grouptFrametframetTablettabletset_row_spacingstset_col_spacingstaddt
color_optionst_SizeGroupDemo__add_rowtdash_optionstend_optionstCheckButtontcheck_buttont
set_activeton_toggle_groupingtshow_all(	RRR5R7R2R$R4R.R,((RRsN










cCs;tiƒ}x|D]}|i|ƒqW|idƒ|S(Ni(Rtcombo_box_new_texttoption_menutoptionstopttappend_textR8(RR=R>R<((Rt__create_option_menuIs
c
Cs¸ti|ƒ}|itƒ|iddƒ|i|dd||dti
tiBdddƒ	|i
|ƒ}|i|ƒ|ii|ƒ|i|dd||dddddƒ	dS(Niii(RtLabelt
label_texttlabeltset_use_underlineR&t
set_alignmentR.tattachtrowtEXPANDtFILLRt"_SizeGroupDemo__create_option_menuR=R<tset_mnemonic_widgetR*t
add_widget(RR.RGRBR=R<RC((Rt	__add_rowRs
3
cCs;|iƒo|iitiƒn|iitiƒdS(N(R7t
get_activeRR*tset_modeRR)tSIZE_GROUP_NONE(RR7((RR9]s
(t__name__t
__module__tNoneRRJR3R9(((RRs7			cCstƒtiƒdS(N(RRtmain(((RRTgst__main__(t__doc__RRRRTRQ(RRTR((Rt?
s
	V	


Anon7 - 2021