Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GtkLayoutManagerClass Struct Reference

#include <gtklayoutmanager.h>

Data Fields

GObjectClass parent_class
 
GtkSizeRequestMode(* get_request_mode )(GtkLayoutManager *manager, GtkWidget *widget)
 
void(* measure )(GtkLayoutManager *manager, GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline)
 
void(* allocate )(GtkLayoutManager *manager, GtkWidget *widget, int width, int height, int baseline)
 
GType layout_child_type
 
GtkLayoutChild *(* create_layout_child )(GtkLayoutManager *manager, GtkWidget *widget, GtkWidget *for_child)
 
void(* root )(GtkLayoutManager *manager)
 
void(* unroot )(GtkLayoutManager *manager)
 
gpointer _padding [16]
 

Detailed Description

GtkLayoutManagerClass: @get_request_mode: a virtual function, used to return the preferred request mode for the layout manager; for instance, "width for height" or "height for width"; see GtkSizeRequestMode @measure: a virtual function, used to measure the minimum and preferred sizes of the widget using the layout manager for a given orientation @allocate: a virtual function, used to allocate the size of the widget using the layout manager @layout_child_type: the type of GtkLayoutChild used by this layout manager @create_layout_child: a virtual function, used to create a GtkLayoutChild meta object for the layout properties @root: a virtual function, called when the widget using the layout manager is attached to a GtkRoot @unroot: a virtual function, called when the widget using the layout manager is detached from a GtkRoot

The GtkLayoutManagerClass structure contains only private data, and should only be accessed through the provided API, or when subclassing GtkLayoutManager.

Definition at line 54 of file gtklayoutmanager.h.

Field Documentation

◆ _padding

gpointer _GtkLayoutManagerClass::_padding[16]

Definition at line 98 of file gtklayoutmanager.h.

◆ allocate

void(* _GtkLayoutManagerClass::allocate) (GtkLayoutManager *manager, GtkWidget *widget, int width, int height, int baseline)

Definition at line 72 of file gtklayoutmanager.h.

◆ create_layout_child

GtkLayoutChild *(* _GtkLayoutManagerClass::create_layout_child) (GtkLayoutManager *manager, GtkWidget *widget, GtkWidget *for_child)

GtkLayoutManagerClass::create_layout_child: @manager: the GtkLayoutManager @widget: the widget using the @manager @for_child: the child of @widget

Create a GtkLayoutChild instance for the given @for_child widget.

Returns: (transfer full): a GtkLayoutChild

Definition at line 90 of file gtklayoutmanager.h.

◆ get_request_mode

GtkSizeRequestMode(* _GtkLayoutManagerClass::get_request_mode) (GtkLayoutManager *manager, GtkWidget *widget)

Definition at line 60 of file gtklayoutmanager.h.

◆ layout_child_type

GType _GtkLayoutManagerClass::layout_child_type

Definition at line 78 of file gtklayoutmanager.h.

◆ measure

void(* _GtkLayoutManagerClass::measure) (GtkLayoutManager *manager, GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline)

Definition at line 63 of file gtklayoutmanager.h.

◆ parent_class

GObjectClass _GtkLayoutManagerClass::parent_class

Definition at line 57 of file gtklayoutmanager.h.

◆ root

void(* _GtkLayoutManagerClass::root) (GtkLayoutManager *manager)

Definition at line 94 of file gtklayoutmanager.h.

◆ unroot

void(* _GtkLayoutManagerClass::unroot) (GtkLayoutManager *manager)

Definition at line 95 of file gtklayoutmanager.h.


The documentation for this struct was generated from the following file: