Class

IdePage

Description

class Ide.Page : Gtk.Box {
  parent_instance: GtkBox
}
No description available.

Hierarchy

hierarchy this IdePage implements_0 AtkImplementorIface this--implements_0 implements_1 GtkBuildable this--implements_1 implements_2 GtkOrientable this--implements_2 ancestor_0 GtkBox ancestor_0--this ancestor_1 GtkContainer ancestor_1--ancestor_0 ancestor_2 GtkWidget ancestor_2--ancestor_1 ancestor_3 GInitiallyUnowned ancestor_3--ancestor_2 ancestor_4 GObject ancestor_4--ancestor_3

Ancestors

  • GtkBox
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkBuildable
  • GtkOrientable

Constructors

ide_page_new
No description available.

Instance methods

ide_page_agree_to_close_async
No description available.
ide_page_agree_to_close_finish
No description available.
ide_page_create_split

This function requests that the IdePage create a split version of itself so that the user may view the document in multiple views.

Available since: 3.32

ide_page_get_can_split
No description available.
ide_page_get_failed
No description available.
ide_page_get_file_or_directory

Gets a GFile representing a file or directory that best maps to this page. A terminal might use the current working directory while an editor or designer might use the backing file.

Available since: 3.40

ide_page_get_icon

Gets the GIcon to represent the view.

Available since: 3.32

ide_page_get_icon_name
No description available.
ide_page_get_menu_id
No description available.
ide_page_get_modified
No description available.
ide_page_get_primary_color_bg

Gets the IdePage:primary-color-bg property if it has been set.

Available since: 3.32

ide_page_get_primary_color_fg

Gets the IdePage:primary-color-fg property if it has been set.

Available since: 3.32

ide_page_get_title
No description available.
ide_page_mark_used

This function marks the page as used by updating it’s position in the workspaces MRU (most-recently-used) queue.

Available since: 3.32

ide_page_report_error

This function reports an error to the user in the layout view.

Available since: 3.32

ide_page_set_can_split
No description available.
ide_page_set_failed
No description available.
ide_page_set_icon
No description available.
ide_page_set_icon_name
No description available.
ide_page_set_menu_id
No description available.
ide_page_set_modified
No description available.
ide_page_set_primary_color_bg

Sets the IdePage:primary-color-bg property. If primary_color_bg is NULL, the property is unset.

Available since: 3.32

ide_page_set_primary_color_fg

Sets the IdePage:primary-color-fg property. If primary_color_fg is NULL, the property is unset.

Available since: 3.32

ide_page_set_title
No description available.

Properties

Ide.Page:can-split
No description available.
Ide.Page:failed
No description available.
Ide.Page:icon
No description available.
Ide.Page:icon-name
No description available.
Ide.Page:menu-id
No description available.
Ide.Page:modified
No description available.
Ide.Page:primary-color-bg

The “primary-color-bg” property should describe the primary color of the content of the view (if any).

Available since: 3.32

Ide.Page:primary-color-fg

The “primary-color-fg” property should describe the foreground to use for content above primary-color-bg.

Available since: 3.32

Ide.Page:title
No description available.

Signals

Ide.Page::create-split

This signal is emitted when the view is requested to make a split version of itself. This happens when the user requests that a second version of the file to be displayed, often side-by-side.

Available since: 3.32

Class structure

struct IdePageClass {
  GtkBoxClass parent_class;
  void (* agree_to_close_async) (
    IdePage* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  gboolean (* agree_to_close_finish) (
    IdePage* self,
    GAsyncResult* result,
    GError** error
  );
  IdePage* (* create_split) (
    IdePage* self
  );
  GFile* (* get_file_or_directory) (
    IdePage* self
  );
  
}
Class members
parent_class
GtkBoxClass
  No description available.
agree_to_close_async
void (* agree_to_close_async) (
    IdePage* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
  No description available.
agree_to_close_finish
gboolean (* agree_to_close_finish) (
    IdePage* self,
    GAsyncResult* result,
    GError** error
  )
  No description available.
create_split
IdePage* (* create_split) (
    IdePage* self
  )
  No description available.
get_file_or_directory
GFile* (* get_file_or_directory) (
    IdePage* self
  )
  No description available.

Virtual methods

Ide.PageClass.agree_to_close_async
No description available.
Ide.PageClass.agree_to_close_finish
No description available.
Ide.PageClass.create_split

This function requests that the IdePage create a split version of itself so that the user may view the document in multiple views.

Available since: 3.32

Ide.PageClass.get_file_or_directory

Gets a GFile representing a file or directory that best maps to this page. A terminal might use the current working directory while an editor or designer might use the backing file.

Available since: 3.40