Re: gnomecanvas question

2005-03-14 Thread Paul Davis
Say I have a 2D space that's potentially very large. I need to be able to display various player icons on this world (they rotate and move around in this space) and draw a grid on it. Players shouldn't really be limited to a certain area of movement, they should be able to move pretty darned

Re: gnomecanvas question

2005-03-14 Thread Joe Van Dyk
On Mon, 14 Mar 2005 17:36:25 -0500, Paul Davis [EMAIL PROTECTED] wrote: Say I have a 2D space that's potentially very large. I need to be able to display various player icons on this world (they rotate and move around in this space) and draw a grid on it. Players shouldn't really be limited

Re: gnomecanvas question

2005-03-14 Thread Paul Davis
is this an AA canvas? how are you drawing the grid? Yes, AA canvas. I have a variable that controls how wide (in pixels) each grid square should be. I start at the world's mininum x and increment to the world's maximum x, drawing a line from the world's mininum y to the maximum y (for

Re: GTK Script?

2005-03-14 Thread Kent
Well, I for one would welcome something equivalent to DtKsh. Perl is *not* an equivalent or better substitute for Ksh or Bash. So, in response to you question, yes, it would be nice to have a GTK+ based DtKsh. Problem is finding the time to do it or convencing someone else to take up the cause.

gtk and xvkbd

2005-03-14 Thread Jeff Moser
I have a GtkEntry object that I want to populate using the on-screen keyboard xvkbd. I'm using php_gtk. I have lots of php experience, but this is my first project with gtk and xvkbd. I can get the keyboard to show up using exec, but it locks up the window. Has anyone had any experience doing

Error intalling gtk+2.6.0

2005-03-14 Thread Mohit Kumar
Hi All, I am facing an error while trying to configure (when I run ./configure) for the gtk+2.6.0. configure: error: Xft Pango backend is required for x11 target What should I do to remove this? I have installed pango 1.7.0 on my system and it did not crib about not being able to find Xlib,

gtk_label_set_text() not working .

2005-03-14 Thread Amith
hi all, I'am a newbie here. i'am developing a user agent client , for a Telephony application using GTK+-1.2. The whole application has 5 threads running , i try to update a label , with gtk_label_set_text () , when some event occurs in the application , but it doesnt seem

CANNOT START CORBA activate a panel object for a panel applet

2005-03-14 Thread APR Trainees
Hi, we are trying to develop a panel applet. When we try to run the applet in Gnome, we get the following error: ** WARNING **: Cannot activate a panel object ** WARNING **: Cannot start CORBA In a window the applet says: segmentation fault. PLEASE HELP

Getting native X Window from GtkWidget

2005-03-14 Thread Jörg Henne
Hi all, I am trying to turn an application window implemented in wxPython into a KDE system tray applet. Just to make this clear: I am not talking about the taskbar representation of a window, but the area which displays just icons, like the loudspeaker icon which controls the mixer etc. The

Re: Getting native X Window from GtkWidget

2005-03-14 Thread Viraj Chatterjee
GDK_WINDOW_XWINDOW(GdkWindow) -vc - Original Message - From: Jörg Henne [EMAIL PROTECTED] To: gtk-app-devel-list@gnome.org Sent: Monday, March 14, 2005 6:12 PM Subject: Getting native X Window from GtkWidget Hi all, I am trying to turn an application window implemented in wxPython into

Re: Getting native X Window from GtkWidget

2005-03-14 Thread Jörg Henne
A big thanks to both of you for the quick answer. Unfortunately, I'm still out of luck. This is the code I use: static PyObject * kdetray_set_tray(PyObject *self, PyObject *args) { GtkWidget *gtkWidget; fprintf(stderr, Entering\n); if(!PyArg_ParseTuple(args, i,

Re: GtkIconView set_item_width question

2005-03-14 Thread Santhosh
Hi, maximum_layout_width = MAX (item_width, item-pixbuf_width); ... item-width = MAX (item-layout_width + padding, item-pixbuf_width); Maybe we miss a maxmium_layout_width -= padding there. Matthias I have just tried your solution and it works fine. I have included the patch

Re: Real Time Drawing

2005-03-14 Thread John Coppens
On Mon, 14 Mar 2005 12:48:04 -0500 Liam R. E. Quin [EMAIL PROTECTED] wrote: On Mon, 2005-03-14 at 17:18 +, Athanasios Anastasiou wrote: There are two threads of execution, one is handling reading and decoding of the incoming stream of data and the other is handling processing.

Re: poll(2) only can handle 256 fds?

2005-03-14 Thread Markus Lausser
On Fri, 2005-03-11 at 02:12, Markus Lausser wrote: On Tue, 2005-03-08 at 21:56, Markus Lausser wrote: Hello, i get the message *** GLib *** : poll(2) failed due to: Invalid argument. thousand times when running my application. It seems that it happens if i have accepted 100 x 200

imagelist

2005-03-14 Thread Thomas Nitschke
Hi, is it possible to create a imagelist from a file like the one used by windows? or has someone done anything of that kind? Thanks a lot Tom ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: grub focus

2005-03-14 Thread Arren
dnk wrote: how i can grub focus to my program. i what to write a small xlocker. How about gtk_widget_grab() or grub XEvent directly. #include gtk/gtk.h #include stdio.h #include stdlib.h gboolean delete_event(GtkWidget* widget, GdkEvent* event, gpointer data) { fprintf(stderr,delete