摘要:
### 说明:效果是一个wxNotebook 的第一个Tab 里面分割为左边和右边,左边分为上下两个部分,三个部分大小可以拖动改变,并且捕获到窗口大小变化的事件!-module(sashWindow3plus).-behaviour(wx_object).%% Client API-export([... 阅读全文
posted @ 2015-03-25 16:37
ShankYan
阅读(626)
评论(0)
推荐(0)
摘要:
一:array:可以和list , orddict相互转化, 它的好处是像数组一样可以按照顺序获取第几个值二:proplistsDESCRIPTIONProperty lists are ordinary lists containing entries in the form of either ... 阅读全文
posted @ 2015-03-25 16:17
ShankYan
阅读(947)
评论(0)
推荐(0)
摘要:
主要参考这个网站就好了,但是目前这个网站似乎打开不太方便了 http://dhq.me/ 一个类似网站 http://erldoc.com/ 非常感谢站长的分享, 菜鸟会能够学习很多的 这里可以看到不少资源 http://www.erlang cn.com/ 接下来就是一些牛人的博客了 阅读全文
posted @ 2015-03-25 13:23
ShankYan
阅读(212)
评论(0)
推荐(0)
摘要:
-module(ex_grid).-behaviour(wx_object).%% Client API-export([start/1, new/0]).%% wx_object callbacks-export([init/1, terminate/2, code_change/3, han... 阅读全文
posted @ 2015-03-25 11:41
ShankYan
阅读(672)
评论(0)
推荐(0)
摘要:
code path: the code path consists of the current working directory and all Erlang object code directories under the library directory $OTPROOT/lib, wh 阅读全文
posted @ 2015-03-25 11:37
ShankYan
阅读(1541)
评论(0)
推荐(1)
摘要:
-module(ex_aui).-behaviour(wx_object).%% Client API-export([start/1, new/0]).%% wx_object callbacks-export([init/1, terminate/2, code_change/3, hand... 阅读全文
posted @ 2015-03-25 11:28
ShankYan
阅读(415)
评论(0)
推荐(0)
摘要:
到目前为止还没做到用erlang在编辑框里面实现换行,这个得下次处理下! % 在Erlang 中,wxTextCtrl控件的使用是和string 这个模块密切相关的 module(text_spin). behaviour(wx_object). export([new/0, start/1, de 阅读全文
posted @ 2015-03-25 10:30
ShankYan
阅读(535)
评论(0)
推荐(0)
摘要:
-module(text_ctrl_draw).-behaviour(wx_object).-export([new/0, start/1, destroy/0]).-export([init/1, terminate/2, code_change/3, ... 阅读全文
posted @ 2015-03-25 10:25
ShankYan
阅读(417)
评论(0)
推荐(0)
摘要:
erlang生成日期如 "2015 03 05" 一般生成的是 "2015 3 5" 一: 生成格式如:"2010 01 10" datetime_utils:datetime_as_string({erlang:date(), undefined}) datetime_as_string({{Y, 阅读全文
posted @ 2015-03-25 10:10
ShankYan
阅读(155)
评论(0)
推荐(0)
摘要:
预:7 [I || <<I:1 <= <<"abc" ].[0,1,1,0,0,0,0,1,0,1,1,0,0,0,1,0,0,1,1,0,0,0,1,1]8 [I || <<I:8 <= <<"abc" ]."abc"(0)list_to_binary("www.Shank.kuang"). <<... 阅读全文
posted @ 2015-03-25 10:05
ShankYan
阅读(1369)
评论(0)
推荐(0)
摘要:
string 的一些功能操作,这些可能和wxTextCtrl 控件配合使用的比较多 (0)目的:["a","b","c","d"] "abcd"
L1 = ["a","b","c","d"],
binary_to_list(list_to_binary(L1)).
"abcd" (1)求字符串的... 阅读全文
posted @ 2015-03-25 09:55
ShankYan
阅读(1370)
评论(0)
推荐(0)

浙公网安备 33010602011771号