i = 0; i 500; i++) {
sleep(1);
fprintf(slave_file, child's data (%d)\n, i);
}
}
return 0;
}
=
21.11.09, 09:39, Till Harbaum / Lists li...@harbaum.org:
Hi,
thanks again
Hi,
thanks again for that hint. Unfortunately adding
/* switch to line buffered mode */
if(setvbuf(fh, NULL, _IOLBF, 0))
perror(setvbuf(_IOLBF));
to the program posted by Dov doesn't change anything.
Are there limitations on changing the buffer mode? E.g.
only
Rodriguez
emmanuel.rodrig...@gmail.com wrote:
On Thu, Nov 19, 2009 at 10:11 PM, Till Harbaum / Lists li...@harbaum.org
wrote:
Hi,
i am trying to run a text mode application in the background of my gtk
one
and display its output in a textview. I know this is supposed to be done
Hi,
i am trying to run a text mode application in the background of my gtk one and
display its output in a textview. I know this is supposed to be done using
g_spawn_async_with_pipes and then link to the output via g_io_add_watch. I even
got something that sort of works, but the output is very
Hi,
i'd like to do some graphic overlay. In this particular case i'd like to put
two buttons on top of a goocanvas.
I tried to hook into the expose event and just draw something to the gdkwindow
of the widget. That simply doesn't work. It works with a gtkdrawingarea, but
not with the
Hi,
i have buttons with icons inside. For some reason the button is slightly bigger
than it needs to
be. Where do i adjust the border that's drawn around an icon in a button? Also
this only affects
the height. Is there some kind of preferred vertical size of a button?
Regards,
Till
Hi,
Am Dienstag 20 Januar 2009 schrieb frederico schardong:
But now I must use allegro and libglade together.
Why not:
gcc -o main main.c `pkg-config --cflags --libs libglade-2.0` `allegro-config
--libs`
Till
___
gtk-app-devel-list mailing list
Hi,
is there a way to wait for gtk events via some file descriptor
given to a select call?
I am porting an application to gtk that calls some gimme_input
function every now and then and want's me to do some waiting
for net sockets there. Now i'd like to use the same select call
i am using for
Hi,
weird: the same code works as expected on the nokia n810.
My problem with the fact the changing the stausbar backround color
also only happens on the PC and works as expected on the n810.
How comes? Why are there at least two things not working as
advertised on a stock ubuntu hardy unit but
Hi,
sorry to bother you again with a question. I am trying to set the background
color of a
statusbar. I have found several postings in the net indicating that this is
just a matter
of adding the statusbar to an eventbox and setting the background color of that.
However ... that just doesn't
Hi,
Am Freitag 14 November 2008 schrieb Garth's KidStuff:
The one subtle point for me was that any Gtk::Entry controls in the dialog
ate the return unless I did the following:
Gtk::Entry m_IDC_ADD_PAGE_TITLE;
...
m_IDC_ADD_PAGE_TITLE.set_activates_default(true); // Enter while
Hi,
i just noticed, that there seems to be some automatic key binding for
the Escape key to the cancel/No/Close buttons of gtkdialogs. But there
doesn't seem to be a binding for Open/Yes/Ok which i expected to be
the Return key.
Are these bindings documented somewhere? I can't find anything.
Hi,
i have the following problem: I have a dialog with variable contents. Since this
content may even exceed the screen size (which isn't too difficult on a nokia
n810) i have put the entire content into a scrolled window.
My problem now is the dialog size. I want the dialog as small as possible
Hi,
Am Samstag 25 Oktober 2008 schrieb James Scott Jr:
-- vbutton_box(x,y,z) -- postioned using end
Argh ... i can't believe i never realized that there's also a
gtk_box_pack_end. Thanks for pointing this out :-)
Till
___
gtk-app-devel-list
Hi,
i have a vbox with a bunch of buttons. I want some of them to appear at the top
and some of them at the bottom. The buttons should not be expanded and the
space between them should also not expand except the space between the two
groups. Something like this:
(a)
(b)
(c)
(x)
(y)
(z)
How
Hi,
you have to make sure that the parameters of your callback function
exactly match what's been described for this particular event. In your
case your have to check the clicked event for a GtkButton which gives
us:
void user_function(GtkButton *button, gpointer user_data)
So this is how
Hi,
is this the right place to ask a question about gnomecanvas?
I am using gnomecanvas for a mapping application (an openstreetmap editor for
maemo). Sometimes items are stacked (e.g. a building is a polygon which may
be placed in some some park which also is a polygon). The problem is that i
Hi,
i have simple problem but hakf an hour of googling didn't give me an answer:
How do i make an editable gtktextview inside a scrolledwindow to automatically
scroll to the cursor position?
This must be a very basic issue and i am sure it is answered in various simple
examples. But i just
dealing with textviews inside a scrolled
window do this with non-editable textviews ...
Thanks again,
Till
Am Montag 19 Mai 2008 schrieb [EMAIL PROTECTED]:
On Monday 19 May 2008 13:23:39 Till Harbaum / Lists wrote:
Hi,
i have simple problem but hakf an hour of googling didn't give me
. And in fact it _must_ be placed
directly to make the scrollbars work as expected.
Till
Am Montag 19 Mai 2008 schrieb Till Harbaum / Lists:
Hi,
i have simple problem but hakf an hour of googling didn't give me an answer:
How do i make an editable gtktextview inside a scrolledwindow to automatically
to
the column. Thus one can use gtk_tree_view_column_set_expand(TRUE)
on that column and voila ... the column scales nicely with the window width.
Till
Am Freitag 25 April 2008 schrieb Till Harbaum / Lists:
Hi,
i have a gtktreeview filling the complete width of a window. Now i want the
view
Hi,
i have a gtktreeview filling the complete width of a window. Now i want the
view to always use the full width. I therefore want the middle column (a text
column) to be flexible. I want it to be as wide as possible for any given window
width. So if you make the window wider i want this column
Hi,
i am still fighting with a strange problem. Some things need to be combined to
trigger it:
- I have a tabbed notebook
- One initially not visible (read: not the first) tab contains a scrolled win
- Inside this win are mutliple textviews (or gtkhtml views) in a vbox or table
- At least one of
23 matches
Mail list logo