Re: A selectable sequence of EventBoxes

2007-11-13 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin M. Schwartz wrote: > I tried wrapping each row in a gtk.EventBox with 'can-focus' set to True, but > none of the EventBoxes ever received focus. How can I build this GUI? Solved. I was able to do this by setting 'can-focus' True, but placin

Re: configure my own pango.modules

2007-11-13 Thread saravanan m
Can anyone help me to resolve this error (tl1gwui:4843): Gtk-WARNING **: ld.so.1: tl1gwui: fatal: relocation error: file /usr/lib/libpangoxft-1.0.so.0: symbol pango_fc_font_get_type: referenced symbol not found (tl1gwui:4843): Gtk-WARNING **: Loading IM context type 'xim' failed (tl1gwui:4843):

Selecting words in textbuffer

2007-11-13 Thread Jeffrey Barish
Because I'm just learning how to use textbuffer, I may be missing the correct solution to my problem. I want to be able to sweep a selection of several words without having to hit the beginning and end of the words exactly. I found textiter.backward_word_start() and textiter.forward_word_end() fo

Changing the underline color of a text tag

2007-11-13 Thread Andrew Sage
I am trying to figure out how to change the color of an underline in a Gtk::TextTag. I'm writing this in Ruby, and on the Ruby/Gtk+ website I saw the Pango::AttrUnderlineColor, but I've no idea how to apply this anywhere. When defining a tag, I typically use the create tag function on a TextBuffe

Re: How to get PangoFontFamily?

2007-11-13 Thread Behdad Esfahbod
On Tue, 2007-11-13 at 18:51 +0100, Enrico Tröger wrote: > Hi, > > I have a PangoFontDescription, created from a font string. Now I would > like to use pango_font_family_is_monospace() to know whether it is a > monospaced font or not. But I don't find a way to get a PangoFontFamily > object at all

Re: configure my own pango.modules

2007-11-13 Thread Behdad Esfahbod
On Tue, 2007-11-13 at 20:09 +0530, saravanan m wrote: > Hi All, > > Is there any envronment variable which influences pango.modules file instead > of the default one /etc/pango/pango.modules. There's PANGO_RC_FILE that you can use to point to your pangorc file that can look like: [Pango] ModuleF

Re: GtkFileChooserDialog and GtkFileChooser problem

2007-11-13 Thread zz
On Monday 12 November 2007 23:24:51 [EMAIL PROTECTED] wrote: >> Hi, >> I'm experiencing a little problem with GtkFileChooserDialog and >> GtkFileChooser: I'm writing an app that needs to select a path to operate on >> it. This path could be a file or a directory (to be handled recursively). >> Whil

How to get PangoFontFamily?

2007-11-13 Thread Enrico Tröger
Hi, I have a PangoFontDescription, created from a font string. Now I would like to use pango_font_family_is_monospace() to know whether it is a monospaced font or not. But I don't find a way to get a PangoFontFamily object at all. Any ideas? Regards, Enrico -- Get my GPG key from http://www.uv

Removing label from radiobutton

2007-11-13 Thread Dan H
Hello, I'm using Glade-2 to build a GTK interface: I made an array of radiobuttons, and Glade always creates them using gtk_radio_button_new_with_mnemonic. I don't want the buttons labelled, so I set the label to "", but the button is still slightly asymmetric because of the empty label. I tri

configure my own pango.modules

2007-11-13 Thread saravanan m
Hi All, Is there any envronment variable which influences pango.modules file instead of the default one /etc/pango/pango.modules. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reusing GtkTreeView

2007-11-13 Thread Divya yadav
Hello... This code works fine for some time but crashes anytime with the following log Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed GLib-GObject-CRITICAL **: g_object_set_property: assertion `G_IS_VALUE (value)' failed GLib-GObject-CRITICAL

treeview combo box - multi select

2007-11-13 Thread dhk
When using a combo box in a treeview, how can it be configured so the user can select one or more items in the glist? Thanks, --dhk ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-lis

Re: notebook tab with other widget

2007-11-13 Thread Damien Caliste
Hello, Le 12/11/2007, sphurti durgade <[EMAIL PROTECTED]> a écrit : > i am using notebook in my application. i want to reduce the tab size > and placing other widget next/near to tab I don't think this is tractable with GTK directly (the area near the tabs is Notebook private), but I let other lis