Re: events on TextTag's

2003-03-15 Thread Havoc Pennington
On Sat, Mar 15, 2003 at 08:39:59PM -0300, Mariano Suarez-Alvarez wrote: > Hi, > > I'd like to have hyper-links in a GtkTextView. Right now I'm using a TextTag > on the text that carries the link, which, apart from underlining and such > niceties, has its "event" signal connected to a callback whic

events on TextTag's

2003-03-15 Thread Mariano Suarez-Alvarez
Hi, I'd like to have hyper-links in a GtkTextView. Right now I'm using a TextTag on the text that carries the link, which, apart from underlining and such niceties, has its "event" signal connected to a callback which, on ButtonEvents, does The Right Thing. I'd like to have the mouse cursor become

Re: Associating labels to widgets

2003-03-15 Thread Havoc Pennington
On Sat, Mar 15, 2003 at 05:36:11PM -0300, Mariano Suarez-Alvarez wrote: > > Is there a way to associate a label (which does *not* have mnemonic) to a > widgets (say a GtkEntry) to that when the entry is set (in)sensitive, the > label is made (in)sensitive. > > Of course, this can be done by hand,

Glade 1.1.1 vs 0.6.4 and signals

2003-03-15 Thread Jim Deas
In the original glade I could define user data to be sent with a signal. The new version has only a place for 'object' user_data is (gpointer) is gone. The signal stub still shows a user_data. How do you set the user data now? If I do it by hand in interface.c a recompile kills it. Is there an easi

Associating labels to widgets

2003-03-15 Thread Mariano Suarez-Alvarez
Hi all, Is there a way to associate a label (which does *not* have mnemonic) to a widgets (say a GtkEntry) to that when the entry is set (in)sensitive, the label is made (in)sensitive. Of course, this can be done by hand, but then you have to keep a pointer to the label, and do it... I guess this

Re: gtkcellrenderer with a combo box

2003-03-15 Thread Owen Taylor
On Sat, 2003-03-15 at 10:00, pclouds wrote: > Hi > > I want to make a cell which allow to choose a value from a list of value, > instead of editing the cell directly. The up-down arrow of combo box is > shown only when the row is selected. I have no glue to start with. I am > reading GtkCellRender

Re: pseudo-random things compiling gtk+-2.2.1 under HP-UX 11.11

2003-03-15 Thread Owen Taylor
On Fri, 2003-03-14 at 18:54, Rick Jones wrote: > Hi - > > I find myself wanting to use gtk+ for a project and so I've been working > through installing all the dependencies. > > I've already run into and worked around (thanks to the archive) the > problems with atk/pango and docs not building (ma

Re: RH8.0 and gtk

2003-03-15 Thread Owen Taylor
On Sat, 2003-03-15 at 02:56, Diego Zuccato wrote: > Owen Taylor wrote: > > > (*) You shouldn't be using glade to generate code. Instead, use > > it to design your GUI and libglade to load the .glade file. > Why? Doesn't this just introduce another dep ? Well, it _does_ introduce another depen

Windows shows a terminal even when I use WinMain()

2003-03-15 Thread Egon Andersen
Hi, System info: WindowsXP, MinGW, GTK2+ I've ported an application from Linux to Windows. When I start the application I get both the application and a windows-terminal. I've used the construction given earlier on this list, using the WinMain(). Do anyone have a clue about what I may have done

gtkcellrenderer with a combo box

2003-03-15 Thread pclouds
Hi I want to make a cell which allow to choose a value from a list of value, instead of editing the cell directly. The up-down arrow of combo box is shown only when the row is selected. I have no glue to start with. I am reading GtkCellRendererText & GtkCellRenderToggle. Can you give me some glue