当前位置:网站首页>(26)Blender源码分析之顶层菜单的关于菜单
(26)Blender源码分析之顶层菜单的关于菜单
2022-07-31 22:22:00 【caimouse】
前面分析顶层BAR菜单的显示,第一项会显示可以调用闪屏窗口,也就是再次把闪屏窗口打开,这个菜单的内容在前面已经分析过,这里就不再讨论它了,接着下来就是第二项菜单,这个菜单是一个关于blender的菜单,一般软件设计都会有这个基本选项,在这里显示如下:
由前面分析可见,当调用python里的菜单布局代码时,就会根据下面这项生成一项显示:
layout.operator("wm.splash_about")
这行代码就是显示About Blender菜单项,同时也定义了响应这项菜单的操作,就是打开wm.splash_about项的菜单内容,而在前面分析可知,会把这项内容转换为WM_OT_splash_about,这样就可以在代码找到关联的菜单显示内容了。
要找到WM_OT_splash_about响应的内容,
边栏推荐
- 登录业务实现(单点登录+微信扫码+短信服务)
- Flink_CDC construction and simple use
- A few permanent free network transmission, convenient and simple (Intranet through tutorials)
- 了解下C# 匿名方法
- Unity - by casting and cloning method dynamic control under various UGUI create and display
- 如何减少软件设计和实现之间鸿沟
- Quick Start Tutorial for flyway
- Several methods of mysql backup table
- Binary tree non-recursive traversal
- Basic configuration of OSPFv3
猜你喜欢
Memblaze发布首款基于长存颗粒的企业级SSD,背后有何新价值?
[Intensive reading of the paper] iNeRF
Unity-LineRenderer显示一条线
Bika LIMS open source LIMS set - use of SENAITE (detection process)
关注!海泰方圆加入《个人信息保护自律公约》
ECCV 2022 Huake & ETH propose OSFormer, the first one-stage Transformer framework for camouflaging instance segmentation!The code is open source!...
The principle of ReentrantLock (to be continued)
STM32 full series development firmware installation guide under Arduino framework
SQL27 View user details of different age groups
Realize serial port receiving data based on STM32 ring queue
随机推荐
Payment module implementation
数据分析(一)——matplotlib
renderjs usage in uni-app
高通cDSP简单编程例子(实现查询高通cDSP使用率、签名),RK3588 npu使用率查询
Pytorch lstm time series prediction problem stepping on the pit "recommended collection"
「APIO2010」巡逻 题解
Basic Grammar Introduction of Carbon Tutorial (Tutorial)
Quick Start Tutorial for flyway
标段参数说明
TestCafeSummary
架构实战营模块 8 作业
Several methods for deleting specified elements in Golang slices
Socket Review and I/0 Model
Bionic caterpillar robot source code
Unity-通过预制件和克隆方法动态实现各个UGUI下控件的创建和显示
[NLP] What is the memory of the model!
Chapter VII
BM5 merge k sorted linked lists
MySQL数据库‘反斜杠\’ ,‘单引号‘’,‘双引号“’,‘null’无法存储
Go1.18 upgrade function - Fuzz test from scratch in Go language