GtkDClass

Undocumented in source.
class GtkDClass {}

Constructors

this
this(WrapperIF wrapper)
Undocumented in source.

Members

Functions

addAddListener
void addAddListener(string[] text, string signalName, string gtkDSignalName, string dlg)
Undocumented in source. Be warned that the author may not have intended to support it.
addExternCallback
void addExternCallback(string[] text, Funct fun, string gtkDSignal, string dlg)
Undocumented in source. Be warned that the author may not have intended to support it.
closeGtkDClass
string closeGtkDClass(string inAPI, ConvParms* convParms)
Undocumented in source. Be warned that the author may not have intended to support it.
getAliases
string[] getAliases()
Undocumented in source. Be warned that the author may not have intended to support it.
getConstants
string[] getConstants()
Undocumented in source. Be warned that the author may not have intended to support it.
getEnums
string[] getEnums()
Undocumented in source. Be warned that the author may not have intended to support it.
getError
int getError()
Undocumented in source. Be warned that the author may not have intended to support it.
getExternalDeclarations
string[] getExternalDeclarations()
Undocumented in source. Be warned that the author may not have intended to support it.
getFuncts
string[] getFuncts()
Undocumented in source. Be warned that the author may not have intended to support it.
getGTypes
string[] getGTypes()
Undocumented in source. Be warned that the author may not have intended to support it.
getOutFile
string getOutFile(string outputRoot, string srcOut)

Gets the name to the output file

getStockChars
string[] getStockChars()
Undocumented in source. Be warned that the author may not have intended to support it.
getStockEnums
string[] getStockEnums()
Undocumented in source. Be warned that the author may not have intended to support it.
getStructInternals
void getStructInternals(string[] structDef, ConvParms* convParms)
Undocumented in source. Be warned that the author may not have intended to support it.
getStructs
string[] getStructs()
Undocumented in source. Be warned that the author may not have intended to support it.
getTypes
string[] getTypes()
Undocumented in source. Be warned that the author may not have intended to support it.
getUnions
string[] getUnions()
Undocumented in source. Be warned that the author may not have intended to support it.
isEnum
bool isEnum(string type)

hack... we don't have all types (do we?)

mergeGtkDClass
void mergeGtkDClass(string inAPI, ConvParms* convParms)
Undocumented in source. Be warned that the author may not have intended to support it.
openGtkDClass
void openGtkDClass(string inAPI, ConvParms* convParms)

Construct the wrapped class according to all the collected information.

primitiveType
bool primitiveType(string line)
Undocumented in source. Be warned that the author may not have intended to support it.
stilInParam
bool stilInParam(string comments)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

adjustTypeName
void adjustTypeName(string type, string name)

Moves '*' and 'const' and trailing '[]' from the name to the type token

endsWith
bool endsWith(string str, char suffix)
Undocumented in source. Be warned that the author may not have intended to support it.
endsWith
bool endsWith(string str, string suffix)
Undocumented in source. Be warned that the author may not have intended to support it.
enumToGtkD
string enumToGtkD(string enumType, string gToken, ConvParms* convParms, WrapperIF wrapper, bool caseConvert)

Convert for normal GtkD conversion and after verifies if is necessary to use a enumType for references enum values

fixType
void fixType(string type, int p, string text)

Consumes "const" and "unsigned" adding "u" to the type when "unsigned" is found (? uchar will become just char)

getClassVar
string getClassVar(ConvParms* convParms)
Undocumented in source. Be warned that the author may not have intended to support it.
idsToGtkD
string idsToGtkD(string gToken, ConvParms* convParms, string[string] aliases, bool caseConvert)
Undocumented in source. Be warned that the author may not have intended to support it.
skip
void skip(int p, string text, char s)
Undocumented in source. Be warned that the author may not have intended to support it.
skipBlank
void skipBlank(int p, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
startsWith
bool startsWith(string str, string prefix)
Undocumented in source. Be warned that the author may not have intended to support it.
startsWith
bool startsWith(string str, char prefix)
Undocumented in source. Be warned that the author may not have intended to support it.
stringToGtkD
string stringToGtkD(string gString, ConvParms* convParms, string[string] aliases, bool caseConvert)

Converts a GTK strin to a GtkD string. This removes the "_" and capitalises the next letter and converts the basic types

toVar
string toVar(string type)

Converts a type to a var. lower case the first letter

tokenToGtkD
string tokenToGtkD(string gToken, ConvParms* convParms, string[string] aliases, bool caseConvert)

Converts a GTK token to a Dui token This removes the "_" and capitalises the next letter and converts the basic types. Doesn't do it if it's cairo name

until
string until(int p, string text, char s)
Undocumented in source. Be warned that the author may not have intended to support it.
until
string until(int p, string text, string s)
Undocumented in source. Be warned that the author may not have intended to support it.
untilBlank
string untilBlank(int p, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
untilBlank
string untilBlank(int p, string text, string s)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

convParms
ConvParms* convParms;
Undocumented in source.
currLine
int currLine;
Undocumented in source.
functionSignatures
int[string] functionSignatures;
Undocumented in source.
gtkStructs
int[string] gtkStructs;
Undocumented in source.
iFaceChar
string iFaceChar;
Undocumented in source.
members
string[] members;
Undocumented in source.
stockCurrEnum
int stockCurrEnum;
Undocumented in source.

Meta