set up custom hotkey for limit selection to visible

what ar ethe identifier and context attribute for this? a hot key for this task would be very useful, help much appreciated

“先生,请让女生先用一下男厕好吗?女厕所那里排队实在太长了……”日前, 电视棒在广州一免费公厕旁,几位女大学生上演“占领男厕”的行为艺术,希望引起社会对男女厕位不均衡的重视。(2月20日《广州日报》)

公共厕所旁,男厕大唱“空城计”,女生却在女厕前热火朝天地排队。公厕作为一个社会公共产品,分配的不公导致男女如厕“冰火两重天”的现象。广州女大学生维护自身利益,占领男厕,“亮点”在哪?

维护权益依靠“行动”。天上不会掉馅饼,权益也没有人会拱手相送,只有力争、奋斗才能取得。厕所的设置者未能考虑女生的生理需求,分配厕所位置不平衡,一方面男厕经常闲置不用,造成资源浪费,另一方面女厕十分紧缺,供不应求。女大学生“占领男厕”的行为,是为了争取自己应得的厕位,请如厕的男生让出厕位,她们用实际行动争取利益。假如她们不去行动,不向男生提出请求,能得到厕位吗?

实际行动依靠团结。这次女大学生的“占领男厕”行动, 魔域私服不是一个女生在单打独斗,而是几个女生联合起来,共同策划、共同上演。从新闻图片来看,公厕旁有的女生手举宣传牌,有的向男生提出请求,她们有分工,有协作,有共同目标,是一个团结的整体。团结凝聚力量,女生们的共同努力与让“占领男厕”取得的实际效果。假如只有一位女生在公厕旁举着宣传牌呐喊,只有一位女生向男生提出“让厕位”的请求,势必力量单薄,搞不好别人会认为女生精神有问题。

What I think lhc276 was trying to day is that a quick way to toggle visible-selection is ‘z’. Simply bounce between wireframe and solid.

I would have to mess with it to figure out how to do the mapping you want, but z has always been sufficient for me, so I never bothered.

-rking

no, i mean the toggle button to the right of face select.

identifier is: wm.context_toggle
context Attributes is: space_data.use_occlude_geometry

Thank you very very much, can i ask how you would find this information out?

in the comments someone had given the info for this. But if you hover over a button or command most of them will give you the python value or attribute or both.

thank you very much, much appreciated