Re: Distinguish between G_IO_ERR and G_IO_HUP

2005-05-31 Thread Colossus
Tim Müller wrote: When the child exits, the callback function you passed to g_child_watch_add() is called with the exit status of the child, which will tell you if the child exited with an error or not. On unix, you'll need the macros described in the waitpid manpage to interpret the exit code

Re: Glade C code a bad thing? (was: root windows)

2005-05-31 Thread Muthiah Annamalai
Hello Everyone! G'day all. I would support the inclusion of Code generation in GLADE UI Editor. It is a welcome feature, for those who would like it. If its not to be in the main tree atleast put the code into a plugin thats enabled at default, and users can turn it off, if they prefer. I

Re: Glade C code a bad thing? (was: root windows)

2005-05-31 Thread Hubert Sokolowski
Hi! Hello Everyone! G'day all. I would support the inclusion of Code generation in GLADE UI Editor. It is a welcome feature, for those who would like it. If its not to be in the main tree atleast put the code into a plugin thats enabled at default, and users can turn it off, if they

gtk entry

2005-05-31 Thread Giovanni Manenti
How can I align the text of a gtkentry on the left or on the right? I'm using gtk 1.2 thanks Giovanni ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Glade C code a bad thing? (was: root windows)

2005-05-31 Thread Freddie Unpenstein
I would support the inclusion of Code generation in GLADE UI Editor. It is a welcome feature, for those who would like it. If its not to be in the main tree atleast put the code into a plugin thats enabled at default, and users can turn it off, if they prefer. Personally, I don't think code

Re: State changing of Toggle Buttons

2005-05-31 Thread Eduardo M KALINOWSKI
Michal Porzuczek wrote: Hi, I was wondering if it is possible to set a Toggle Button's state to something else when you are inside another Toogle Button's callback. I know there is the gtk_toggle_button_set_active method but that requires you to have the GtkToggleButton. Is there another method

Re: Glade C code a bad thing? (was: root windows)

2005-05-31 Thread Olexiy Avramchenko
Freddie Unpenstein wrote: That doesn't mean generated code shouldn't be available for those who consider it the best solution to their particular needs. Write a utility that reads in .glade files and outputs code. Call it from your Makefile to ensure the source files are kept up to date,

gtk_widget_modify_text on comboBox

2005-05-31 Thread Wu Ming Wong
Hi, when i set the combobox to insensitive via gtk_widget_set_insentive(comboBox, TRUE) I cant seem to get the gtk_widget_modify_text(comboBox, GTK_STATE_INSENSITIVE, black) to work. the result I am aiming for is that instead of grayed out text, it has black text. the above code seem to work for

Re: Glade C code a bad thing? (was: root windows)

2005-05-31 Thread Yevgen Muntyan
Olexiy Avramchenko wrote: Freddie Unpenstein wrote: That doesn't mean generated code shouldn't be available for those who consider it the best solution to their particular needs. Write a utility that reads in .glade files and outputs code. Call it from your Makefile to ensure the source

Re: Glade C code a bad thing? (was: root windows)

2005-05-31 Thread John Coppens
On Tue, 31 May 2005 10:30:37 +0200 (CEST) Hubert Sokolowski [EMAIL PROTECTED] wrote: I request that code generation not be removed from Glade project. Me too!!! Me too... I was convinced that Linux was about freedom of choice? If code designers start limiting the choice of users, next

Re: Glade C code a bad thing? (was: root windows)

2005-05-31 Thread Gus Koppel
Olexiy Avramchenko wrote: Freddie Unpenstein wrote: That doesn't mean generated code shouldn't be available for those who consider it the best solution to their particular needs. Write a utility that reads in .glade files and outputs code. Call it from your Makefile to ensure the

Re: Glade C code a bad thing? (was: root windows)

2005-05-31 Thread Zeeshan Ali
Hello everyone, I strongly agree with the opinion that source-code generation should be removed from glade itself. OTOH I very strongly advice the glade developers to write a nice command-line utility to convert a glade file to it's equivalent source code in C/C++, before they drop this

PyGTK and libglade

2005-05-31 Thread Panos Laganakos
Hello, I am considering of writing an app based on PyGTK and libglade. The thing is though, that the OS it will be used is win32. I'd like to know if those two libraries already have a formal distribution (with installer) or someone has to include their binaries with a potential program.

Re: PyGTK and libglade

2005-05-31 Thread Panos Laganakos
Panos Laganakos wrote: Hello, I am considering of writing an app based on PyGTK and libglade. The thing is though, that the OS it will be used is win32. I'd like to know if those two libraries already have a formal distribution (with installer) or someone has to include their binaries

