GdauiDataProxyInfo

GdauiDataProxyInfo — Shows information & actions about a GdauiDataProxy widget

Stability Level

Stable, unless otherwise indicated

Functions

GtkWidget * gdaui_data_proxy_info_new ()
GtkToolItem * gdaui_data_proxy_info_get_item ()

Properties

GdauiDataProxy * data-proxy Read / Write
GdauiDataProxyInfoFlag flags Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkToolbar
                    ╰── GdauiDataProxyInfo

Implemented Interfaces

GdauiDataProxyInfo implements AtkImplementorIface, GtkBuildable, GtkToolShell and GtkOrientable.

Description

The GdauiDataProxyInfo widget is a container widget which, depending on how it is configured:

  • proposes action buttons to change the currently displayed row, add new row, ...

  • displays information about the number of rows in a GdauiDataProxy

Functions

gdaui_data_proxy_info_new ()

GtkWidget *
gdaui_data_proxy_info_new (GdauiDataProxy *data_proxy,
                           GdauiDataProxyInfoFlag flags);

Creates a new GdauiDataProxyInfo widget suitable to display information about data_proxy

Parameters

data_proxy

a widget implementing the GdauiDataProxy interface

 

flags

OR'ed values, specifying what to display in the new widget

 

Returns

the new widget.

[transfer full]

Since: 4.2


gdaui_data_proxy_info_get_item ()

GtkToolItem *
gdaui_data_proxy_info_get_item (GdauiDataProxyInfo *info,
                                GdauiAction action);

Get the GtkToolItem corresponding to the action action

Parameters

info

a GdauiDataProxyInfo object

 

action

a GdauiAction action

 

Returns

the GtkToolItem, or NULL on error.

[transfer none]

Since: 6.0

Types and Values

enum GdauiDataProxyInfoFlag

Members

GDAUI_DATA_PROXY_INFO_NONE

   

GDAUI_DATA_PROXY_INFO_CURRENT_ROW

   

GDAUI_DATA_PROXY_INFO_ROW_MODIFY_BUTTONS

   

GDAUI_DATA_PROXY_INFO_ROW_MOVE_BUTTONS

   

GDAUI_DATA_PROXY_INFO_CHUNK_CHANGE_BUTTONS

   

GDAUI_DATA_PROXY_INFO_NO_FILTER

   

GDAUI_TYPE_DATA_PROXY_INFO

#define GDAUI_TYPE_DATA_PROXY_INFO          (gdaui_data_proxy_info_get_type())

struct GdauiDataProxyInfoClass

struct GdauiDataProxyInfoClass {
	GtkToolbarClass     parent_class;
	gpointer            padding[12];
};

GdauiDataProxyInfo

typedef struct _GdauiDataProxyInfo GdauiDataProxyInfo;

Property Details

The “data-proxy” property

  “data-proxy”               GdauiDataProxy *

Owner: GdauiDataProxyInfo

Flags: Read / Write


The “flags” property

  “flags”                    GdauiDataProxyInfoFlag

Owner: GdauiDataProxyInfo

Flags: Read / Write

Default value: GDAUI_DATA_PROXY_INFO_CURRENT_ROW