I am using gthread to create a multi-thread
program.Every thread will open many sockets, and I use
select() to handle them.
Now I find in linux, a fd_set could only accept 1024
fd.
The number of sockets one thread open can be
restricted, but if all threads in a process share the
same fd number, 102
I want all icons and images my programm used be
packaged in to the final execute binary file.
How can I do this?
Thanks.
___
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
http://cn.mail.yahoo.com/?id=77071
_
There are two types of convert functions:
the g_locale_to(from)_utf8 and the
g_filename_to(from)_utf8().
The first says it "Converts a string which is in the
encoding used for strings by the C runtime (usually
the same as that used by the operating system) in the
current locale into a UTF-8 strin
Thanks! I am going to check it.
--- Shixin Zeng <[EMAIL PROTECTED]>写道:
> Hi, 吴顺珉
>
> On 5/20/05, 顺珉 吴 <[EMAIL PROTECTED]> wrote:
>
> > 1.The program can deal with english (ascii)
> filename and info well, but I
> > don't know how to deal with other
Hi Muthiah:
Thanks for your reply.
About the question 4, I am not sure whether the
libglade is used if I use the Glade to build my GUI?
--- Muthiah Annamalai <[EMAIL PROTECTED]>写道:
> Hi!
> Ill try to answer some of your questions... that
> seem
> quite simple..
>
> > 2.I still cann't make the g_
I am trying to build a bittorrent client based on gtk/c myself, (because I fell
python and java are not so "pure". ^_^ )
And these things troubles my badly.
1.The program can deal with english (ascii) filename and info well, but I don't
know how to deal with other types if encoded string. Chin
I think you can try to use g_strchug and g_strchomp to remove all blank space
in your string.
David Hampton <[EMAIL PROTECTED]> 写道:I'm having problems with data alignment
in a tree view column in
gtk-2.4. I can get the data right aligned by either setting the xalign
property on the tree column (
;
Unless I got something all wrong here...
Hope this Helps
Daniel Pekelharing
On Wed, 2005-05-18 at 20:03 +0800, 顺珉 吴 wrote:
> when I add these code,my program will crash at the
> start, and report segments falt?:
>
> if (!g_thread_supported())
> g_thread_init();
>
> gdk
when I add these code,my program will crash at the
start, and report segments falt?:
if (!g_thread_supported())
g_thread_init();
gdk_thread_enter();
gtk_set_local();
gtk_init();
/* init my gtk window here */
gtk_main();
gdk_thread_leave();
return;
But it work fine if I remove these and use singl
The gtkdialog destroy itself when get a esc key. How
can I trap the key and disable this feature?
And can I get the key input and deal with it myself in
common types of gtkwidget?
Thanks.
_
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yis
10 matches
Mail list logo