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,
Hi Nickolai,
Stefan,
Thanks for the information. Looks like the second option is simpler.
By chance, is there any sample code that illustrates this? I have a
hard time imagining how DrawingArea, for example, could be forced to
draw its content inside TreeView.
Thanks much,
Nickolai
I
Greg Breland wrote:
On Thu, 2005-07-07 at 08:06, Luca Cappa wrote:
Hello all,
I found that if a create a window and I put inside this window a widget,
the window could not resize itself to a size smaller than the one
requested by its child. How to overcome this problem?
Hi,
I'm creating a pop-up menu which is shown when I click inside a
button. I added accelerators to the menu items (CTRL + B), but these
do not work. If I explicitly pop up the menu and then click on the
menu item, then the activate signal is called for the menu item, but
not if I use the
On Fri, 2005-07-08 at 13:32 +0530, Gaurav Jain wrote:
Hi,
I'm creating a pop-up menu which is shown when I click inside a
button. I added accelerators to the menu items (CTRL + B), but these
do not work. If I explicitly pop up the menu and then click on the
menu item, then the activate
Hi
I am interested in knowing the low level APIs used by GTK which
talk
to the frame buffer ..
does GTK directly do that or does it uses any base library for
that ..
Thank You
Read about GTK and GDK(and GdkImage or something like that).
It's extension allow OpenGL in GTK...
Regards.
I need to send a data structure over an io_channel. In the
reference
manual, I found that the only available instruction to write data
in a
channel is:
GIOStatus g_io_channel_write_chars(GIOChannel *channel,
const gchar *buf,
Thank you so much!
Yes, that worked.
-Gaurav
On 7/8/05, Daniel Pekelharing [EMAIL PROTECTED] wrote:
On Fri, 2005-07-08 at 13:32 +0530, Gaurav Jain wrote:
Hi,
I'm creating a pop-up menu which is shown when I click inside a
button. I added accelerators to the menu items (CTRL + B), but
Hi Again,
I had another query in relation to Menu accelerators. I need to add
more than one accelerator to the same menu item. Say, CTRL + B, and
CTRL + I, both added to the activate signal. Now when I press CTRL
+ B, the activate callback is called, but there seems to be no way for
me to know
I am interested in knowing the low level APIs used by GTK which talk
to the frame buffer .. does GTK directly do that or does it uses
any base library for
Read the source code?
As long as we talk about the stable, supported GTK targets (X11 and
Win32), well, the target names pretty much tell
Vivien Malerba writes:
if it's on the same machine, then no problem!).
...as long as the writer and reader processes are compiled with the
same compiler and compiler options, that is.
--tml
___
gtk-app-devel-list mailing list
GdkPixmap *pixmap;
GdkPixbuf *pixbuf;
GdkGC *gc;
pixbuf =
pixmap = gdk_pixbuf_new(NULL,
gdk_pixbuf_get_width(pixbuf),
gdk_pixbuf_get_height(pixbuf),
On 7/8/05, Vivien Malerba [EMAIL PROTECTED] wrote:
Beware however that depending on the contents of your structure, you
may have some problems if you exchange data this way between machines
which do not have the same endian-ness (if it's on the same machine,
then no problem!).
should not be
On Fri, 8 Jul 2005, Vivien Malerba wrote:
On 7/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
g_io_channel_write_chars(channel, (const gchar *)your_struct, sizeof
(your_struct), written, errors);
Beware however that depending on the contents of your structure, you
may have some problems if
On Fri, 8 Jul 2005, [gb2312] 顺珉 吴 wrote:
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
hi;
i have a pbm with displaying treeview. i created tree using
glade.later using lookup and list store i created view and model. now
when i appending tree, every time list is creating again. ofcourse i
displayed treeview in button press event (with out that i can't see the
tree it self).
GLib 2.7.2 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.7/
glib-2.7.2.tar.bz2 md5sum: df221afd5f475ba99f2afc1320f7693e
glib-2.7.2.tar.gz md5sum: 1554be4c910e3f5d1357c7bf93748525
This is the second development release leading up to GLib 2.8.
Notes:
* This is unstable
GTK+ 2.7.2 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.7/
gtk+-2.7.2.tar.bz2 md5sum: d8b78b20725eb38dcc545a0499aa68ff
gtk+-2.7.2.tar.gz md5sum: 92ae255168642787582539437c2eae3c
This is the third development release loading up to GTK+ 2.8.
Notes:
* This is unstable
Hi there. No offense, but I think this question would be more
appropriately asked at:
www.linuxquestions.org or www.fedoraforum.org
On 7/7/05, harshavardhanreddy mandeepala [EMAIL PROTECTED] wrote:
HI
I am using Linux Fedora Core 3.
When we swith on linux system it will show booting
Madeningly, it is not included with Fedora, or Mandrake. Fortunately,
on Mandrake at least, it is easy to install with urpmi (assuming
correct repositories are set up). I assume it can also easily be
installed on Fedora with yum.
Chris Anderson
On 7/7/05, Ken Siersma [EMAIL PROTECTED] wrote:
Hello.
Suppose I have a number (like 8) of modes of operation for a program. They
all work in similar fashion, so you could switch between them seemlessly.
Much like different tools in The GIMP.
However, I don't want to put a number of buttons in the toolbar for the
modes, partially because I
I'm trying to get a TreeStore in a ComboBox to look like I want but
haven't been able to do so.
I'm trying to design a form to be used with a database of business
records.
I have categories under Income and Expense, which I wish to be
separated from each other. I can get the setup I want by
On Fri, 2005-07-08 at 20:58 -0500, David wrote:
I'm trying to get a TreeStore in a ComboBox to look like I want but
haven't been able to do so.
I'm trying to design a form to be used with a database of business
records.
I have categories under Income and Expense, which I wish to be
On Fri, Jul 08, 2005 at 10:13:47PM -0400, Matthias Clasen wrote:
On Fri, 2005-07-08 at 20:58 -0500, David wrote:
I'm trying to get a TreeStore in a ComboBox to look like I want but
haven't been able to do so.
[... getting top-level row of TreeStore non-selectable ... ]
Make the toplevel
Paul Pogonyshev [EMAIL PROTECTED] writes:
However, it seems that in the new (2.4 and up) toolbar API there is no
easy way to add a random widget to a toolbar (well, I could subclass
GtkToolItem, but...)
Any suggestions? A different design might solve a problem as well as a
simple way of
25 matches
Mail list logo