Setting fixed-width font

2003-09-26 Thread Egon Andersen, Talura
Hi, I have a widget (actually a GtkLabel, but it may be changed later) for which I want use fixed-width font. Is there a simple way to achieve this? (I've looked in the FAQ and mail-archive. But it only described a solution using a resource file, which I don't want to use in this case.) Best

gtk_text_view / gtk_text_buffer

2002-11-30 Thread Egon Andersen, Talura
Hi, (Using GTK2+) I'm trying to insert a (fixed) multi-line text into a gtk_text_view using gtk_text_buffer_insert() My problem is that only the first line is displayed. When I click in the gtk_text_view field the field expands and I can see all my inserted text lines. How can I force all

How do I expose a specific widget and all it parents?

2002-09-12 Thread Egon Andersen, Talura
Hi, I don't know if the correct word is 'expose' or something else, but I'll try to explain my problem. I have a notebook with several pages and I want to be able to from the application to show/expose any specific page I want. I have notebooks that are nested and I imagine this may

Re: How do I expose a specific widget and all it parents?

2002-09-12 Thread Egon Andersen, Talura
Cupitt, John wrote: Egon Andersen, Talura wrote: I have a notebook with several pages and I want to be able to from the application to show/expose any specific page I want. I think you need gtk_notebook_set_page() I thought of this function, but then I need to make it top-down. I can

Re: How do I expose a specific widget and all it parents?

2002-09-12 Thread Egon Andersen, Talura
Cupitt, John wrote: Egon Andersen, Talura wrote: I have a notebook with several pages and I want to be able to from the application to show/expose any specific page I want. I think you need gtk_notebook_set_page() I thought of this function, but then I need to make it top-down. I can

Re: win32/gcc : how to avoid need of -fnative-struct

2002-09-08 Thread Egon Andersen, Talura
Thierry CARRARD wrote: when compiling a win32 app using gcc and win32 gtk DLLs, you can suppress the ?fnative-struct option (which isn?t available any more on gcc3.x) if you replace the contant of gtk/gtkbox.h by this (for version 2.0.6) : Or use -mms-bitfields /Egon

Transparent background in window?

2002-09-04 Thread Egon Andersen, Talura
Hi, Is it possible to make the background in a window transparent? The reason that I ask is that I have made a splash screen with an image that is not rectangular (transparent background) and I would like the window to appear as having the same shape as the image. I've been looking at

problem with check_button in notebook tab

2002-08-26 Thread Egon Andersen, Talura
Hi, [gtk2+] I've inserted a check_button in some notebook tabs, which works fine in my linux environment, but when I ported the code to windows, the check_button could not be set/unset and the connected tooltips didn't appear either. I don't have problems with check_buttons or tooltips in other

How do I remove a widget from a table?

2002-08-12 Thread Egon Andersen, Talura
Hi, I would like to remove one or more widgets from a table. The widget has been attached earlier by gtk_table_attach(). When I try to destroy the widget I get a segmentation fault (which I to some degree can understand), but how do I remove the widget the 'right way' ? Best regards Egon

Text always selected in entry

2002-07-31 Thread Egon Andersen, Talura
Hi, GTK2: It seems that the default text in an entry is always selected when entering the field. How do I prevent that from happening. I've tried gtk_editable_select_region with start and end set to 0, but this does not help. Do someone have an idea about how I get past this problem? /Egon

glade-1.2 -2.0

2002-07-30 Thread Egon Andersen, Talura
Hi, I've made some UI's with glade-1.2 and has now upgraded to glade-2.0, but I can't import my old projects. Are there any 'upgrade' facilities available, so that I don't have to start again from scratch? Best regards Egon Andersen ___ gtk-list

Right justification of text in GtkEntry

2002-07-25 Thread Egon Andersen, Talura
Hi, How do I make text (actually digits) right justified when the digits are typed in the entry box? I would like to se my numbers typed as: [ 123.45] rather than [123.45 ] Best regards Egon Andersen ___ gtk-list mailing list [EMAIL PROTECTED]