Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkcustomlayout.h File Reference

Go to the source code of this file.

Macros

#define GTK_TYPE_CUSTOM_LAYOUT   (gtk_custom_layout_get_type ())
 

Typedefs

typedef GtkSizeRequestMode(* GtkCustomRequestModeFunc) (GtkWidget *widget)
 
typedef void(* GtkCustomMeasureFunc) (GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline)
 
typedef void(* GtkCustomAllocateFunc) (GtkWidget *widget, int width, int height, int baseline)
 

Functions

GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL GtkLayoutManagergtk_custom_layout_new (GtkCustomRequestModeFunc request_mode, GtkCustomMeasureFunc measure, GtkCustomAllocateFunc allocate)
 

Macro Definition Documentation

◆ GTK_TYPE_CUSTOM_LAYOUT

#define GTK_TYPE_CUSTOM_LAYOUT   (gtk_custom_layout_get_type ())

Definition at line 23 of file gtkcustomlayout.h.

Typedef Documentation

◆ GtkCustomAllocateFunc

typedef void(* GtkCustomAllocateFunc) (GtkWidget *widget, int width, int height, int baseline)

GtkCustomAllocateFunc: @widget: the widget to allocate @width: the new width of the widget @height: the new height of the widget @baseline: the new baseline of the widget, or -1

A function to be used by GtkCustomLayout to allocate a widget.

Definition at line 64 of file gtkcustomlayout.h.

◆ GtkCustomMeasureFunc

typedef void(* GtkCustomMeasureFunc) (GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline)

GtkCustomMeasureFunc: @widget: the widget to be measured @orientation: the direction to be measured @for_size: the size to be measured for @minimum: (out): the measured minimum size of the widget @natural: (out): the measured natural size of the widget @minimum_baseline: (out): the measured minimum baseline of the widget @natural_baseline: (out): the measured natural baseline of the widget

A function to be used by GtkCustomLayout to measure a widget.

Definition at line 47 of file gtkcustomlayout.h.

◆ GtkCustomRequestModeFunc

typedef GtkSizeRequestMode(* GtkCustomRequestModeFunc) (GtkWidget *widget)

GtkCustomRequestModeFunc: @widget: the widget to be queried

Queries a widget for its preferred size request mode.

Returns: the size request mode

Definition at line 33 of file gtkcustomlayout.h.

Function Documentation

◆ gtk_custom_layout_new()