Re: Setting ComboBox Uneditable

2005-02-23 Thread Giovanni Manenti
On Tue, 22 Feb 2005 07:44:20 -0500, Andy Grebe <[EMAIL PROTECTED]> wrote: Hi, I'm trying to make the combo box uneditable. It looks like it would have a GtkEntry as part of the struct, but I can't seem to find it in the header to set that uneditable. Thanks, Andy Grebe Try this gtk_editable_set_ed

Re: GTK app with no keyboard/mouse

2005-02-23 Thread Zeeshan Ali
Hello, IMHO another option is to implement an in-kernel 'input' device. I dont know ANYTHING about the other options people suggested you here but this way would enable you to: 1. Generate both keyboard/mouse events from the same device 2. Use your device from any (even non-gtk and non-X) appli

weird behavior in GTK+-2.4.14

2005-02-23 Thread Dave Andruczyk
I have a weird nagging problem that's driving me crazy.. I have a program with upwards of several hundred Gui controls (most are spinbuttons or textentries.) I'm getting spurious events being emitted by the spinbuttons on focus(into and out of the application) changes. (but not ALL of them even

Re: Setting ComboBox Uneditable

2005-02-23 Thread Antonio Gomes
Is it not enought gtk_function_that_set_uneditable (GTK_COMBO(combo)->entry, FALSE); ;) ?? Best Regards ... On Tue, 22 Feb 2005 07:44:20 -0500, Andy Grebe <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to make the combo box uneditable. It looks like it would > have a GtkEntry as part of th

Re: GTK app with no keyboard/mouse

2005-02-23 Thread Mihael Vrbanec
Hi, > Let's assume for the moment that the remote has just six buttons. Menu, > up, down, left, right, select. Any thoughts on the best way to inject > events? So far I have found that a "move-focus" signal on the window > containing a bunch of button and slider widgets is not the answer (for >

Re: GTK app with no keyboard/mouse

2005-02-23 Thread Brian J. Tarricone
Mike Rosenlof wrote: This system will have a display, and a remote control device. I'm planning on a separate thread from the GUI which receives the remote codes, interprets them, and injects appropriate events into the GUI. Let's assume for the moment that the remote has just six buttons. Menu,

Re: notebook widget like in Firefox

2005-02-23 Thread John (J5) Palmieri
On Wed, 2005-02-23 at 23:04 +0100, Khiraly wrote: > Dear List, > > I'm developing an application in which I'd like the windows to be able > to be grouped on tabs, exactly like Firefox does. > I've looked into the notebook widget, and it would meet my > expectations - but I cannot place an X (c

Re: GTK app with no keyboard/mouse

2005-02-23 Thread Marc Santhoff
Am Mi, den 23.02.2005 schrieb Mike Rosenlof um 21:23: > Hello, > > I'm starting design work on an application which will run on a system > with no keyboard or mouse. I'm not an experienced GTK programmer, I'm > very experienced in embedded systems development FWIW. > > > This system will have a

notebook widget like in Firefox

2005-02-23 Thread Khiraly
Dear List, I'm developing an application in which I'd like the windows to be able to be grouped on tabs, exactly like Firefox does. I've looked into the notebook widget, and it would meet my expectations - but I cannot place an X (close) button on the right side of the tabs (one X overall, no

Re: A bug in Gtk+?

2005-02-23 Thread Owen Taylor
On Wed, 2005-02-23 at 14:31 +0500, Zeeshan Ali wrote: > Hello, > > On Wed, 23 Feb 2005 10:12:07 +0200, Olexiy Avramchenko > <[EMAIL PROTECTED]> wrote: > > When you create main loop with NULL as context parameter, main loop gets > > shared default context. Before you create your main loop, default

Re: Auto Scrolling Text

2005-02-23 Thread Harring Figueiredo
--- Andrew Gatt <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know how to create a text widget, that if > you set text wider than the widget it will > automatically scroll the text held in the buffer? Or > point me in the right direction of an example? > > Thanks > Andrew gFTP has this f

GTK app with no keyboard/mouse

2005-02-23 Thread Mike Rosenlof
Hello, I'm starting design work on an application which will run on a system with no keyboard or mouse. I'm not an experienced GTK programmer, I'm very experienced in embedded systems development FWIW. This system will have a display, and a remote control device. I'm planning on a separate th

Re: On treeviews and custom treemodels again

2005-02-23 Thread Stefan Kost
Hi Denis, you might want to read over your mail and be a bit clearer. The probelm is not really understandable to me. Stefan Hi ! After some investigation here are my conclusions : When one's implements its own GtkTreeModel, he has 2 solutions to tell the cell_renderers what to "render" : 1. pu

