GtkStyle

2000-10-16 Thread Matt Eisemann
Currently I am creating an application where I need to change to color of a row on a CLIST depending upon the status of that particular task or 'row'. The following is what I have been doing to change a color in a row and I have five possible colors that a row can be. Actually this does seem

sweep-0.1.1 Released

2000-10-16 Thread Conrad Parker
Version 0.1.1 of Sweep [1], a sound wave editor has been released. Source is available from: http://download.sourceforge.net/sweep/sweep-0.1.1.tar.gz RedHat RPMs for i386 are also available: ftp://sweep.sourceforge.net/pub/sweep/binaries/redhat/i386/sweep-0.1.0-1.i386.rpm ftp://sweep.sourc

Re: clipboard pasted text highlighting broken?

2000-10-16 Thread Havoc Pennington
"Dugas, Alan" <[EMAIL PROTECTED]> writes: > gtk_entry_append_text(GTK_EDITABLE(GTK_ENTRY(entry)), " "); > > > > gtk_editable_select_region(GTK_EDITABLE(GTK_ENTRY(entry)), (gint) 0, > > (gint) -1); > > > gtk_widget_show(entry); > > > all of the text in the gtkentry gets selected/highlighted prop

RE: clipboard pasted text highlighting broken?

2000-10-16 Thread Dugas, Alan
Hmm,,, I see what your saying. However, if I understand you correctly, I may have found a hack that works but shouldn't. If I insert the following line; > > /* Creating entry widget to input search string */ > > entry = gtk_entry_new(); > > gtk_signal_connect(GTK_OBJECT(entry), "activate", > >

buttons

2000-10-16 Thread Matt Eisemann
This is probably a silly question that I should know the answer to, but since it does not seem to work let me ask it anyway. The application I am writing is supposed to start UNIX tasks and in the upper part of the application I have a horizontal (hbox) on top of a vertical box (vbox). In

Re: clipboard pasted text highlighting broken?

2000-10-16 Thread Havoc Pennington
"Dugas, Alan" <[EMAIL PROTECTED]> writes: > /* Creating entry widget to input search string */ > entry = gtk_entry_new(); > gtk_signal_connect(GTK_OBJECT(entry), "activate", > GTK_SIGNAL_FUNC(find_string), GTK_WIDGET(entry)); > gtk_box_pack_start(GTK_BOX(vbox), GTK_WIDGET(

Re: gtk main and slemr main

2000-10-16 Thread Havoc Pennington
Eric Monsler <[EMAIL PROTECTED]> writes: > > Maybe I missed something, but since GTK+ does have hooks with which to > execute one main loop iteration, why couldn't GTK+ be the slave to the > Middleware main loop? > I believe it's because you'd have to have a busy loop constantly polling to se

RE: clipboard pasted text highlighting broken?

2000-10-16 Thread Dugas, Alan
A strange observation using the code in the previous post below... With the start position of gtk_editable_select_region() set to "(gint) 0"; * All text placed into a gtkentry using gtk_entry_set_text() is selected/highlighted. * NO text placed into the same gtkentry using gtk_editable_paste_cl

clipboard pasted text highlighting broken?

2000-10-16 Thread Dugas, Alan
Sorry for the repost, but this seems like it's something that someone else would have run into by now. Simply put, how do you highlight text in a gtkentry widget that was pasted there from the clipboard? Any response would be appreciated! Is there something special that needs to be done in orde

Re: question about gtknotebook

2000-10-16 Thread Florent. Devin
Ottavio Campana a écrit : > 1: > By default gtknotebook has got the labels for choosing the page on its > top. Is there the possibility of having these labels on another side (I > would like to have them on the left side of it). Is possible to specify 2: > if the labels have got to stay on th

question about gtknotebook

2000-10-16 Thread Ottavio Campana
By default gtknotebook has got the labels for choosing the page on its top. Is there the possibility of having these labels on another side (I would like to have them on the left side of it). Is possible to specify if the labels have got to stay on the left or on right (or up o down) of a side

Re: Centering widgets relative to another.

2000-10-16 Thread John Cupitt
Kristopher Kycia wrote: > I would like to be able to center windows / dialogs however not every > object seems to have a width and height. And many objects do not have a > default x and y position. Ideally I would like to have my top level > window appear at any position and then have subsequent

Re: Snagging a button label

2000-10-16 Thread Matt Goodall
Jeff Shipman wrote: > I would like to modify the text in a button label during > runtime. Is there a way to grab the text widget from the > button? GTK_LABEL(GTK_BIN(button)->child) /Matt -- Matt Goodall, Software Engineer | Isotek Electronics Ltd mailto:[EMAIL PROTECTED] | Claro H