Hi,
I'm trying to create some GtkImageMenuItems in the menu of my
application, and I found strange sizing issues.
I noticed that even if the height of the GtkImage that is added to the
menu item is 16 pixels, the actual height of the menu item that is
shown on the screen is dependent on the width
As suggested I've done: gtk_image_set_from_file (GTK_IMAGE(image),
"/home/s/Pictures/space-05.jpg");
However, the image is no longer displayed and I get these errors
(process:7344): GLib-GObject-CRITICAL **: gtype.c:2242: initialization
assertion failed, use IA__g_type_init() prior to this fu
On Sat, 2007-05-05 at 08:15 +0200, Klay Martens wrote:
> Hi all,
> First, I am relatively new to GTK, so go easy if this is a complete no
> brainer...
> I am developing an app for which I would like to use several hpaned and
> vpaned widgets (developing in C on Visual C++ 2005 Express). But...
> Wh
I have been able, using GDK, to draw while entering and leaving. One
example could be in trying to create
a highlight effect as you enter a window.
Chris
Kevin DeKorte wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Cédric Lucantis wrote:
>
>> Le samedi 5 mai 2007 00:48, Kevin D
On Sat, May 05, 2007 at 09:11:20PM +0800, Jason Brisbane wrote:
>
> Every time I used G_TYPE_INT in the gtk_list_store_new function the
> value returned wasnt the INT as expected. The value shown was an 8 digit
> number that didnt have any relation to the int as shown in the mysql
> client. I b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cédric Lucantis wrote:
> Le samedi 5 mai 2007 00:48, Kevin DeKorte a écrit :
>
> You should never draw anything in an enter/leave callback, but only in an
> expose event. Also note that creating/destroying a GC each time you draw it
> is very slow,
Thanks.
Every time I used G_TYPE_INT in the gtk_list_store_new function the
value returned wasnt the INT as expected. The value shown was an 8 digit
number that didnt have any relation to the int as shown in the mysql
client. I believe it was a pointer.
So I tried using a double (G_TYPE_DOUBL
Le samedi 5 mai 2007 00:48, Kevin DeKorte a écrit :
> Hi,
>
> I have a situation where I need to highlight an eventbox when a user
> enters it and unhighlight it when the users leaves. I'm using this code
> but the color I'm drawing in the leave_button_callback is always wrong
> and varies from run
On Sat, May 05, 2007 at 06:20:05PM +0800, Jason Brisbane wrote:
> I have a treeview that is populated with an Integer value (from a mysql
> database) that is populated into a G_TYPE_STRING.
Why? Inappropriate data representation is the source of all
your problems.
> This displays
> correctly b
Hello,
I have a treeview that is populated with an Integer value (from a mysql
database) that is populated into a G_TYPE_STRING. This displays
correctly but the sort function using:
gtk_tree_view_column_set_sort_column_id (col, x);
gtk_tree_view_column_set_sort_indicator (col
10 matches
Mail list logo