Limitation on number of widgets per page

2006-04-05 Thread subramanian mohankumar
Hi guyz We are using a 10.4 inch TFT monitor with resolution of 640x480. Notebook widget is used for my application. One of the pages contain a table (21 rows , 9 cols) with entry boxes in each cell. When we move onto other pages and come back to this particular page the refreshing of cells takes

Portland Technology Preview available for download

2006-04-05 Thread Bastian, Waldo
The joined OSDL/freedesktop.org Portland initiative that was started at the OSDL Desktop Architects Meeting last december has now a Technology Preview available of the set of common programming interfaces that help Linux desktop applications integrate with the desktop of the user's choice. Portland

how to deliver "enter" to the "right window"

2006-04-05 Thread Paul Davis
I am adding support for various hardware controllers to Ardour (http://ardour.org/) and one of the nice features I've seen in some other systems is the ability to use buttons on the controller to be the equivalent of clicking on the "OK" button of a dialog that has popped up. The problem I face i

Re: Rendering issues under Windows Terminal Services

2006-04-05 Thread Michael L Torrie
On Wed, 2006-04-05 at 08:58 +1000, Daniel Kasak wrote: > I wasn't aware there was an installer. In fact, I was certain that there > *wasn't* one. But I see now that there is. New addition? Maybe I just > missed it all this time. Anyway, I'm downloading it now and I'll test it > out on a new Win2

Serializing objects derived from GObject to XML

2006-04-05 Thread Jacob Kroon
Hi, I'm looking for a way to serialize GObject-derived classes into XML. I'm basically writing a block-diagram editor, similar to Simulink/Matlab, where I have a Diagram class, and diff. block classes, and I'd like to be able to save the diagrams to a file, so my idea is to implement a way to seri

Re: Serializing objects derived from GObject to XML

2006-04-05 Thread Murray Cumming
On Wed, 2006-04-05 at 17:50 +0200, Jacob Kroon wrote: > Hi, > > I'm looking for a way to serialize GObject-derived classes into XML. I'm > basically writing a block-diagram editor, similar to Simulink/Matlab, > where I have a Diagram class, and diff. block classes, and I'd like to > be able to sav

Re: Serializing objects derived from GObject to XML

2006-04-05 Thread Tristan Van Berkom
Jacob Kroon wrote: Hi, I'm looking for a way to serialize GObject-derived classes into XML. I'm basically writing a block-diagram editor, similar to Simulink/Matlab, where I have a Diagram class, and diff. block classes, and I'd like to be able to save the diagrams to a file, so my idea is to im

How to convert ascii string to utf ?

2006-04-05 Thread hm
Hi ! I`ve got a problem, when i`m tryin` to use gtk_text_buf_insert (). I don`t know how to convert an ascii string, which is loaded from file, let`s say , to a array : char c[255]; or gchar c[255]; How to convert that ascii to utf ? thanks for any help. I`m noob in gtk -

Re: How to convert ascii string to utf ?

2006-04-05 Thread David Necas (Yeti)
On Wed, Apr 05, 2006 at 09:10:02PM +0200, hm wrote: > > I`ve got a problem, when i`m tryin` to use gtk_text_buf_insert (). I don`t > know how to convert an ascii string, which is loaded from file, let`s say , > to a array : char c[255]; or gchar c[255]; > How to convert that ascii to utf ? tha

Naming / Labelling Widgets

2006-04-05 Thread Richard Plana
Hi, Is there a way to name / label and identify a widget? I'm pretty new to Gtk programming and right now, once I've created my GtkWidget hierarchy, there seems to be very little light support to traversing it. For certain, each widget has a generic method for getting its parent and children,

Re: Naming / Labelling Widgets

2006-04-05 Thread Paul Davis
On Wed, 2006-04-05 at 14:50 -0600, Richard Plana wrote: > Hi, > > Is there a way to name / label and identify a widget? I'm pretty new > to Gtk programming and right now, once I've created my GtkWidget > hierarchy, there seems to be very little light support to traversing > it. For certain, each w

gtk g_convert

2006-04-05 Thread hm
Ok , but can anyone help me out with g_convert.. i mean some example of usage ? -- Poznaj Stefana! Zmien komunikator! >>> http://link.interia.pl/f1924 ___ gtk-list mailing list gtk-lis

how serious are these compiler warnings?

2006-04-05 Thread Rick Jones
When I am using the GOption functionality, and initializing my mumble_entries[] array, the IBM 7.0 compiler on AIX 5.3 seems to be displeased: static GOptionEntry netperf_entries[] = { {"output",'o', 0, G_OPTION_ARG_CALLBACK, set_output_destination, "Specify where misc output should go",

Re: how serious are these compiler warnings?

2006-04-05 Thread Michael L Torrie
On Wed, 2006-04-05 at 15:30 -0700, Rick Jones wrote: > which seems to be an issue with the callback function field of the > GOptionEntry. Do folks think it is something really worth worrying > about or should I just blythly ignore it and move-on? While it appears that this is harmless, I'd reco

Re: Naming / Labelling Widgets

2006-04-05 Thread Richard Plana
On Wed, 2006-04-05 at 17:43 -0400, Paul Davis wrote: its sound to me as if you are coming from a different GUI toolkit and are attempting to apply a programming model used there to GTK, when in fact a different model would be more appropriate. i've been using GTK for 7 years, and i simply nev

Re: Naming / Labelling Widgets

2006-04-05 Thread Richard Plana
On Wed, 2006-04-05 at 18:51 -0400, Paul Davis wrote: On Wed, 2006-04-05 at 16:38 -0600, Richard Plana wrote: > First, let me clarify a couple of things. When I say Widget name, I'm > referring to an arbitrary name given to a widget. It is NOT the name > returned by gtk_widget_get_name() (whic

Re: how serious are these compiler warnings?

2006-04-05 Thread Rick Jones
Michael L Torrie wrote: On Wed, 2006-04-05 at 15:30 -0700, Rick Jones wrote: which seems to be an issue with the callback function field of the GOptionEntry. Do folks think it is something really worth worrying about or should I just blythly ignore it and move-on? While it appears that thi

RE: Controlling resizing of boxes when a window is resized

2006-04-05 Thread Ian Puleston
Thanks - I thought that there would be something simple like that. The reason that I'm using gtk_widget_set_size_request on the upper box is that I display a scrolled window in there, and without the size request the scrolled window is too small and does not expand out to fill the upper area. I wo

Re: how serious are these compiler warnings?

2006-04-05 Thread Valdis . Kletnieks
On Wed, 05 Apr 2006 16:13:22 PDT, Rick Jones said: > yep, the compiler (invoked as xlc_r now since this is threaded) has > stopped complaining. Alas, I still segfault at the end of my test. It > looks like my g_module_open()ed library may be dying right at a call to > a routine that is actual

Re: how serious are these compiler warnings?

2006-04-05 Thread Valdis . Kletnieks
On Thu, 06 Apr 2006 00:45:18 EDT, [EMAIL PROTECTED] said: > b) Making the final main program link look like: > > cc -o mail -lfoo -lbar -lbaz In a GTK context, the failure is often caused by a final link that looks like: cc -o $PROG main.c yadda.o yadda.o `pkg-config gtk --libs` and can be fix