Automatic scrolling of textview widget?

2006-09-19 Thread Preben Randhol
Hi I have a textview widget in which I have put text and entry widgets. I use a scrolledwindow widget as the textview widget becomes long. I fill in the first entry widget and then press TAB to jump to the next. The problem is that if the next entry widget is not visible then I would like that

Re: Text View Drag and Drop

2005-07-03 Thread Preben Randhol
On Sun, Jul 03, 2005 at 07:39:31AM -0400, Mystilleef wrote: Hello, How do I prevent the URI of a file from being appended to a GTK TextView widget after a drag and drop operation completes? The link below points to a screenshot that illustrates my issue. What is it that you want to do? Read

Re: GtkCombo does not send signal

2005-06-27 Thread Preben Randhol
Pramod Patangay [EMAIL PROTECTED] wrote on 27/06/2005 (10:49) : activate signal on which widget? GtkComboBox doesn't have any such signal. Gtk_Entry If not use focus_out on the combo ___ gtk-list mailing list gtk-list@gnome.org

Re: Get rid of cursor in Label

2005-06-26 Thread Preben Randhol
On Sun, Jun 26, 2005 at 12:36:04AM +0200, David Necas (Yeti) wrote: On Sat, Jun 25, 2005 at 10:57:32PM +0200, Preben Randhol wrote: If one setup a Label so that one can select the text of the label, one get an annoying |-cursor at the beginning of the label. How can one get rid

Re: Get rid of cursor in Label

2005-06-26 Thread Preben Randhol
On Sun, Jun 26, 2005 at 09:57:09AM +0200, David Necas (Yeti) wrote: This behaviour is identical to any other selectable text in Gtk+: GtkEntry, GtkTextView. Well it shouldn't be identical as they have different purposes. Labels are to display text and not to be edited so the cursor should

Re: application icone

2005-06-26 Thread Preben Randhol
On Sun, Jun 26, 2005 at 01:34:43PM +0200, Jean Chapelle wrote: In the title bar of my gui, I've got a big X icon. I want to put a personnal icone instead of the big X. Can you tell me how can I do that ?? Use Set_Icon Preben ___ gtk-list mailing

Get rid of cursor in Label

2005-06-25 Thread Preben Randhol
Hi If one setup a Label so that one can select the text of the label, one get an annoying |-cursor at the beginning of the label. How can one get rid of this? Preben ___ gtk-list mailing list gtk-list@gnome.org

Re: Label and wrap text

2005-06-19 Thread Preben Randhol
On Sun, Jun 19, 2005 at 09:30:46AM +0200, Jean Brfort wrote: I did not try it, but a call to gtk_label_set_justify should solve your problem: gtk_label_set_justify (label, GTK_JUSTIFY_FILL); It is set to GTK_JUSTIFY_FILL already. Preben ___

Re: Label and wrap text

2005-06-19 Thread Preben Randhol
On Sun, Jun 19, 2005 at 10:37:54AM +0200, David Necas (Yeti) wrote: This doesn't help -- in fact, it doesn't even seem to do what it should do, I get ragged right text like with GTK_JUSTIFY_LEFT (GTK_JUSTIFY_RIGHT works, though). A simple test case is atached to this mail. The question is

Re: Label and wrap text

2005-06-19 Thread Preben Randhol
On Sun, Jun 19, 2005 at 11:38:28AM +0200, Jean Brfort wrote: Looks like there are bugs. Actually it has always been like this since 1.0. However, I hope that it will be fixed in future versions of Gtk. = When we wrap the text, the width of the label lines is fixed whatever the width of its

Re: Label and wrap text

2005-06-19 Thread Preben Randhol
On Sun, Jun 19, 2005 at 11:38:28AM +0200, Jean Brfort wrote: = GTK_JUSTFIY_FILL does not work. I filed a bug report just to bring attention to this part of Gtk. Don't know if there will be any improvements of GtkLabel in the future, but it would be nice. Preben

Re: Label and wrap text (Preben Randhol)

2005-06-19 Thread Preben Randhol
On Sun, Jun 19, 2005 at 01:11:05PM -0400, Irv Mullins wrote: You could perhaps substitue a text_view, set non-editable. That control does adjust the text to fill the space available. Thanks, but my problem is that : 1. I want to use the Pango markup 2. I want to make a simple poor-man's

Label and wrap text

2005-06-18 Thread Preben Randhol
Hello I was thinking to use a label to present some text for a simple help in my program. The problem is that if I use the Wrap Text and Fill options then the label doesn't fill the width of the window. See this mockup: http://www.pvv.org/~randhol/label.png The pixmap is wider as you can see

How to find out when the user moves a row

2005-06-05 Thread Preben Randhol
Hi I use a GtkListStore and a GtkTreeView to show a list. I have enabled that the user may rearrange the rows by dragging them. My problem is that I want to find out which row is dragged and to where it is dropped. I thought the rows_reordered signal would give me this, but when I hook up the

Re: Problems with text alignment in labels

