gtkmm is the official C++ interface for the popular GUI library GTK+. Highlights include typesafe callbacks, and a comprehensive set of widgets that are easily extensible via inheritance. You can create user interfaces either in code or with the Glade User Interface designer, using libglademm. There's extensive documentation, including API reference and a tutorial.
gtkmm is free software distributed under the GNU Library General Public License (LGPL).
gtkmm follows the official GNOME Platform Bindings release schedule. This guarantees API/ABI-stability and new releases on a predictable schedule, delivering C++ API for the underlying GTK+ and GNOME APIs as soon as possible.
다른거 업ㅂ고 GTK+를 C++로 바인딩한것이 GTK-- 이다. 간단히 gtkmm 으로 부른다.
\ 뭐 여담이지만 \ forth 도움말시스템.. \ help-system <cr> 을 입력하면 모듈이 뜬다.. \ help-system <word> 를 치면 <word>에 해당하는 낱말에 대한 설명이 나온다.
Maths operations 수학 낱말들.
뭐 번역 안해줘도 되지?
+ \ n1|u1 n2|u2 -- n3|u3
Add two single precision integer numbers: n3=n1+n2. The stack comment indicates that the operation works for both signed and unsigned numbers.
- \ n1|u1 n2|u2 -- n3|u3
Subtract two single precision integer numbers: n3=n1-n2.
* \ n1 n2 -- n3
Standard signed multiply: n3 = n1 * n2.
/ \ n1 n2 -- n3
Standard signed division operator: n3 = n1/n2.
MOD \ n1 n2 -- n3
Standard signed division operator returning the remainder: n3 = n1 mod n2.
UM* \ u1 u2 -- ud3
An unsigned multiply that produces an unsigned double result.
*/ \ n1 n2 n3 -- n4
Multiply n1 by n2 to give a double precision result, and then divide it by n3 returning the quotient. The point of this operation is to avoid loss of precision. The ANS standard permits systems to restrict n3 to positive numbers. This word is ideal for scaling operations, e.g. after reading an analogue to digital converter or converting radians to degrees. : PI \ n ?- n*pi 355 113 */ ; n1 n2 곱하고 n3으로 나눔.
UM/MOD \ ud u -- urem uquot
Perform unsigned division of double number ud by single number u and return the remainder and quotient. In most CPU architectures that have divide operations, the remainder is produced at the same time as the quotient. Note that the dividend is a double number. Often used in conjunction with UM* for scaling operations that take advantage of an intermediate double result to preserve precision. 여기엔 안나와있지만 /mod도 있다.
NEGATE \ n1 -- n2
Negate a single precision integer number. 부정... 이라는 뜻. 음수는 양수로. 양수는 음수로.
ABS \ n -- u
If n is negative, return its positive equivalent (absolute value). 절대값
MIN \ n1 n2 -? n1|n2
Return the lesser of n1 and n2. 둘중 작은놈
MAX \ n1 n2 -? n1|n2
Return the greater of n1 and n2. 둘중 큰놈
Comparisons 비교 연산자.
In Forth there is no basic boolean type. The stack value 0 (all bits clear) is taken to represent FALSE, while any other value is taken to represent TRUE. The stack notation flag indicates a “well formed flag” which means that a TRUE value is represented by all bits set, which corresponds to the number ?1 for most CPUs. 포스시스템에서는 기본적인 진위형 데이터타입이 없다. 스텍값이 0 (모든 비트가 클리어) 이면 거짓, 다른 값 (그게 뭐든간에) 이 들어있으면 참으로 인식한다. 좋은 모양의 flag는 모든 비트가 set 된 상태로서 대부분의 머신에서는 -1이다. (왜 -1인지 이해 안되면 2의보수부터 다시공부하자.)
< \ n1 n2 -- flag
Returns true if n1<n2
> \ n1 n2 -- flag
Returns true if n1>n2
U< \ u1 u2 -- flag
Unsigned, returns true if u1<u2
U> \ u1 u2 -- flag
Unsigned, returns true if u1>u2
= \ n1 n2 -- flag
Returns true if n1=n2 C언어에서의 ==
<> \ n1 n2 -- flag
Returns true if n1 is not equal to n2 c언어에서의 !=
0= \ x1 -- flag
Returns true if x1=0.
0<> \ x1 -- flag
Returns true if x1 is not equal to 0.
WITHIN \ n1|u1 n2|u2 n3|u3 -? flag
Return TRUE if n2|u2 <= n1|u1 < n3|u3. Note the conditions. This word uses unsigned arithmetic, so that signed compares are treated as existing on a number circle. n2 <= n1 < n3 인데.. 뭐 쉽게 말하면 n1이 n2이상 n3 미만이면 참. 중간값 작은값 큰값 되시겠다.n1이 사이에 끼어있으면 참임.
댓글.......ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
댓글에 성의좀..ㅠㅜ
성의
우분투에서 해 보면 재밌겠당;;
오사카 들렀다감~~