网站首页 站内搜索

搜索结果

查询Tags标签: DEARGUI,共有 8条记录
  • 从源码分析DEARGUI之键盘鼠标事件监控

    from dearpygui.dearpygui import *# 所有事件api# get_mouse_drag_delta()# get_mouse_pos()# is_key_down()# is_key_pressed()# is_key_released()# is_mouse_button_clicked()# is_mouse_button_double_clicked()# is_mouse_button_down()# is_mouse_button_dragging(…

    2021/4/22 20:25:29 人评论 次浏览
  • 从源码分析DEARGUI之添加字体

    def add_additional_font(*args, **kwargs): # real signature unknown"""Adds additional font.Return Type: NoneParameters__________* file : strttf or otf file这个函数可以添加字体文件路径 .ttf* Optional Arguments____________________* size :…

    2021/4/22 20:25:22 人评论 次浏览
  • 从源码分析DEARGUI之添坐标系

    def add_area_series(*args, **kwargs): # real signature unknown"""Adds an area series to a plot.Return Type: NoneParameters__________* plot : str* name : str* data : List[float]* color : List[float]* fill : List[float]* Optional Argument…

    2021/4/22 20:25:21 人评论 次浏览
  • 从源码分析DEARGUI之button

    def add_button(*args, **kwargs): # real signature unknown"""Adds a button.Return Type: NoneParameters__________* name : str* Keyword Only Arguments____________________* small : boolSmall button, useful for embedding in text.* arrow : bo…

    2021/4/22 20:25:20 人评论 次浏览
  • 从源码分析DEARGUI之checkbox

    def add_checkbox(*args, **kwargs): # real signature unknown"""Adds a checkbox widget.Return Type: NoneParameters__________* name : str* Keyword Only Arguments____________________* default_value : int* callback : strRegisters a callback*…

    2021/4/22 20:25:20 人评论 次浏览
  • 从源码分析DEARGUI之collapsing_header

    def add_collapsing_header(*args, **kwargs): # real signature unknown"""Adds a collapsing header to add items to. Must be closed with the end_collapsing_header command.Return Type: NoneParameters__________* name : str* Keyword Only Argum…

    2021/4/22 20:25:19 人评论 次浏览
  • 从源码分析DEARGUI之add_color_edit3和4

    def add_color_edit3(*args, **kwargs): # real signature unknown"""Adds an rgb color editing widget. Click and draging the color square will copy the color to be applied on any other color widget.Return Type: NoneParameters__________* nam…

    2021/4/22 20:25:19 人评论 次浏览
  • 从源码分析DEARGUI之add_menu_items

    from dearpygui.dearpygui import * def called_f(a,b): print(a,b)if name == ‘main’: add_additional_font(“潦草丫丫字体.ttf”,size=30)# add_item_color_style("name",style=2,color=[0.1,0.5,0.3]) # add_combo("tst", ["a", &quo…

    2021/4/22 20:25:18 人评论 次浏览
扫一扫关注最新编程教程