UIManager errors

2005-09-06 Thread Nick Watts
I'm trying to create a simple menu for my app with the new UIManager functions under GTK+ 2.6. I've copied most of my code for it from the the gtk-demo.exe app and I still can't get it to work. Compiles fine, but I get a long list of errors, all of which are like these (same error for similar c

Ring Buffer

2005-09-06 Thread Bryan Christ
Does anyone know if glib has a generic ring buffer mechanism? I would hate to re-invent the wheel. Thanks, Bryan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: WinXP & MSSQL & C & GTK+

2005-09-06 Thread HuamiSoft Hubert Sokolowski
On Tue, 06 Sep 2005 18:36:25 +0200 Alf Stockton <[EMAIL PROTECTED]> wrote: > Can someone please give me, preferably source, but at least hints on how > to call MSSQL Stored Procedurers via ODBC from a C program written using > Glade & GTK+. > > All this is, of course, being developed under Wind

WinXP & MSSQL & C & GTK+

2005-09-06 Thread Alf Stockton
Can someone please give me, preferably source, but at least hints on how to call MSSQL Stored Procedurers via ODBC from a C program written using Glade & GTK+. All this is, of course, being developed under Windows. -- Regards, Alf Stocktonwww.stockton.co.za You love peace. My em

Re: another magnificant display of GTK software

2005-09-06 Thread Wallace Owen
On Tue, 2005-09-06 at 12:18 -0400, Matthew Yaconis wrote: > Perhaps I'm the only one to follow the link in this email and not be > suspicious but the site has a virus which it attempts to download on your > system. (VBS Soraci B). In other words, "Best^h^h^h^hSafest if viewed with Linux". /

Re: another magnificant display of GTK software

2005-09-06 Thread Matthew Yaconis
Perhaps I'm the only one to follow the link in this email and not be suspicious but the site has a virus which it attempts to download on your system. (VBS Soraci B). Have a nice day... - Original Message - From: "Yogesh M" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 06, 2005

another magnificant display of GTK software

2005-09-06 Thread Yogesh M
May be this is not the list I should have posted this message. It is not a question in gtk I am proud of GTK, Inspite of being free it allows to make magnificant commercial apps. works fine under windows and linux. you can look the screenshot of the software gsudoku demo release (its not free) i

Re: GtkList question

2005-09-06 Thread Olexiy Avramchenko
Faria, Sydney C wrote: ... which is from 2.0 API for Tree Widgets. Eric Harlow's book gives an example that uses gtk_widget_set_usize(list, 250, 250) which is now deprecated. What to I use to set a minumum size for the displayed list since I am going to be starting out with an empty list box

GtkList question

2005-09-06 Thread Faria, Sydney C
I have set the following code to form a list of text items called SPN: enum { SPN_COLUMN, N_COLUMNS } GtkListStore *listModel = gtk_list_store_new(N_COLUMNS, G_TYPE_STRING); GtkTreeIter *iter; gtk_list_store_append(listModel, &iter, NULL); gtk_list_store_set(listModel, &iter, SPN_COLUMN, "1st SPN"

Re: simple question: are const gchar* arguments hold as copies internally?

2005-09-06 Thread Tristan Van Berkom
Felix Kater wrote: Hi, these two functions take const gchar pointers: void gtk_label_set_text([...] const gchar *str); void g_key_file_set_value([...] const gchar *group_name, [...]) Does that mean that the arguments are *not* hold as copies internally so that I have to care for the allocated

signal after form is built

2005-09-06 Thread Faria, Sydney C
It sounds like you are generating changed signals when you do not want to (ie when you are changing the text). I used the following to get rid of this problem: g_signal_handler_block_by_func(entryWidget, cb_function, data); gtk_entry_set_text(entryWidget, "newtext"); g_signal_handlers_unblock_by_f

Re: disabling a widget when no rows are selected problem

2005-09-06 Thread Colossus
Colossus wrote: This is what I did but why does the function gtk_tree_selection_count_selected_rows ( selection ) keep on returning 1 ? Solved by connecting the selection and not the treeview to the changed signal. -- Colossus Cpsed, a Linux OpenGL 3D scene editor http://cpsed.sourceforge.net/

gtk 2.8.3

2005-09-06 Thread The Saltydog
I have recently updated to Gtk+ 2.8.3 and I have noticed that each time I open a GtkFileChooserDialog in my application, I got this message: Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path != NULL' failed With previous version of Gtk+, I was not getting this. What am I missing?

Re: Image display without window

2005-09-06 Thread Olexiy Avramchenko
Nick Watts wrote: I've seen applications (eg. mozilla and blender) display an image at startup without any (visible) container such as a window or dialog. I would like to add this touch of class to my app, anyone know the easiest way? I tried just adding a GtkImage to a GtkWindow, removing win

Re: Hide the Border of Notebook and scrolled window widget

2005-09-06 Thread Stefan Kost
Hi, sadhees kumar wrote: hi Friends, I want to hide the border of notebook and scrolled window. For that i tried with the following function, gtk_notebook_set_show_border(notebook,FALSE); but, i didn't get the success. Is there any possibility to hide those borders? Thanks in advance Re

Gtk treeview use with large data sources

2005-09-06 Thread Kim Adil
I have been searching for some time now to figure out how to approach using gtk treeview ( with a list model) with a sql database. I am using odbc on multiple platforms , hence gnomedb is not appropriate. Ideally the scrollwindow will behave as per using the standard list model. My questions: (1)

Image display without window

2005-09-06 Thread Nick Watts
I've seen applications (eg. mozilla and blender) display an image at startup without any (visible) container such as a window or dialog. I would like to add this touch of class to my app, anyone know the easiest way? I tried just adding a GtkImage to a GtkWindow, removing window decorations wit