frantishek wrote:
My code does it just by the book:
void setPermission(GtkWidget *window, gpointer p)
{
g_print("%s\n", (gchar*) p);
}
radio1 = gtk_radio_button_new_with_label (NULL, "First");
radio2 = gtk_radio_button_new_with_label_from_widget (GTK_RADIO_BUTTON
(radio1), "Second");
radi
onsdagen den 21 mars 2007 08.50 skrev s88:
Hi,
I tried to use the put_pixel()-function but I encountered problems so I
switched to the gdk-drawing functions instead. There is also an alternative
to drawing areas... if you look at the bottom of the reference manual-page
for GtkDrawingArea.
/Magn
onsdagen den 7 mars 2007 17.26 skrev Tristan Van Berkom:
Hi,
Have you called gtk_widget_show(widget(with picture)) ?
/Magnus
> On Wed, 2007-03-07 at 13:21 -0300, Juan Antonio Alvarez wrote:
> [...]
>
> > The thing is that I don't know how to get a picture out of my
> > widget... Is there any fu
fredagen den 23 februari 2007 02.40 skrev Magnus Myrefors:
Hi again,
I managed to make an image with transparent background
by going through a pixbuf from a pixmap and then adding a
alpha-channel, to the pixbuf, with a substitute color.
/Magnus
> Hi,
>
> I wonder if you can
Hi,
I wonder if you can specify a transparent background color
when you draw a pangolayout, or if you can set the backgrond
in the graphics context used when you draw, to the background
in the current style ?
/Magnus
___
gtk-list mailing list
gtk-lis
hi,
Does anyone know why you can't change the value of
a pixbuf-pixel to yellow ? I have examined a pixbuf-dataarea
and it seems like a yellow color in the pixbuf is stored
like this [235, 3, 243, 1]. When I change a stored value
to these, one would expect that the result would be yellow
but when
måndagen den 12 februari 2007 01.01 skrev Magnus Myrefors:
Hi again,
I think I did try to change a value outside the pixbuf-data area due
to negative y-values.
magnus m
> Hi,
>
> I have a function that tries to draw a point at (x,y) in a GdkPixbuf
> and I am using
Hi,
I have a function that tries to draw a point at (x,y) in a GdkPixbuf
and I am using the formula:
guchar *p;
p = pixels + y * rowstride + x * n_channels;
to locate the point in the pixbuf. I have used gdk_functions to get the
'pixels' value which is start o
måndagen den 5 februari 2007 18.40 skrev Michael L. Gualtieri:
Hi,
I use tree-widgets in my own app and it works fine. I don't use exactly the
same functions though. The reference manual page " Tree and List Widget
overview " describes how to use them pretty good, I think.
When I'm looking at
.
To: Magnus Myrefors
Cc: gtk-list@gnome.org
Sent: Thursday, November 30, 2006 3:33 PM
Subject: RE: gtk cross compilation
Hi Magnus Myrefors,
Thanks for your support. actually what i can find is in my arm-linux cross
compiler,
is not having lib corresponding to gtk, it uses my gtk
gtk cross compilationHi,
Make sure your PKG_CONFIG_PATH points to the directory which contains the
pc-files.
Can you really use the gcc command when you cross-compile ? To make sure that
it is the
cross-compiler that is used I suggest you use another name for it.
When I compile I have t
gtk cross compilationHi,
Make sure that your PKG_CONFIG_PATH points to the directory which contains
the pc-files.
Can you really use the gcc command when you cross-compile ? To make sure that
it is the
cross-compiler that is used I suggest you use another name for it.
When I compile I h
Hi again,
I found the title "autobook" at redhat.com which
seems to cover what I want.
regards,
Magnus
- Original Message -
From:
Magnus Myrefors
To: gtk-list@gnome.org
Sent: Wednesday, October 18, 2006 5:29
PM
Subject: Installation script fo
-
From: "Tor Lillqvist" <[EMAIL PROTECTED]>
To: "Paul Davis" <[EMAIL PROTECTED]>
Cc: "Magnus Myrefors" <[EMAIL PROTECTED]>;
Sent: Thursday, October 19, 2006 11:18 PM
Subject: Re: Installation script for Linux.
> > On 10/18/06, Magnus Myrefors &
Hi
I wonder where I can find (detailed) information
about making installation scripts for
an application which should be run in
Linux.
/Magnus
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
15 matches
Mail list logo