Hi!
Like Havoc suggestion, I've made:
gint console_view_get_width(ConsoleView *self, GtkTextTag *tag)
{
PangoFontDescription *fdesc;
PangoFontMetrics *metrics;
PangoContext *context;
GtkWidget *widget;
GValue *value;
int char_width;
int width_in_chars
Hi
Some language like Delphi have widgets for
socket programming.
Have gtk widget or function for easier socket
programming?
vahid
Thanks in advance
__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/vide
On Sat, Jan 12, 2002 at 11:25:35AM -0800, Vahid Zahiri wrote:
> Have gtk widget or function for easier socket
> programming?
Look at the gnet library at http://www.gnetlibrary.org/. It
integrates well into glib/gtk.
___
gtk-list mailing list
[EMAIL
Alberto Manuel Brandao Simoes <[EMAIL PROTECTED]> writes:
> g_object_get(tag, "font-desc", fdesc, NULL);
You want "&fdesc" not just "fdesc" here.
Also you need to pango_font_description_free (fdesc) when you're done.
Havoc
___
gtk-list mailing l