Re: On GtkTreeModelFilters

2005-02-23 Thread Stefan Kost
Hi Denis, for me it works fine in gtk-2.4.X. Stefan Hi ! Again a question on treemodels : I saw that the GtkTreeModelFilters where introduced in gtk 2.4 but is documented only in 2.6 Does this mean that the feature should be considered as experimental in 2.4 ? or can I rely on it ? Thank you by

On GtkTreeModelFilters

2005-02-23 Thread Denis
Hi ! Again a question on treemodels : I saw that the GtkTreeModelFilters where introduced in gtk 2.4 but is documented only in 2.6 Does this mean that the feature should be considered as experimental in 2.4 ? or can I rely on it ? Thank you by advance for your help, Denis __

On treeviews and custom treemodels again

2005-02-23 Thread Denis
Hi ! After some investigation here are my conclusions : When one's implements its own GtkTreeModel, he has 2 solutions to tell the cell_renderers what to "render" : 1. put a property on the object which is given in the GValue given by gtk_tree_model_get_value

Re: A bug in Gtk+? (+ OT suff)

2005-02-23 Thread Hubert Sokolowski
> Zeeshan Ali ha scritto lo scorso 23/02/2005 10:31: > [...] >>Yep, in a software of mine that is for ATM machines. You mean to >> ask why i am using both the GMainLoop and gtk_main* in the same >> software, right? At one hand i dont want to bring in gtk+ (glib only) >> into the card-reader int

Re: A bug in Gtk+? (+ OT suff)

2005-02-23 Thread Zeeshan Ali
Hello, > Please, forgive my OT question, but I'm going to start a gtk+ project > involving the use of a smart card reader and I'd very happy to know your > suggestions about linux supported hardware. Welcome to the gang! Sorry to dissappoint you but I too am very new to all this. So far i've

Re: A bug in Gtk+?

2005-02-23 Thread Olexiy Avramchenko
Zeeshan Ali wrote: You may call it a "nessecity of my laziness" :) Sure, L:) Laziness is great power and the reason of why there're so many programming tools and libs avalaible. BTW, you can debug deadlocks with gdb. You just need to attach it to running process. 1. Compile program with '-g' (ha

Re: A bug in Gtk+? (+ OT suff)

2005-02-23 Thread Carlo Agrusti
Zeeshan Ali ha scritto lo scorso 23/02/2005 10:31: [...] Yep, in a software of mine that is for ATM machines. You mean to ask why i am using both the GMainLoop and gtk_main* in the same software, right? At one hand i dont want to bring in gtk+ (glib only) into the card-reader interfacing module

GDK_Left can't work

2005-02-23 Thread Falls Huang
Hello! I've a problem adding an accelerator to the left arrow key. I've tried with GDK_Left, GDK_KP_Left and GDK_leftarrow as keysym, but none of those works. This is my code : /***/ GtkAccelGroup *accel_group; GClosure*closure; GtkWidget

Re: A bug in Gtk+?

2005-02-23 Thread Zeeshan Ali
Hello, On Wed, 23 Feb 2005 10:12:07 +0200, Olexiy Avramchenko <[EMAIL PROTECTED]> wrote: > When you create main loop with NULL as context parameter, main loop gets > shared default context. Before you create your main loop, default > context was populated with functions from gtk/gdk. > > The bloc

Re: Glade and dialogs

2005-02-23 Thread Iago Rubio
On Wed, 2005-02-23 at 06:55, [ A b h i s h e k ] wrote: > hey guys, > > i am using Glade 2.0 in which i have created a Gnome window as well as a > Gnome dialog box. So now when i click on some menu option i would like to > display this dialog box. Glade builds the menu callbacks for you when us

Re: Glade and dialogs

2005-02-23 Thread Carlo Agrusti
[ A b h i s h e k ] ha scritto lo scorso 23/02/2005 06:55: hey guys, i am using Glade 2.0 in which i have created a Gnome window as well as a Gnome dialog box. So now when i click on some menu option i would like to display this dialog box. I dont know how to implement this without getting into

Re: A bug in Gtk+?

2005-02-23 Thread Olexiy Avramchenko
Zeeshan Ali wrote: Hello, On Tue, 22 Feb 2005 15:22:50 +0100, Stefan Kost <[EMAIL PROTECTED]> wrote: Are you sure? Yeah I am sure and thats why i suspect that it may be pointing to a bug in gtk+. Why don't you try it youself? Shouldn't take > 15 mins. :) Hi :) When you create main loop wi