package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Wrappers.Link_button

type t = [ `link_button | `button | `widget | `initially_unowned | `object_ ] Gobject.obj
val new_ : string -> t

Create a new LinkButton

val new_with_label : string -> string option -> t

Create a new LinkButton

val set_visited : t -> bool -> unit

Sets the “visited” state of the `GtkLinkButton`.

See method@Gtk.LinkButton.get_visited for more details.

val set_uri : t -> string -> unit

Sets @uri as the URI where the `GtkLinkButton` points.

As a side-effect this unsets the “visited” state of the button.

val get_visited : t -> bool

Retrieves the “visited” state of the `GtkLinkButton`.

The button becomes visited when it is clicked. If the URI is changed on the button, the “visited” state is unset again.

The state may also be changed using method@Gtk.LinkButton.set_visited.

val get_uri : t -> string

Retrieves the URI of the `GtkLinkButton`.