I worked on this a little more and tried to make it UTF-8 compliant.
Highlighted the text also. It should still be efficient since it is only doing
a single pass over each char. I am sure there are things that I haven't
considered but it does a little more than the first try at it.
https://
Hi Roger,
I put together a test example of GSubprocess. It starts Gnuplot, sets up the
pipes and callbacks, and then when Gnuplot is done it opens the graph in an
image widget. The GSubprocess will take care of the file descripters for you.
Also, if I run valgrind with multiple plots being c
In GTK3 you would have everything that you need. The
gtk_text_iter_forward_search() function can use
GTK_TEXT_SEARCH_CASE_INSENSITIVE. I don't see that in GTK2.
Another thought. The GTK Source View can find words and highlight them for you.
You might want to check that out also. It has some s
Hi Roger,
A little while back I was testing something similar with
g_spawn_async_with_pipes(). It is neither mission-critical or meticulous but
something I was just testing for the possible use with gnuplot. There is a
driver.c and a worker.c program. The driver spawns the worker and sets up
Hi Emmanuele,
I see the style property "action-area-border" in the documentation for the
Dialog. Still learning how to use CSS effectively and am using GTK3.18
currently which has a different CSS syntax than the newer GTK versions. Figure
I will still use a few deprecated functions so I do
I like the gtk_dialog_get_action_area() function. It makes it easy to set
something like the border width of the container.
action_area=gtk_dialog_get_action_area(GTK_DIALOG(dialog));
gtk_container_set_border_width(GTK_CONTAINER(action_area), 20);
Maybe no big deal and can be done
Hi Roger,
Would this be similar to using a GtkLayout and a GtkDrawingArea? If you add a
drawing area to a layout you get draw scrolling and the layout can update the
part of the drawing area shown on the screen even though the drawing might be
on a larger area.
Eric
-Original Mes
My guess is that it has something to do with how GTK is drawing. Look at the
double buffered reference.
https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-double-buffered
For drawing transparent backgrounds GTK changed something in the drawing code
in 3.10. When I was usi
You can create your own widgets to look and work like you want with GTK+. There
is a good example on the gtkmm tutorial which is worth looking at if you are
interested in doing this. It also shows a little on how you can use CSS to set
some properties on your new widget.
https://developer.gnom
It could be a problem with the double buffering.
gtk_widget_set_double_buffered()
Try to set that to false and see if that makes any difference. This is on
Linux? Usually you don't need this function any more and it is deprecated but
it can sometimes still be useful. I know to get gnuplot pict
101 - 110 of 110 matches
Mail list logo