mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 07:05:32 +00:00
b7e4cc507e
parameter should be hidden in the managed sig (eg, because it's user_data, or it's the length of the preceding array/string, etc). (VisibleCount): the number of parameters that will actually be exposed in the managed signature. (IsAccessor): test VisibleCount, not Count (AccessorReturnType, AccessorName): deal with the fact that the accessor parameter might not be the first one. * generator/CallbackGen.cs: * generator/Signature.cs: use Parameters.IsHidden. * generator/Method.cs (Initialize): set is_set based on VisibleCount, not Count. (Validate): call base.Validate() before Initialize() so that VisibleCount will be correct in Initialize. * generator/MethodBody.cs (GetCallString, CallArrayLength, Initialize): update to deal with accessors with multiple args. * gtk/Clipboard.custom (SetText): implement as an Obsolete variant of the Text property * gtk/IconTheme.custom (SearchPath, SetSearchPath): obsolete SetSearchPath, implement a setter on SearchPath instead. * gtk/ListStore.custom (SetColumnTypes): * gtk/TreeStore.custom (SetColumnTypes): implement as an Obsolete variant of the ColumnTypes property. * glade/XML.custom (CustomHandler): implement as a property (SetCustomHandler): Mark this obsolete * glade/Global.custom (SetCustomHandler): deprecate in favor of XML.CustomHandler. * gnomedb/Editor.custom (SetText): implement as an Obsolete variant of the Text property svn path=/trunk/gtk-sharp/; revision=43898
22 lines
893 B
Plaintext
22 lines
893 B
Plaintext
// Copyright (c) 2005 Novell, Inc.
|
|
//
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of version 2 of the Lesser GNU General
|
|
// Public License as published by the Free Software Foundation.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
// Lesser General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
// License along with this program; if not, write to the
|
|
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
// Boston, MA 02111-1307, USA.
|
|
|
|
[Obsolete ("Replaced by Glade.XML.CustomHandler static property.")]
|
|
public static void SetCustomHandler (Glade.XMLCustomWidgetHandler handler)
|
|
{
|
|
XML.CustomHandler = handler;
|
|
}
|