Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
zetcode-zh
提交
59795349
Z
zetcode-zh
项目概览
OpenDocCN
/
zetcode-zh
8 个月 前同步成功
通知
2
Star
157
Fork
40
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zetcode-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
59795349
编写于
6月 21, 2020
作者:
W
wizardforcel
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
2020-06-21 21:01:19
上级
7247f5dc
变更
38
隐藏空白更改
内联
并排
Showing
38 changed file
with
51 addition
and
51 deletion
+51
-51
docs/graph/25.md
docs/graph/25.md
+1
-1
docs/gui/103.md
docs/gui/103.md
+1
-1
docs/gui/104.md
docs/gui/104.md
+1
-1
docs/gui/118.md
docs/gui/118.md
+2
-2
docs/gui/160.md
docs/gui/160.md
+2
-2
docs/gui/161.md
docs/gui/161.md
+2
-2
docs/gui/168.md
docs/gui/168.md
+1
-1
docs/gui/176.md
docs/gui/176.md
+1
-1
docs/gui/178.md
docs/gui/178.md
+2
-2
docs/gui/180.md
docs/gui/180.md
+1
-1
docs/gui/191.md
docs/gui/191.md
+1
-1
docs/gui/192.md
docs/gui/192.md
+2
-2
docs/gui/198.md
docs/gui/198.md
+1
-1
docs/gui/201.md
docs/gui/201.md
+1
-1
docs/gui/202.md
docs/gui/202.md
+2
-2
docs/gui/203.md
docs/gui/203.md
+1
-1
docs/gui/204.md
docs/gui/204.md
+3
-3
docs/gui/205.md
docs/gui/205.md
+1
-1
docs/gui/206.md
docs/gui/206.md
+1
-1
docs/gui/212.md
docs/gui/212.md
+1
-1
docs/gui/234.md
docs/gui/234.md
+2
-2
docs/gui/235.md
docs/gui/235.md
+1
-1
docs/gui/236.md
docs/gui/236.md
+1
-1
docs/gui/237.md
docs/gui/237.md
+2
-2
docs/gui/238.md
docs/gui/238.md
+2
-2
docs/gui/239.md
docs/gui/239.md
+1
-1
docs/gui/263.md
docs/gui/263.md
+1
-1
docs/gui/280.md
docs/gui/280.md
+1
-1
docs/gui/290.md
docs/gui/290.md
+1
-1
docs/gui/299.md
docs/gui/299.md
+1
-1
docs/gui/315.md
docs/gui/315.md
+1
-1
docs/gui/316.md
docs/gui/316.md
+2
-2
docs/gui/320.md
docs/gui/320.md
+1
-1
docs/gui/344.md
docs/gui/344.md
+2
-2
docs/gui/345.md
docs/gui/345.md
+1
-1
docs/gui/50.md
docs/gui/50.md
+1
-1
docs/gui/77.md
docs/gui/77.md
+1
-1
docs/gui/91.md
docs/gui/91.md
+1
-1
未找到文件。
docs/graph/25.md
浏览文件 @
59795349
...
...
@@ -362,7 +362,7 @@ g2d.drawString(sent1, 20, 30);
![
Unicode
](
img/94bf0fb8ea97f32f99b8ca96b889770f.jpg
)
Figure:
Unicode
图:
Unicode
## 阴影文字
...
...
docs/gui/103.md
浏览文件 @
59795349
...
...
@@ -438,7 +438,7 @@ gs.AddMany( [(wx.Button(self, label='Cls'), 0, wx.EXPAND),
![
Calculator
](
img/963addf732e43a9ec5ec3a52ea41edf6.jpg
)
Figure: Calculator
图:计算器
## `wx.FlexGridSizer`
...
...
docs/gui/104.md
浏览文件 @
59795349
...
...
@@ -93,7 +93,7 @@ def OnMove(self, e):
![
Move event
](
img/cecccdda7bf15a6d573e1dd0225e96b0.jpg
)
Figure: Move event
图:移动事件
## wxPython 事件绑定
...
...
docs/gui/118.md
浏览文件 @
59795349
...
...
@@ -176,7 +176,7 @@ void configure_callback(GtkWindow *window,
![
Move event
](
img/f2473b451f60a82757a7bcc5fafd7806.jpg
)
Figure: Move event
图:移动事件
## 输入信号
...
...
@@ -351,7 +351,7 @@ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget))) {
![
Disconnect
](
img/e7643036265ced6f0b9f0daa9a8dcfa5.jpg
)
Figure: Disconnect
图:断开连接
## 拖放示例
...
...
docs/gui/160.md
浏览文件 @
59795349
...
...
@@ -99,7 +99,7 @@ def changeTitle(self, state):
![
QtGui.QCheckBox
](
img/65f2930dcdd6beb1f4a8dd2b67ea11fd.jpg
)
Figure: QtGui.QCheckBox
图:
`QtGui.QCheckBox`
## 开关按钮
...
...
@@ -472,7 +472,7 @@ def doAction(self):
![
QtGui.QProgressBar
](
img/b4ee2275960055c64c291c3e29c819c7.jpg
)
Figure: QtGui.QProgressBar
图:
`QtGui.QProgressBar`
## `QtGui.QCalendarWidget`
...
...
docs/gui/161.md
浏览文件 @
59795349
...
...
@@ -164,7 +164,7 @@ def onChanged(self, text):
![
QtGui.QLineEdit
](
img/f5542f68cb944b264bce7939b71d33a5.jpg
)
Figure: QtGui.QLineEdit
图:
`QtGui.QLineEdit`
## `QtGui.QSplitter`
...
...
@@ -376,6 +376,6 @@ def onActivated(self, text):
![
QtGui.QComboBox
](
img/6412d9e6c5949a79c6da5677b60e93c9.jpg
)
Figure: QtGui.QComboBox
图:
`QtGui.QComboBox`
在 PySide 教程的这一部分中,我们介绍了其他四个 PySide 小部件。
\ No newline at end of file
docs/gui/168.md
浏览文件 @
59795349
...
...
@@ -277,7 +277,7 @@ grid rowconfigure .fr 0 -pad 3
![
Calculator
](
img/c4de7f838b0aa3a11e3293eb8b6a8741.jpg
)
Figure: Calculator
图:计算器
## Windows 示例
...
...
docs/gui/176.md
浏览文件 @
59795349
...
...
@@ -694,7 +694,7 @@ mainText.setLayoutData(data4);
![
New folder
](
img/55ef6ee082ceeb5d7a38883d8c072535.jpg
)
Figure: New folder
图:新文件夹
## `GridLayout`
...
...
docs/gui/178.md
浏览文件 @
59795349
...
...
@@ -242,7 +242,7 @@ private void onButtonSelect(Button cb) {
![
Check button
](
img/db79e5823c552877a75b3ee647d7f227.jpg
)
Figure: Check button
图:复选按钮
## `Spinner`
...
...
@@ -364,7 +364,7 @@ private void onSelected(Spinner spinner) {
![
Spinner
](
img/eb7fff3e310028e028d7233af3a06542.jpg
)
Figure: Spinner
图:旋钮
## `List`小部件
...
...
docs/gui/180.md
浏览文件 @
59795349
...
...
@@ -342,7 +342,7 @@ if (path != null) {
![
Directory dialog
](
img/28450cda227d02cbb5e218f7b5e244ba.jpg
)
Figure: Directory dialog
图:目录对话框
## `FontDialog`
...
...
docs/gui/191.md
浏览文件 @
59795349
...
...
@@ -261,7 +261,7 @@ private void OnDragDrop(object sender, DragEventArgs e)
![
Drag & drop of text
](
img/0dbb8ce142052045886d6e4f660fbdd5.jpg
)
Figure: Drag & drop of text
图:文本拖放
## 拖动图像
...
...
docs/gui/192.md
浏览文件 @
59795349
...
...
@@ -270,7 +270,7 @@ g.FillRectangle(hb, 10, 15, 90, 60);
![
Hatches
](
img/f0cd80e18469bedf5928431df0c81e0d.jpg
)
Figure: Hatches
图:通口
## 渐变色
...
...
@@ -461,7 +461,7 @@ g.DrawString("Meet you downstairs in the bar and heard", ft, br, pt);
![
Lyrics
](
img/a36dc9a3bff33312672669fdf91a2903.jpg
)
Figure: Lyrics
图:歌词
## 绘制图像
...
...
docs/gui/198.md
浏览文件 @
59795349
...
...
@@ -147,7 +147,7 @@ vbox.packStart(halign, false, false, 0);
![
New Folder
](
img/92494a07ad30ec2f4542f4da3aa968be.jpg
)
Figure: New Folder
图:新文件夹
## 窗口
...
...
docs/gui/201.md
浏览文件 @
59795349
...
...
@@ -193,7 +193,7 @@ public boolean onConfigureEvent(Widget widget,
![
Move event
](
img/4d8d83f7d16a6fe847d5f3455555dfc6.jpg
)
Figure: Move event
图:移动事件
## `EnterNotifyEvent`
...
...
docs/gui/202.md
浏览文件 @
59795349
...
...
@@ -227,7 +227,7 @@ vbox.packStart(hsep);
![
HSe
](
img/033d8ce63befd5a349aeaf1b814e5c81.jpg
)
Figure: HSeparator
图:
`HSeparator`
## `CheckButton`
...
...
@@ -467,7 +467,7 @@ public void onChanged(ComboBox comboBox) {
![
TextComboBox
](
img/49de26613c214919863bc7d519e3515a.jpg
)
Figure: TextComboBox
图:
`TextComboBox`
## `Image`
...
...
docs/gui/203.md
浏览文件 @
59795349
...
...
@@ -563,6 +563,6 @@ public void onDaySelected(Calendar calendar) {
![
Calendar
](
img/4580bb4b493a7709d13ab2ef411e1dc4.jpg
)
Figure: Calendar
图:日历
在本章中,我们结束了 Java Gnome 中的小部件的讨论。
\ No newline at end of file
docs/gui/204.md
浏览文件 @
59795349
...
...
@@ -140,7 +140,7 @@ buffer.insert(pointer, "Text in italics", italics);
![
TextView
](
img/30e690312c8e380b6747916edd79eeb7.jpg
)
Figure: TextView
图:
`TextView`
## `ListView`
...
...
@@ -372,7 +372,7 @@ statusbar.setMessage(text);
![
ListView
](
img/7e2ac6266e930c947d0883b720673f86.jpg
)
Figure: ListView
图:
`ListView`
## `TreeView`
...
...
@@ -566,6 +566,6 @@ statusbar.setMessage(text);
![
Tree
](
img/0a0a6d3d6341032e00bc999175439575.jpg
)
Figure: Tree
图:
`Tree`
在本章中,我们讨论的是高级 Java Gnome 小部件。
\ No newline at end of file
docs/gui/205.md
浏览文件 @
59795349
...
...
@@ -279,6 +279,6 @@ about.setLogo(logo);
![
AboutDialog
](
img/c2c6088d56a343fa48453ab1aee7052a.jpg
)
Figure: AboutDialog
图:
`AboutDialog`
在 Java Gnome 教程的这一部分中,我们介绍了对话框。
\ No newline at end of file
docs/gui/206.md
浏览文件 @
59795349
...
...
@@ -339,6 +339,6 @@ Label label = new Label(text);
![
Unicode
](
img/37df57570c836e7b541165ebe12973c3.jpg
)
Figure:
Unicode
图:
Unicode
在 Java Gnome 编程教程的这一章中,我们使用了 Pango 库。
\ No newline at end of file
docs/gui/212.md
浏览文件 @
59795349
...
...
@@ -433,6 +433,6 @@ grid.setColumnStretch(1, 1);
![
New Folder example
](
img/36cbe0b01b825c351fee58efb33551ee.jpg
)
Figure: New Folder example
图:新文件夹示例
在 QtJambi 教程的这一部分中,我们提到了小部件的布局管理。
\ No newline at end of file
docs/gui/234.md
浏览文件 @
59795349
...
...
@@ -133,7 +133,7 @@ protected override bool OnConfigureEvent(Gdk.EventConfigure args)
![
Move event
](
img/071ee573a4b9d433c2782ce818ce402c.jpg
)
Figure: Move event
图:移动事件
## `EnterNotifyEvent`
...
...
@@ -282,6 +282,6 @@ if (cb.Active) {
![
Disconnect
](
img/41431b0d3761a6122e24c9b4a7893cb0.jpg
)
Figure: Disconnect
图:断开连接
本章是关于 GTK# 中的事件的。
\ No newline at end of file
docs/gui/235.md
浏览文件 @
59795349
...
...
@@ -263,7 +263,7 @@ void OnChanged(object sender, EventArgs args)
![
ComboBox
](
img/c2fce922a2ee60e570fa5c6406221b87.jpg
)
Figure: ComboBox
图:
`ComboBox`
## `Image`
...
...
docs/gui/236.md
浏览文件 @
59795349
...
...
@@ -419,6 +419,6 @@ label.Text = cal.Month + 1 + "/" + cal.Day + "/" + cal.Year;
![
Calendar
](
img/4f968c14d0e483156015826aa55bbb6a.jpg
)
Figure: Calendar
图:日历
在本章中,我们结束了有关 GTK# 小部件的讨论。
\ No newline at end of file
docs/gui/237.md
浏览文件 @
59795349
...
...
@@ -445,7 +445,7 @@ if (view.Model.GetIter(out iter, args.Path)) {
![
ListView
](
img/0fea385169610044187f49b5d6c8500f.jpg
)
Figure: ListView
图:
`ListView`
## `TreeView`
...
...
@@ -563,6 +563,6 @@ tree.Model = treestore;
![
Tree
](
img/a4e9d44fe9ff2566da0132f554310788.jpg
)
Figure: Tree
图:
`Tree`
在本章中,我们讨论的是高级 GTK# 小部件。
\ No newline at end of file
docs/gui/238.md
浏览文件 @
59795349
...
...
@@ -195,7 +195,7 @@ about.Logo = new Gdk.Pixbuf("battery.png");
![
AboutDialog
](
img/598a19d225e16a3bef76e447f5c0d046.jpg
)
Figure: AboutDialog
图:
`AboutDialog`
## `FontSelectionDialog`
...
...
@@ -279,7 +279,7 @@ fdia.Response += delegate (object o, ResponseArgs resp) {
![
FontSelectionDialog
](
img/597ade8dd68b00ac413562671b89eb75.jpg
)
Figure: FontSelectionDialog
图:
`FontSelectionDialog`
## `ColorSelectionDialog`
...
...
docs/gui/239.md
浏览文件 @
59795349
...
...
@@ -250,7 +250,7 @@ Label label = new Label(text);
![
Unicode
](
img/02a91034eca419ec52ab437003a4a07a.jpg
)
Figure:
Unicode
图:
Unicode
## 彩色文字
...
...
docs/gui/263.md
浏览文件 @
59795349
...
...
@@ -267,7 +267,7 @@ Label label = new Label(text);
![
Unicode
](
img/0c820608ce20c63de2f267dc5d01da9c.jpg
)
Figure:
Unicode
图:
Unicode
## 属性
...
...
docs/gui/280.md
浏览文件 @
59795349
...
...
@@ -429,6 +429,6 @@ grid.SetColumnStretch(1, 1);
![
New Folder example
](
img/3bd83ecf38b6b321c03c6966c39900d4.jpg
)
Figure: New Folder
example
图:新文件夹
example
在 Qyoto C# 教程的这一部分中,我们提到了小部件的布局管理。
\ No newline at end of file
docs/gui/290.md
浏览文件 @
59795349
...
...
@@ -407,6 +407,6 @@ grid.setColumnStretch 1, 1
![
New Folder example
](
img/0d9530255d1bce972408dd4a07ab7948.jpg
)
Figure: New Folder
example
图:新文件夹
example
在 Ruby Qt 教程的这一部分中,我们提到了小部件的布局管理。
\ No newline at end of file
docs/gui/299.md
浏览文件 @
59795349
...
...
@@ -414,6 +414,6 @@ grid.SetColumnStretch(1, 1)
![
New Folder example
](
img/71a0a79867aad0178ae30d5c95116d38.jpg
)
Figure: New Folder
example
图:新文件夹
example
在 Visual Basic Qyoto 教程的这一部分中,我们提到了小部件的布局管理。
\ No newline at end of file
docs/gui/315.md
浏览文件 @
59795349
...
...
@@ -204,7 +204,7 @@ def OnDragDrop(self, sender, event):
![
Drag & drop of text
](
img/d381165bb75cbd7a4688aaafe54a3428.jpg
)
Figure: Drag & drop of text
图:文本拖放
## 拖动图像
...
...
docs/gui/316.md
浏览文件 @
59795349
...
...
@@ -256,7 +256,7 @@ g.FillRectangle(hb, 10, 15, 90, 60)
![
Hatches
](
img/812ef15b2736fe9fb61df57fb6e970fb.jpg
)
Figure: Hatches
图:通口
## 基本对象
...
...
@@ -450,7 +450,7 @@ g.DrawString("Meet you downstairs in the bar and heard", ft, br, pt)
![
Lyrics
](
img/c918862b90b917ebdcc3a5cf30cb8969.jpg
)
Figure: Lyrics
图:歌词
## 绘制图像
...
...
docs/gui/320.md
浏览文件 @
59795349
...
...
@@ -650,7 +650,7 @@ g_signal_connect(cbtn, "clicked", _
![
Check button
](
img/1193da9b12fe5ed8a31677054780077f.jpg
)
Figure: Check button
example
图:复选按钮
example
## `ComboBox`示例
...
...
docs/gui/344.md
浏览文件 @
59795349
...
...
@@ -101,7 +101,7 @@ g.FillRectangle(hb, 10, 15, 90, 60)
![
Hatches
](
img/c682cc3af35f547f91652512d260b01d.jpg
)
Figure: Hatches
图:通口
## 基本形状
...
...
@@ -546,7 +546,7 @@ g.DrawString("Meet you downstairs in the bar and heard", ft, br, pt)
![
Lyrics
](
img/4eb63f09a50fdd291ab6a3dfc84930ca.jpg
)
Figure: Lyrics
图:歌词
## 等待
...
...
docs/gui/345.md
浏览文件 @
59795349
...
...
@@ -246,7 +246,7 @@ End Sub
![
Drag & drop of text
](
img/31cffdc8b2c808edd87369b61750d143.jpg
)
Figure: Drag & drop of text
图:文本拖放
## 拖动图像
...
...
docs/gui/50.md
浏览文件 @
59795349
...
...
@@ -486,7 +486,7 @@ self.pack()
![
Calculator
](
img/64b25fdc20e682bd98e8e1e5790b5bc4.jpg
)
Figure: Calculator
图:计算器
### Windows 示例
...
...
docs/gui/77.md
浏览文件 @
59795349
...
...
@@ -752,7 +752,7 @@ root.add(field, 1, 0, 3, 1);
![
New folder
](
img/1e8124a51c26718a4fac89bab02c48e9.jpg
)
Figure: New folder
图:新文件夹
## `MigPane`
...
...
docs/gui/91.md
浏览文件 @
59795349
...
...
@@ -214,7 +214,7 @@ wxPoint size = event.GetPosition();
![
Move event
](
img/5e9c0c0e1bba743eec45b8bfd0d15068.jpg
)
Figure: Move event
图:移动事件
## 事件传播
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录