Re: background in gtk_text_view



On Wed, 2003-02-26 at 12:27, Havoc Pennington wrote:
On Wed, Feb 26, 2003 at 05:23:54PM +0100, who_ami siedziba pl wrote:
that doesn't work, neither this tag

  gtk_text_buffer_create_tag (buffer, "textbg",
                              "background", textbg,
                              "foreground", textfg,
                              "background-full-height", TRUE,
                              "background-full-height-set", TRUE,
                              NULL);

where can I find a description about GtkTextTag properties ? I don't see
it in the docs.

There are descriptions in the source code like this:

  g_object_class_install_property (object_class,
                                   PROP_BG_FULL_HEIGHT,
                                   g_param_spec_boolean
                                   ("background_full_height",
                                                         _("Background
                                   full height"),
                                                         _("Whether
                                   the background color fills the
                                   entire line height or only the
                                   height of the tagged characters"),
                                                         FALSE,
                                                         G_PARAM_READABLE | G_PARAM_WRITABLE));


The docs tools just don't know how to pull that stuff out yet.
Probably a pretty easy thing to remedy if someone's looking for a nice
GTK project to work on.

They know how to do it ... not sure why it's not working currently.
Probably some simple bug.

Anyhow, I don't see a bug in bugzilla for the
line-color-extends-to-right feature, so someone should probably file
it. I'm not sure if there should be new API or if it should just work
as I described.

 http://bugzilla.gnome.org/show_bug.cgi?id=81045

Regards,
 
                                               Owen






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]