Re: tooltips

2006-02-18 Thread Ronald Vincent Tarrant
Paul Pogonyshev wrote: I want to add tooltips to my widget, but they should be different for different widget areas. It seems there is no way to implement this using GtkTooltips... Any hints? Hi Paul, How about two (or more) separate instances of the ToolTips class, one for each

Re: Row-Column addressable Text Locations in TextView and TextBuffer

2006-02-03 Thread Ronald Vincent Tarrant
Bill Sousan wrote: Is there a way to use TextView and TextBuffer to setup an addressable area of text? In other words, I want to have a Text Window where I can specify to display a given string at a specific Row and Column. I want to avoid the overhead of having a Fixed container and popping

Re: containers for containers

2006-01-26 Thread Ronald Vincent Tarrant
Goran Rakić wrote: Why not use GtkFixed as base container? Good idea. I didn't think of that one. A cautionary note: Truncated labels, etc. may result. -Ron T. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: gtkmm and windows

2006-01-10 Thread Ronald Vincent Tarrant
Gezim Hoxha wrote: I'm under the impression that GTK+ programs work under windows as well, right? Like in GIMP's case. However I'm wondering if gtkmm program work under windows as well and how you would get them going? You can get more info here:

Re: labels and dpi

2006-01-10 Thread Ronald Vincent Tarrant
Fernando Apesteguía wrote: Actually, I want my app behaves for example like the gnome font dialog. When I change dpi configuration, dialog, gnome panel and others, they expand their widths and heights to fit the text. Did you try it?. Maybe I'm missing some widget property to do this

Re: labels and dpi

2006-01-09 Thread Ronald Vincent Tarrant
Fernando Apesteguía wrote: I have a problem about displaying text on labels. When I change the dpi font configuration, the text doesn't fit the label, so the message appear to be cutted. I would like to know if there is any way to handle this. May be I'm forgetting some gtk_label_set_*

Re: Tiled Image with GdkFill?

2006-01-05 Thread Ronald Vincent Tarrant
Tristan Van Berkom wrote: There may be other ways to do this that I'm not aware of; afaik the theme engine does not support this (all images are scaled to fit the widget backgrounds afaik; using engine pixbuf that is). One thing I do know you can do is:

Tiled Image with GdkFill?

2006-01-04 Thread Ronald Vincent Tarrant
Hi all, Does anyone know how to tile an image as a background in a widget? I'm thinking it has something to do with GdkFill types (such as GDK_TILED) but I don't see any example code. In fact, I'm not at all clear on how to use a GdkFill type at all. Any suggestions, anyone? -Ron T.

Default Text in GtkComboBox

2006-01-03 Thread Ronald Vincent Tarrant
Hi all, I've been looking through all the Gtk docs and I don't see any way to set the text for item # -1 (which would act as a prompt if nothing has been selected from the list yet) for a GtkComboBox. Is there a way to do this or do I have to fake it with item #0? -Ron T.