Re: Gtk::Label, how can I calculate what would be the actual length, if given a specific string?
- From: Paul Davis <pbd Op Net>
- To: mingd oeone com
- Cc: gtk-list gnome org
- Subject: Re: Gtk::Label, how can I calculate what would be the actual length, if given a specific string?
- Date: Tue, 29 Jan 2002 15:39:14 -0500
>I use Gtk Label object in my program. I want to do some adjustments to
>the string characters, like line wrapping by my own(not by default). So
>I need a program to calculate the final display length(in dot) of the
>string before I get them showed.
actually, that was pointless advice. just read up on gdk_string_extents().
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]