当前位置:网站首页>(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响应的内容,
边栏推荐
- Federated Learning: Multi-source Knowledge Graph Embedding in Federated Scenarios
- LevelSequence source code analysis
- Pytorch lstm time series prediction problem stepping on the pit "recommended collection"
- TestCafeSummary
- find prime numbers up to n
- Document management and tools in the development process
- 利用反射实现一个管理对象信息的简单框架
- grep命令 笔试题
- 高效并发:Synchornized的锁优化详解
- UVM RAL model and built-in seq
猜你喜欢
随机推荐
"APIO2010" Patrol Problem Solution
iNeuOS industrial Internet operating system, equipment operation and maintenance business and "low-code" form development tools
Qualcomm cDSP simple programming example (to query Qualcomm cDSP usage, signature), RK3588 npu usage query
useragent online lookup
flowable workflow all business concepts
Redis综述篇:与面试官彻夜长谈Redis缓存、持久化、淘汰机制、哨兵、集群底层原理!...
"SDOI2016" Journey Problem Solution
Bionic caterpillar robot source code
Bika LIMS open source LIMS set - use of SENAITE (detection process)
Quick Start Tutorial for flyway
BM3 flips the nodes in the linked list in groups of k
Recognize anomalies (you will understand after reading this)
A high-quality WordPress download site template theme developed abroad
[NLP] What is the memory of the model!
The principle of ReentrantLock (to be continued)
Istio introduction
MATLAB program design and application 2.4 Common internal functions of MATLAB
Payment module implementation
MySQL数据库‘反斜杠\’ ,‘单引号‘’,‘双引号“’,‘null’无法存储
Basic Grammar Introduction of Carbon Tutorial (Tutorial)









