Re: defective GTK app crashes gnome

2006-02-17 Thread Freddie Unpenstein
> > I've managed to trash X while playing with widgets that use grabs... > Maybe a stupid question, but have you tried Ctrl-Alt-KP_Divide to > ungrab or the more brutal Ctrl-Alt-KP_Multiply to kill the naughty > client? (if you have these enabled) Here's probably an even more stupid question. T

RE: GtkTable and GtkDrawingArea

2006-02-17 Thread Freddie Unpenstein
This message is a couple days old... I'm suprised there isn't a reply yet, that I can see anyhow (hopefully I'm not missing messages). > I'm new to GTK and am having problems that I don't understand ... > thanks in advance to anyone who can take a look ...I'm trying to > use a GTKTable (create

How to get the hardware keycode for TAB

2006-02-17 Thread JuanZhang
Hi, I try to get the hardwaer keycode for 'Tab' by eventkey.hardware_keycode = gdk_unicode_to_keyval('GDK_Tab') the return value is 16842505, but actually the hardware keycode for Tab is 65289. How to get the correct hardware_keycode? Thanks!! _

Application structuring with threads & network I/O - suggestions?

2006-02-17 Thread Gorshkov
I'm developing an small network application as a test case before I go on to my main app - I want to make my mistakes on something small & manageable. My thought is to create a communications thread and have all network I/O handled there, outside of the gtk main loop. Communications between thre

How do I fix: GTK_WIDGET_REALIZED (widget)' failed

2006-02-17 Thread Gravis Zero
in runtime i keep getting this error which is causing me other problems and i really dont have a clue. Please help. :( (q:23538): Gtk-CRITICAL **: gtk_widget_set_events: assertion `! GTK_WIDGET_REALIZED (widget)' failed //***Program #include void MapImageRedraw (GtkEventBox *widget

tooltips

2006-02-17 Thread Paul Pogonyshev
Hi, I want to add tooltips to my widget, but they should be different for different widget areas. It seems there is no way to implement this using GtkTooltips... Any hints? Paul ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://m

Re: When do i have to use g_signal_stop_emission_by_name () ?

2006-02-17 Thread Tristan Van Berkom
Juan Pablo wrote: Just that. In short: Hope you never do :) I actually thought the description here makes sence: http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html#g-signal-stop-emission Umm, lets see... not to delve too far: o Many handlers may be connected to the si

When do i have to use g_signal_stop_emission_by_name () ?

2006-02-17 Thread Juan Pablo
Just that. Saludos, Juan Pablo. ___ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar ___ gtk-app-dev

Re: Problem with GValue

2006-02-17 Thread Tristan Van Berkom
Maciej Piechotka wrote: On 2/17/06, Fernando Apesteguía <[EMAIL PROTECTED]> wrote: Sorry if this is so trivial... Did you try to g_free it? Best regards! Sorry. I didn't understand g_value_init function. Sorry. Wait... hold your horses ! ;-) If a GValue has been g_value_set

Re: Problem with GValue

2006-02-17 Thread Maciej Piechotka
On 2/17/06, Fernando Apesteguía <[EMAIL PROTECTED]> wrote: > Sorry if this is so trivial... > > Did you try to g_free it? > > Best regards! > Sorry. I didn't understand g_value_init function. Sorry. Thanks ___ gtk-app-devel-list mailing list gtk-app-dev

Re: Problem with GValue

2006-02-17 Thread Daniel Espinosa
Yes you need g_free, becouse when you create a GValue you use: g_new0 (GValue, 1) Where 1 is the number of GValues you whant to create (like an array); remember that GValue is just a C structure. 2006/2/17, Fernando Apesteguía <[EMAIL PROTECTED]>: > > Sorry if this is so trivial... > > Did you

Problem with GValue

2006-02-17 Thread Fernando Apesteguía
Sorry if this is so trivial... Did you try to g_free it? Best regards! -- Forwarded message -- From: Maciej Piechotka <[EMAIL PROTECTED]> Date: 17-feb-2006 11:43 Subject: Problem with GValue To: Gtk Mailing list I'd like to destroy GValue. How should I do it? I cannot find any

Problem with GtkRcFlags with win32/cygwin

2006-02-17 Thread Bernd Muent
Hi, in my Linux program I use something like to change the background color of the mainWindow: GtkRcStyle *rcStyle=gtk_rc_style_new(); rcStyle->bg[GTK_STATE_NORMAL]=bgColor; rcStyle->color_flags[GTK_STATE_NORMAL]|=GTK_RC_BG; gtk_widget_modify_style(mainWindow,rcStyle); When I compile the same

Problem with GValue

2006-02-17 Thread Maciej Piechotka
I'd like to destroy GValue. How should I do it? I cannot find any information about it. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list