RE: GtkTextView getting coordinates (on Windows)



Any ideas why?

Presumably because (GtkTextWindowType)0 is GTK_TEXT_WINDOW_PRIVATE ?
See
http://developer.gnome.org/doc/API/2.0/gtk/GtkTextView.html#Gt
kTextWindowType

Ok, so why shouldn't it work Windows, when the same code works under Gnome
2?

No idea.
 
Also can you tell me what the enumeration values actually mean and the
implications?

typedef enum
{
  GTK_TEXT_WINDOW_PRIVATE,
  GTK_TEXT_WINDOW_WIDGET,
  GTK_TEXT_WINDOW_TEXT,
  GTK_TEXT_WINDOW_LEFT,
  GTK_TEXT_WINDOW_RIGHT,
  GTK_TEXT_WINDOW_TOP,
  GTK_TEXT_WINDOW_BOTTOM
} GtkTextWindowType;



http://developer.gnome.org/doc/API/2.0/gtk/GtkTextView.html#gtk-text-view-get-window may give
you some hints. The docs could be better, I guess.

Matthias

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post




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