CtkRecentChooserWidget

CtkRecentChooserWidget — Displays recently used files

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── CtkWidget
            ╰── CtkContainer
                ╰── CtkBox
                    ╰── CtkRecentChooserWidget

Implemented Interfaces

CtkRecentChooserWidget implements AtkImplementorIface, CtkBuildable, CtkOrientable and CtkRecentChooser.

Includes

#include <ctk/ctk.h>

Description

CtkRecentChooserWidget is a widget suitable for selecting recently used files. It is the main building block of a CtkRecentChooserDialog. Most applications will only need to use the latter; you can use CtkRecentChooserWidget as part of a larger window if you have special needs.

Note that CtkRecentChooserWidget does not have any methods of its own. Instead, you should use the functions that work on a CtkRecentChooser.

Recently used files are supported since CTK+ 2.10.

Functions

ctk_recent_chooser_widget_new ()

CtkWidget *
ctk_recent_chooser_widget_new (void);

Creates a new CtkRecentChooserWidget object. This is an embeddable widget used to access the recently used resources list.

Returns

a new CtkRecentChooserWidget

Since: 2.10


ctk_recent_chooser_widget_new_for_manager ()

CtkWidget *
ctk_recent_chooser_widget_new_for_manager
                               (CtkRecentManager *manager);

Creates a new CtkRecentChooserWidget with a specified recent manager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a CtkRecentManager object.

Parameters

manager

a CtkRecentManager

 

Returns

a new CtkRecentChooserWidget

Since: 2.10

Types and Values

struct CtkRecentChooserWidget

struct CtkRecentChooserWidget;

See Also

CtkRecentChooser, CtkRecentChooserDialog