2003-10-09 Thread Preben Randhol
to do this ? It works for me in GtkAda. See attached glade files -- Preben Randhol -- http://www.pvv.org/~randhol/Ada95 -- «For me, Ada95 puts back the joy in programming.» ?xml version=1.0 standalone=no? !--*- mode: xml -*-- !DOCTYPE glade-interface SYSTEM http

Re: deactivating close button of a gtk+ window / dialog

2003-07-25 Thread Preben Randhol
a loop which will do a gtk exit when the critical phase has passed and a flag has bee set. Otherwise if this takes some time the user might kill the app in stead as it thinks it has hung or something. -- Preben Randhol -- http://www.pvv.org/~randhol/Ada95 -- «For me

Re: deactivating close button of a gtk+ window / dialog

2003-07-25 Thread Preben Randhol
installed, but it seems it might not be possible. Just pop up a dialog saying that you cannot close the program while the installation is running. The user will understand. -- Preben Randhol -- http://www.pvv.org/~randhol/Ada95 -- «For me, Ada95 puts back the joy

Re: Cannot set foreground colour of Entry widget

2003-07-24 Thread Preben Randhol
. It works for a Label in the same window so there is nothing wrong with allocating the colours or something like that. I'm beginning to believe it is a bug in Gtk+. -- Preben Randhol -- http://www.pvv.org/~randhol/Ada95 -- «For me, Ada95 puts back the joy in programming

Re: Cannot set foreground colour of Entry widget

2003-07-24 Thread Preben Randhol
Owen Taylor [EMAIL PROTECTED] wrote on 24/07/2003 (16:19) : http://ometer.com/gtk-colors.html Thanks! Set_Text with State_Normal fixed the problem. -- Preben Randhol -- http://www.pvv.org/~randhol/Ada95 -- «For me, Ada95 puts back the joy in programming

Re: deactivating close button of a gtk+ window / dialog

2003-07-24 Thread Preben Randhol
even know if it's possible or not. Why do you want to desensitizes it? It is better to remove it if the user should not use it. -- Preben Randhol -- http://www.pvv.org/~randhol/Ada95 -- «For me, Ada95 puts back the joy in programming

Can one know if a windows i minimized?

2003-07-23 Thread Preben Randhol
I know this may be out of the realm of GTK, but since one can remove window decorations from GTK I was wondering if one also could hook the minimize button so the program knows that it is being minimized. This is useful in some areas. Thanks in advance. -- Preben Randhol -- http

Cannot set foreground colour of Entry widget

