当前位置:网站首页>(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响应的内容,
边栏推荐
- Binary tree non-recursive traversal
- Unity - by casting and cloning method dynamic control under various UGUI create and display
- A few permanent free network transmission, convenient and simple (Intranet through tutorials)
- In Golang go-redis cluster mode, new connections are constantly created, and the problem of decreased efficiency is solved
- BM5 merge k sorted linked lists
- 高效并发:Synchornized的锁优化详解
- grep命令 笔试题
- The old music player WinAmp released version 5.9 RC1: migrated to VS 2019, completely rebuilt, compatible with Win11
- Transfer Learning - Domain Adaptation
- iNeuOS industrial Internet operating system, equipment operation and maintenance business and "low-code" form development tools
猜你喜欢
统计UTF-8字符串中的字符函数
Flex layout in detail
The old music player WinAmp released version 5.9 RC1: migrated to VS 2019, completely rebuilt, compatible with Win11
Binary tree non-recursive traversal
AI automatic code writing plugin Copilot (co-pilot)
flowable workflow all business concepts
VOT2021 game introduction
Golang - from entry to abandonment
Efficient Concurrency: A Detailed Explanation of Synchornized's Lock Optimization
支付模块实现
随机推荐
Book of the Month (202207): The Definitive Guide to Swift Programming
Architecture Battalion Module 8 Homework
Write a database document management tool based on WPF repeating the wheel (1)
基于STM32 环形队列来实现串口接收数据
A solution to the server encountered an internal error that prevented it from fulfilling this request [easy to understand]
Bika LIMS open source LIMS set - use of SENAITE (detection process)
UserAgent resolution
focus on!Haitai Fangyuan joins the "Personal Information Protection Self-discipline Convention"
HTC使用官方固件作为底包制作rom卡刷包教程
Financial profitability and solvency indicators
Qualcomm cDSP simple programming example (to query Qualcomm cDSP usage, signature), RK3588 npu usage query
Summary of the classic drawing method of histogram
Bionic caterpillar robot source code
The principle of ReentrantLock (to be continued)
hboot与recovery、boot.img、system.img
架构实战营模块 8 作业
C程序设计-方法与实践(清华大学出版社)习题解析
不知道该怎么办的同步问题
Implementing a Simple Framework for Managing Object Information Using Reflection
Basic configuration of OSPFv3