close
要檢查gtk程式除了手動gprintf,
還可以在程式中使用這個 function 來做一點簡單的檢查 :

g_return_val_if_fail
(expr)
Logs a warning if the expression is not true.

其他參見

Message Output and Debugging Functions

Message Output and Debugging Functions — functions to output messages and help debug applications



arrow
arrow
    全站熱搜

    tttt 發表在 痞客邦 留言(0) 人氣()