Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Creat = "H.F.M"
View Source
var Descr = "Golang parser for glade xml files"
View Source
var LicenseAbrv = "License (MIT)"
View Source
var LicenseShort = "" /* 140-byte string literal not displayed */
View Source
var LicenseUrl = "https://opensource.org/licenses/mit-license.php"
View Source
var Name = "GladeXmlParser"
View Source
var Repository = "github.com/..."
View Source
var Vers = "v2.0"
View Source
var YearCreat = "2019"
Functions ¶
This section is empty.
Types ¶
type GtkInterface ¶
type GtkInterface struct { GXPVersion string ObjectsCount int UpdatedOn string GladeFilename string Requires requires Objects []GtkObject Comments []string NamingCSS bool NamingCSSLowerCase bool NamingCSSForce bool NamingCSSClear bool SkipObjectNaming []string // contains filtered or unexported fields }
func GladeXmlParserNew ¶
func GladeXmlParserNew(filename string, skipObjectNaming []string, skipNoId, skipLoweAtFirst bool) (iFace *GtkInterface, err error)
GladeXmlParserNew: Create new parsed glade structure containing all objects with property, signals, packing information.
func (*GtkInterface) ReadFile ¶
func (iFace *GtkInterface) ReadFile(filename string) (err error)
Read Text Controls from file
func (*GtkInterface) StructureSetup ¶
func (iFace *GtkInterface) StructureSetup(gladeFilename string, skipNoId, skipLoweAtFirst bool) (err error)
StructureSetup: Setup a parser structure containing all objects with property, signals, packing information. * Alternative use of GladeXmlParserNew() * in the case where we need to import the structure rather than using it via the imported library.
func (*GtkInterface) WriteFile ¶
func (iFace *GtkInterface) WriteFile(filename string) error
Write Text Controls to file
Click to show internal directories.
Click to hide internal directories.