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

#include <gtkcellareacontext.h>

Data Fields

GObjectClass parent_class
 
void(* allocate )(GtkCellAreaContext *context, int width, int height)
 
void(* reset )(GtkCellAreaContext *context)
 
void(* get_preferred_height_for_width )(GtkCellAreaContext *context, int width, int *minimum_height, int *natural_height)
 
void(* get_preferred_width_for_height )(GtkCellAreaContext *context, int height, int *minimum_width, int *natural_width)
 
gpointer padding [8]
 

Detailed Description

GtkCellAreaContextClass: @allocate: This tells the context that an allocation width or height (or both) have been decided for a group of rows. The context should store any allocations for internally aligned cells at this point so that they dont need to be recalculated at gtk_cell_area_render() time. @reset: Clear any previously stored information about requested and allocated sizes for the context. @get_preferred_height_for_width: Returns the aligned height for the given width that context must store while collecting sizes for it’s rows. @get_preferred_width_for_height: Returns the aligned width for the given height that context must store while collecting sizes for it’s rows.

Definition at line 61 of file gtkcellareacontext.h.

Field Documentation

◆ allocate

void(* _GtkCellAreaContextClass::allocate) (GtkCellAreaContext *context, int width, int height)

Definition at line 67 of file gtkcellareacontext.h.

◆ get_preferred_height_for_width

void(* _GtkCellAreaContextClass::get_preferred_height_for_width) (GtkCellAreaContext *context, int width, int *minimum_height, int *natural_height)

Definition at line 71 of file gtkcellareacontext.h.

◆ get_preferred_width_for_height

void(* _GtkCellAreaContextClass::get_preferred_width_for_height) (GtkCellAreaContext *context, int height, int *minimum_width, int *natural_width)

Definition at line 75 of file gtkcellareacontext.h.

◆ padding

gpointer _GtkCellAreaContextClass::padding[8]

Definition at line 82 of file gtkcellareacontext.h.

◆ parent_class

GObjectClass _GtkCellAreaContextClass::parent_class

Definition at line 64 of file gtkcellareacontext.h.

◆ reset

void(* _GtkCellAreaContextClass::reset) (GtkCellAreaContext *context)

Definition at line 70 of file gtkcellareacontext.h.


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