当前位置:网站首页>(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响应的内容,
边栏推荐
猜你喜欢

一款国外开发的高质量WordPress下载站模板主题

VOT2021 game introduction

Unity-通过预制件和克隆方法动态实现各个UGUI下控件的创建和显示

Flex layout in detail

角色妆容的实现

STM32 full series development firmware installation guide under Arduino framework

useragent online lookup

Basic configuration of OSPFv3

Daily practice——Randomly generate an integer between 1-100 and see how many times you can guess.Requirements: The number of guesses cannot exceed 7 times, and after each guess, it will prompt "bigger"

Recognize anomalies (you will understand after reading this)
随机推荐
NVIDIA已经开始测试AD106和AD107 GPU核心的显卡产品
C language parsing json string (json object is converted to string)
useragent online lookup
sqlite3简单操作
LeetCode 第 304 场周赛
Flink_CDC construction and simple use
基于STM32 环形队列来实现串口接收数据
Audio alignment using cross-correlation
HTC使用官方固件作为底包制作rom卡刷包教程
Douyin fetches video list based on keywords API
Efficient Concurrency: A Detailed Explanation of Synchornized's Lock Optimization
了解下C# 匿名方法
Learn about C# anonymous methods
renderjs usage in uni-app
标段参数说明
一款国外开发的高质量WordPress下载站模板主题
Student management system on the first day: complete login PyQt5 + MySQL5.8 exit the operation logic
嵌入式开发没有激情了,正常吗?
linux view redis version command (linux view mysql version number)
#yyds dry goods inventory# Interview must brush TOP101: the entry node of the ring in the linked list