All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gnome.gobject.MainContext Maven / Gradle / Ivy

The newest version!
// This file was automatically generated by Java-GI. Do not edit this file
// directly! Visit  for more information.
//
// The API documentation in this file was derived from GObject-Introspection
// metadata and may include text or comments from the original C sources.
//
// Copyright (c), upstream authors as identified in the GObject-Introspection
// metadata.
//
// This generated file is distributed under the same license as the original
// GObject-Introspection data, unless otherwise specified. Users of this file
// are responsible for complying with any licenses or terms required by the
// original authors.
//
// THIS FILE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
//
package org.gnome.gobject;

import io.github.jwharm.javagi.base.ProxyInstance;
import io.github.jwharm.javagi.interop.Interop;
import java.lang.foreign.MemorySegment;
import javax.annotation.processing.Generated;
import org.gnome.glib.Type;

@Generated("io.github.jwharm.JavaGI")
public class MainContext extends ProxyInstance {
    static {
        GObjects.javagi$ensureInitialized();
    }

    /**
     * Create a MainContext proxy instance for the provided memory address.
     *
     * @param address the memory address of the native object
     */
    public MainContext(MemorySegment address) {
        super(address);
    }

    /**
     * Get the GType of the MainContext class
     *
     * @return the GType
     */
    public static Type getType() {
        return Interop.getType("g_main_context_get_type");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy