2003-12-12 16:45:51 +00:00
|
|
|
//
|
|
|
|
// Gtk.TextTag.custom - Gtk TextTag class customizations
|
|
|
|
//
|
|
|
|
// Author: Radek Doulik (rodo@ximian.com)
|
|
|
|
//
|
|
|
|
// Copyright (C) 2002 Ximian, Inc.
|
|
|
|
//
|
|
|
|
// This code is inserted after the automatically generated code.
|
|
|
|
//
|
|
|
|
|
|
|
|
public Pango.Weight Weight {
|
|
|
|
get {
|
2004-04-12 15:54:57 +00:00
|
|
|
GLib.Value val = GetProperty ("weight");
|
2003-12-12 16:45:51 +00:00
|
|
|
Pango.Weight ret = (Pango.Weight) (int) val;
|
2004-04-12 15:54:57 +00:00
|
|
|
val.Dispose ();
|
2003-12-12 16:45:51 +00:00
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
set {
|
2004-04-12 15:54:57 +00:00
|
|
|
GLib.Value val = new GLib.Value ((int) value);
|
|
|
|
SetProperty ("weight", val);
|
|
|
|
val.Dispose ();
|
2003-12-12 16:45:51 +00:00
|
|
|
}
|
2004-04-12 15:54:57 +00:00
|
|
|
}
|