2004-08-18 John Luke <john.luke@gmail.com>
* pango/Pango.metadata : hide a couple methods on Layout. * pango/Layout.custom : impl SetText and SetMarkup w/ length=-1. [Fixes #63057] svn path=/trunk/gtk-sharp/; revision=32499
This commit is contained in:
parent
b45b49ac61
commit
b6e7515687
5 changed files with 23 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-08-18 John Luke <john.luke@gmail.com>
|
||||
|
||||
* pango/Pango.metadata : hide a couple methods on Layout.
|
||||
* pango/Layout.custom : impl SetText and SetMarkup w/ length=-1.
|
||||
[Fixes #63057]
|
||||
|
||||
2004-08-18 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gtk/Gtk.metadata : unhide ExpanderStyle.
|
||||
|
|
|
@ -101,4 +101,4 @@
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
|
@ -1290,4 +1290,4 @@
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
|
@ -71,3 +71,16 @@ public void SetMarkupWithAccel (string markup, char accel_marker, out char accel
|
|||
}
|
||||
}
|
||||
|
||||
[DllImport ("libpango-1.0-0.dll")]
|
||||
static extern void pango_layout_set_text (IntPtr raw, string text, int length);
|
||||
|
||||
public void SetText (string text) {
|
||||
pango_layout_set_text (Handle, text, -1);
|
||||
}
|
||||
|
||||
[DllImport ("libpango-1.0-0.dll")]
|
||||
static extern void pango_layout_set_markup (IntPtr raw, string markup, int length);
|
||||
|
||||
public void SetMarkup (string markup) {
|
||||
pango_layout_set_markup (Handle, markup, -1);
|
||||
}
|
||||
|
|
|
@ -24,7 +24,9 @@
|
|||
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='GetPixelSize']/*/*[@type='int*']" name="pass_as">out</attr>
|
||||
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='GetSize']/*/*[@type='int*']" name="pass_as">out</attr>
|
||||
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='IndexToPos']/*/*[@type='PangoRectangle*']" name="pass_as">out</attr>
|
||||
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='SetMarkup']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='SetMarkupWithAccel']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='SetText']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrIterator']/method[@name='GetAttrs']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrIterator']/method[@name='GetFont']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoCoverage']/method[@name='ToBytes']" name="hidden">1</attr>
|
||||
|
|
Loading…
Reference in a new issue