Re: PyGTK and libglade

2005-05-31 Thread David M. Cook
On Wed, Jun 01, 2005 at 03:31:44AM +0300, Panos Laganakos wrote: I'd like to know if those two libraries already have a formal distribution (with installer) or someone has to include their binaries with a potential program. For libglade, you want the gladewin runtime.

Re: simple example of using gdk_pixbuf_new_from_file

2005-05-31 Thread Raghavendra
On 5/31/05, Freddie Unpenstein [EMAIL PROTECTED] wrote: You mean all overlapping each other? You can only display a single flat image (animations not counted). So if they're one ontop of another, you need to composit them together into a single image. The preferred monster, is;

Diabling an entry in TreeView

2005-05-31 Thread Pramod Patangay
Hi, I have a treestore and corresponding model and treeview. I would like to disable a particular entry in the treeview. How can I do this? Thanks ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

gtk+, win32, vc7.0 (2002) and compile

2005-05-31 Thread Michael Ott
Hello! I wrote a small application in linux with gtk, which i want to compile under xp. Is there a good howto in the whole internet? CU Michael -- Michael Ott, e-mail: [EMAIL PROTECTED],

Re: Diabling an entry in TreeView

2005-05-31 Thread Andrew E. Makeev
Pramod Patangay wrote: Hi, I have a treestore and corresponding model and treeview. I would like to disable a particular entry in the treeview. How can I do this? If you have access to source codes you may look at gtkcellrenderertext.c file for function: gtk_cell_renderer_text_render().

GtkComboBox

2005-05-31 Thread Pramod Patangay
Hi, I was trying out GtkComboBox. I have Gtk-2.4. I have created a GtkTreeModel and populated the corresponding GtkTreeStore. But when I run the program, the entries are not shown. Why is this happening? I am attaching the program here: GtkTreeStore *ts = gtk_tree_store_new(1,G_TYPE_STRING);

Re: GtkComboBox

2005-05-31 Thread Sven Neumann
Hi, Pramod Patangay [EMAIL PROTECTED] writes: I was trying out GtkComboBox. I have Gtk-2.4. I have created a GtkTreeModel and populated the corresponding GtkTreeStore. But when I run the program, the entries are not shown. Why is this happening? I am attaching the program here:

Creating themeable custom stock icons

2005-05-31 Thread Andrew Conkling
I've talked with Owen on IRC a few times about how to theme custom stock icons from various GTK+ programs. Basically, what he said came down to using some specific code from iconfactory.c. As this didn't seem to be documented (and I don't know C), I got some help from muntyan on IRC, who was

Re: GtkComboBox

2005-05-31 Thread Michael Ott
Hello Pramod! I was trying out GtkComboBox. I have Gtk-2.4. I have created a GtkTreeModel and populated the corresponding GtkTreeStore. But when I run the program, the entries are not shown. Why is this happening? I am attaching the program here: GtkTreeStore *ts =

Re: gtk+, win32, vc7.0 (2002) and compile

2005-05-31 Thread Todd Fisher
Michael Ott wrote: Hello! I wrote a small application in linux with gtk, which i want to compile under xp. Is there a good howto in the whole internet? CU Michael -- Michael Ott, e-mail: [EMAIL

Re: [gtk-list] Diabling an entry in TreeView

2005-05-31 Thread Steve Feehan
On Tue, May 31, 2005 at 12:21:31PM +0530, Pramod Patangay wrote: Hi, I have a treestore and corresponding model and treeview. I would like to disable a particular entry in the treeview. How can I do this? Thanks I'm going through the tree view tutorial now, so I probably don't know what

GtkTextView signals

2005-05-31 Thread Jean Chapelle
Hi everybody, I've recently let the gtk_text component and use now the gtk_text_view component with a gtk_text_buffer component. I'm enjoy of this two components which works very well. All the signals I've installed on this components works. Only the insert_at-cursor signal ( gtk_text_view )

Re: GtkComboBox

2005-05-31 Thread Pramod Patangay
Hi Michael, If I am not wrong, with tree model we can even display images and text together as part of the menu items. This is the reason why I chose to use tree model. If there was only text then you are correct. Thanks to Neumann for pointing out what I was missing in the code. -Pramod On

Re: GStreamer 0.01 and accented chars in filenames

2005-05-31 Thread Quentin
On Mon, 2005-05-30 at 23:16 -0400, muppet wrote: i was going to poke through the sources to see if there was a misapplied typemap, but you didn't mention what functions you were calling, so i have no idea where to look. if this is an encoding problem on the location property of a file