2003-07-23 Thread Preben Randhol
I have problems setting the foreground colour of an Entry widget. In Gtk+-1.2 I modified a Style and then applied this to get say red colour on the text of the Entry widget text. This way still works for Label (though I use pango's markup instead now). However for a Entry widget this approach does

Re: Can one know if a windows i minimized?

2003-07-23 Thread Preben Randhol
such as GDK_WINDOW_STATE_ICONIFIED etc. Thanks! Will look at it! -- Preben Randhol -- http://www.pvv.org/~randhol/Ada95 -- «For me, Ada95 puts back the joy in programming.» ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman

Re: Vscale

2003-07-12 Thread Preben Randhol
you switch start and end points? -- Preben Randhol -- http://www.pvv.org/~randhol/Ada95 -- «For me, Ada95 puts back the joy in programming.» ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo

Re: How to get Greek input in a Gtk+ 2.2 program?

2003-06-16 Thread Preben Randhol
can be used independant of Desktop choice to switch keyboards. It should be put in Xfree86 I think. On Sun, 15 Jun 2003, Preben Randhol wrote: Are there any keyboard switcher that does this for Linux? In GNOME 2.2 you should be able to find a program in the lower panel called keyboard

How to get Greek input in a Gtk+ 2.2 program?

2003-06-15 Thread Preben Randhol
Windows works with Gtk 2.x? I'm asking as I'm making a couple of programs that will have mixed language input, so I need to know how to design my program. Thanks in advance. -- Preben Randhol -- http://www.pvv.org/~randhol/Ada95 -- «For me, Ada95 puts back the joy

Where is the GTK 1.2 Tutorial?

2002-04-30 Thread Preben Randhol
Preben Randhol -- «For me, Ada95 puts back the joy in programming.» ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Problems with highlight of clicked button

2001-12-17 Thread Preben Randhol
is still highlighted. My problem is that I cannot find a way to get the frame to redraw itself removing the highlighting of the buttons. Is there a way to do this. Any hints appreciated. Thanks in advance. Preben -- Preben Randhol --- http://www.pvv.org/~randhol

Re: how to update the content of a vbox???

2001-12-17 Thread Preben Randhol
signal (see the gtk+ tutorial). In this function you ca use Get_Child (you find it in the gtk-container) to get the pixmap and then Remove it and add the new. -- Preben Randhol --- http://www.pvv.org/~randhol/ -- «For me, Ada95 puts back the joy in programming

Problem with rowheight

2001-11-21 Thread Preben Randhol
would like to set the row heights to be the total height for the font + some pixels. How can one best do this? Thanks in advance. Preben -- Preben Randhol --- http://www.pvv.org/~randhol/ -- «For me, Ada95 puts back the joy in programming

Re: Hi

2001-11-21 Thread Preben Randhol
Sebastien Tricaud [EMAIL PROTECTED] wrote on 21/11/2001 (14:17) : Please, can everybody on this list could avoid the have a message like 'Hi and, for the OP of this list, is it possible like the other lists to have something in the subject like : [gtk] subject ? Learn to filter your mail

Re: Hi

2001-11-20 Thread Preben Randhol
Jyothi [EMAIL PROTECTED] wrote on 20/11/2001 (09:38) : Hi, Is there any table function which can detach the menubar and re attach the box...? gtk_container_remove remember to ref the menu and toolbar if you don't want them to be deleted. -- «Don't use C; In my opinion, C is a library

Problems with highlight of clicked button

2001-11-15 Thread Preben Randhol
is still highlighted. My problem is that I cannot find a way to get the frame to redraw itself removing the highlighting of the buttons. Is there a way to do this. Any hints appreciated. Thanks in advance. Preben -- Preben Randhol --- http://www.pvv.org/~randhol

Please: Explain what happens when on use gtk_container_remove

2001-05-08 Thread Preben Randhol
Development files for libgtkada libgtkada1-gl 1.2.11-2 Ada binding for OpenGL libgtkada1-gla 1.2.11-2 Ada binding for Glade generated applications libgtkada1-gno 1.2.11-2 Ada binding for the Gnome Library -- Preben Randhol --- http://www.pvv.org/~randhol

Only change the font size?

2001-04-18 Thread Preben Randhol
the Gtk+ API References on-line? On the www.gtk.org site the link doesn't work, still... -- Preben Randhol --- http://www.pvv.org/~randhol/ -- For me, Ada95 puts back the joy in programming. ___ gtk-list mailing list [EMAIL

Re: Only change the font size?

2001-04-18 Thread Preben Randhol
Havoc Pennington [EMAIL PROTECTED] wrote on 18/04/2001 (14:24) : Preben Randhol [EMAIL PROTECTED] writes: Is is possible to only change the size of a font in say a label? I mean I would not like to change the font that the user has specified in the rc file other than make it larger

Re: ANNOUNCE: gtk-image-viewer-0.0.1

2000-11-30 Thread Preben Randhol
that don't have Gnome or Bonobo. Those of us need a GTK-only solution. I agree. Anyhow I prefer a widget over having to run stuff through bonobo when the widget can be made small and neat. -- Preben Randhol http://www.pvv.org/~randhol/ -- iMy favorite editor is Emacs!ESCbcwVimESC

Re: how to get colors other than balck_gc and white_gc?

2000-06-12 Thread Preben Randhol
-gdk.html http://developer.gnome.org/doc/GGAD/sec-gdkvisual.html -- Preben Randhol -- [[EMAIL PROTECTED]] -- http://www.pvv.org/~randhol/ "Det eneste trygge stedet i verden er inne i en fortelling." -- At

Setting Background of Labels

2000-06-11 Thread Preben Randhol
and then I set different background colours for them and adds the labels. After that I pack the boxes in the vbox. The problem is that both Labels gets the latter background colour that was set for the latter Eventbox. Any idea what I'm doing wrong? Thanks in advance. -- Preben Randhol

Re: Setting Background of Labels

2000-06-11 Thread Preben Randhol
Preben Randhol [EMAIL PROTECTED] wrote on 11/06/2000 (15:30) : The problem is that both Labels gets the latter background colour that was set for the latter Eventbox. putting-brown-paper-bag-on-my-head Please ignore my question. My error was that I did: Style := Get_Style

Re: gtk-term widget?

2000-06-10 Thread Preben Randhol
;pure" GTK+. Then one can be able to fully use features like strict typing and safer memory handling which C lacks. However GTK+ should not be bloated... -- Preben Randhol -- [[EMAIL PROTECTED]] -- http://www.pvv.org/~randhol/ "Det eneste trygge stedet i verden er inne

Troublesome background of Text widget

2000-06-08 Thread Preben Randhol
(Window1.Text2, Window1.Style); [...] -- Preben Randhol -- [[EMAIL PROTECTED]] -- http://www.pvv.org/~randhol/ "Det eneste trygge stedet i verden er inne i en fortelling." -- Athol Fugard _

Re: GTK+ 1.2.8 doesn't seem to work.

2000-06-06 Thread Preben Randhol
in the future like to use GTK+ for development purposes I'd recommend Ada95 (GNAT) and GtkAda as you know some Pascal. Links: http://www.adapower.com, http://gtkada.eu.org/, http://www.gnat.com -- Preben Randhol -- [[EMAIL PROTECTED]] -- http://www.pvv.org/~randhol/ "Det eneste trygge s