GOffice.FormatSel

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GOffice.FormatSel GOffice.FormatSel Gtk.Box Gtk.Box Gtk.Box->GOffice.FormatSel Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

class

new_full (use_markup)

editable_enters (window)

get_dateconv ()

get_fmt ()

hide_preview ()

set_dateconv (date_conv)

set_focus ()

set_locale (locale)

set_style_format (style_format)

show_preview ()

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Short Description

format-changed

generate-preview

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Class Details

class GOffice.FormatSel(*args, **kwargs)
Bases:

Gtk.Box

Abstract:

No

classmethod new()
Returns:

a format selector widget.

Return type:

Gtk.Widget

Creates a format selector widget, with general format selected by default, and formats using pango markup disabled. See go_format_sel_new_full.

classmethod new_full(use_markup)
Parameters:

use_markup (bool) – enable formats using pango markup

Returns:

a format selector widget.

Return type:

Gtk.Widget

Creates a format selector widget, with general format selected by default. When use_markup is set to True, it shows additional widgets for editing properties of formats using pango markup (e.g. scientific format with superscripted exponent).

editable_enters(window)
Parameters:

window (Gtk.Window) –

get_dateconv()
Returns:

the GOffice.DateConventions.

Return type:

GOffice.DateConventions

get_fmt()
Returns:

the GOffice.Format.

Return type:

GOffice.Format

hide_preview()
set_dateconv(date_conv)
Parameters:

date_conv (GOffice.DateConventions) –

set_focus()
set_locale(locale)
Parameters:

locale (str) –

set_style_format(style_format)
Parameters:

style_format (GOffice.Format) –

show_preview()

Signal Details

GOffice.FormatSel.signals.format_changed(format_sel, object)
Signal Name:

format-changed

Flags:

RUN_LAST

Parameters:
GOffice.FormatSel.signals.generate_preview(format_sel, object)
Signal Name:

generate-preview

Flags:

RUN_LAST

Parameters:
Return type:

str