wx.ToolBar A toolbar is a bar of buttons and/or other controls usually placed below the menu bar in a wx.Frame. You may create a toolbar that is manag ...
分类:
其他好文 时间:
2016-11-26 14:41:39
阅读次数:
360
wx.Dialog A dialog box is a window with a title bar and sometimes a system menu, which can be moved around the screen. It can contain controls and oth ...
分类:
其他好文 时间:
2016-11-26 14:27:19
阅读次数:
185
wx.Button A button is a control that contains a text string, and is one of the most common elements of a GUI. It may be placed on a dialog box or on a ...
分类:
其他好文 时间:
2016-11-26 14:13:38
阅读次数:
242
wx.Notebook This class represents a notebook control, which manages multiple windows with associated tabs. To use the class, create a wx.Notebook obje ...
分类:
其他好文 时间:
2016-11-26 13:54:31
阅读次数:
242
一、toast 消息提示框 他用到了一个wx.showToast(object) 这样一个方法。作用是显示提示框。 /* page/test/test.wxml */ <button bindtap="binToast">toast<button/> /* page/test/test.wxml * ...
分类:
Web程序 时间:
2016-11-22 12:35:42
阅读次数:
251
这段内容要放到</body>结束 !!放在head都不行。。。。唉 <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> <script> wx.config({ debug: true, appId: 'wx26 ...
分类:
微信 时间:
2016-11-18 22:06:57
阅读次数:
288
利用python的wx库写个ui界面,用来把android设备的截图输出到电脑屏幕,前提需要安装adb,涉及到的python库也要安装。代码如下: 运行截图: 优点: 1. 比uiautomatorviewer运行速度快,比monitor更快; 2. 可以针对多个设备,选择性进行截屏; 3. 截屏以 ...
分类:
移动开发 时间:
2016-11-17 23:36:14
阅读次数:
313
提示框: wx.showToast(OBJECT) 显示消息提示框 OBJECT参数说明: 示例代码: wx.hideToast() 隐藏消息提示框 wx.showModal(OBJECT) ?显示模态弹窗 OBJECT参数说明: 示例代码: wx.showActionSheet(OBJECT) ? ...
分类:
微信 时间:
2016-11-17 13:59:41
阅读次数:
759
网络状态: wx.getNetworkType(OBJECT) 获取网络类型。 OBJECT参数说明: 系统信息: wx.getSystemInfo(OBJECT) 获取系统信息。 OBJECT参数说明: success回调参数说明: 示例代码: wx.getSystemInfoSync() 获取系 ...
分类:
微信 时间:
2016-11-17 13:41:43
阅读次数:
437
wx.login(OBJECT) 调用接口获取登录凭证(code)进而换取用户登录态信息,包括用户的唯一标识(openid) 及本次登录的 会话密钥(session_key)。用户数据的加解密通讯需要依赖会话密钥完成。 OBJECT参数说明: success返回参数说明: 示例代码: code 换取 ...
分类:
微信 时间:
2016-11-17 13:04:24
阅读次数:
565