[Resending this to the list, and casting a vote for having Reply-To: list]
On Mon, 24 Feb 2003, Havoc Pennington wrote:
On Mon, Feb 24, 2003 at 10:36:37AM -0600, Lars Clausen wrote:
In working on using a TextView widget for editing text in Dia, I notice
that there's a significant difference
The textview widget, when in WORD_WRAP mode, considers underscores and
* characters to be word boundaries. Is there any way to avoid this?
Kasper
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Hi
I'm trying to change the background color of a window
randomly, but I always get a black filled window,
even though I get random values from g_rand.
(I'm trying this as an exercise in learning GTK.)
What would be the best way to achieve this effect ?
static int
configure_event_cb(GtkWidget *
Hi,
I've got an error: Segmentation Fault when I run my code.
It goes well with structures linea and rectangulo, but when I want to
insert another, in this case called circulo, the error appears.
See in my code fuction EventoExponer the last instruction called
DibujarCirculo.
I haven't any idea to
Hi all,
Currently, all the code I looked at in both Gnome and GTK+ applications,
uses a class handler (a class function stored in the class structure)
for their signal's default handlers rather than using a simple closure
(with g_signal_newv) as shown below:
GClosure *default_closure;
Hi all,
I now understand the FAQ, http://www.gtk.org/faq/#AEN462.
There are results which not understand well about GTK+ and
pthread working.
With the example given on FAQ,
however, I could not have "Xlib: unexpected async reply"
error message even I remove G_LOCK(), G_UNLOCK(),
hi,
In my program I use these two functions
1) gtk_container_border_widht(GTK_CONTAINER(app.window), 300);
2) gtk_drawing_area_size(GTK_DRAWING_AREA(app.drawingarea), 300, 300);
and I've some conflicts 'cause I want the objects of the window and the
drawing area in the same space, to click or do
Hi,
I'm stuck with a strange problem.
I'm writing a gtk+-2.0 code as a user interface
for a (VME based) data acquisition system.
After starting my program, it reads an image like this:
my_image = gtk_image_new_from_file (image.jpg);
This works fine in itself, I see the image after the
In addition to glib, you need atk and pango built in order to build gtk+.
Padraig
I'm way over my heading in this, but started out
trying to get my scanner to work on RedHat Linux 7.1
I saw somewhere that I needed glib and gtk+ to get
sane to work. I've downloaded both, was able to
Hi,
j. santana [EMAIL PROTECTED] writes:
I'm trying to change the background color of a window
randomly, but I always get a black filled window,
even though I get random values from g_rand.
(I'm trying this as an exercise in learning GTK.)
Colors are especially hard to get right so this
Hi,
Joerg Balsiger [EMAIL PROTECTED] writes:
I'm way over my heading in this, but started out
trying to get my scanner to work on RedHat Linux 7.1
I saw somewhere that I needed glib and gtk+ to get
sane to work. I've downloaded both, was able to
install glib but am stuck with gtk+. When I
[EMAIL PROTECTED] wrote:
bufp=(int
*)mmap((caddr_t)0,len,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_SHARED,fd,offset);
if(errno) {
Use if(MAP_FAILED==bufp) . errno could have been modified by a previous
error. It won't be changed unless an error happens. So your mmap is
probably ok.
How can
On Tue, Feb 25, 2003 at 06:42:20PM +0100, Sven Neumann wrote:
Hi,
j. santana [EMAIL PROTECTED] writes:
I'm trying to change the background color of a window
randomly, but I always get a black filled window,
even though I get random values from g_rand.
(I'm trying this as an
i finally got time to look into this some more. i realized that it all
goes back to a quite different issue. the problem is/was that
GtkScrolledWindows don't behave when you tell them to never display a
scrollbar in either direction. they seem to have been written with the
assumption that
The non-GUI child makes data we'd like to print
to screen GUI
How can child send data to parent GUI for
priting and/or run a GTK command without
pipes?? Is there an easier way?
Thanks in advance,
Chris
--
___
Dr. Christian Seberino
SPAWAR Systems Center
The non-GUI child makes data we'd like to print
to screen GUI
How can child send data to parent GUI for
priting and/or run a GTK command without
pipes?? Is there an easier way?
what's hard? the basic answer is no if they are related by a fork().
hello,
I want to draw a simple point on a drawing area and can't get it done.
I'm using a tutorial and i'm following everything it says but as soon as
I want to do my own gtk_draw_point function nothing is drawn and i get
an error at runtime saying that assertion drawable != NULL failed.
I have
On Mon, 24 Feb 2003 19:02:16 +0100
Bernd Bartmann [EMAIL PROTECTED] wrote:
Is it possible to create a tree node in a GtkTreeView which has no
sub-nodes but nonetheless has the expand/collapse handle?
What I want to do is to create a tree view of the local filesystem. As
reading in the
Havoc Pennington wrote:
I don't think gtk_widget_modify_bg() requires
allocating the color...
I eventually got my test program running fine,
see my reply to Sven.
In general with GTK 2 allocating/freeing
colors should never be necessary,
gdk_rgb_find_color() and
Havoc Pennington wrote:
I don't think gtk_widget_modify_bg() requires
allocating the color...
I eventually got my test program running fine,
see my reply to Sven.
In general with GTK 2 allocating/freeing
colors should never be necessary,
gdk_rgb_find_color() and
hello,
no gtk-config is running fine and it is also in
mypath. below is what `gtk-config --libs --cflags` returns
on my solaris box: -I/usr/local/include/gtk-1.2
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
-I/usr/openwin/include-L/usr/local/lib -L/usr/openwin/lib
On Tue, Feb 25, 2003 at 11:14:32PM -0500, José Vitor de Santana wrote:
But indeed it must have been parsed by
gdk_color_parse before feeding it to
gtk_widget_modify_bg. That's what I found.
No, definitely gdk_color_parse isn't required.
All gdk_color_parse does is fill in color.red,
22 matches
Mail list logo