Package ch.bailu.gtk.gtk
Klasse CellAreaClass
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.CellAreaClass
- Alle implementierten Schnittstellen:
PointerInterface
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
This is called when the layouting widget rendering the
`GtkCellArea` activates the focus cell (see gtk_cell_area_get_focus_cell()).static final String
adds a `GtkCellRenderer` to the area.static final String
Apply the cell attributes to the cells.static final String
Creates a new `GtkCellAreaContext` in the same state as
the passed @context with any cell alignment data and allocations intact.static final String
Creates and returns a class specific `GtkCellAreaContext`
to store cell alignment and allocation details for a said `GtkCellArea`
class.static final String
Handle an event in the area, this is generally used to activate
a cell at the event location for button events but can also be used
to generically pass events to `GtkWidget`s drawn onto the area.static final String
This virtual method should be implemented to navigate focus from
cell to cell inside the `GtkCellArea`.static final String
calls the `GtkCellCallback` function on every `GtkCellRenderer` in
the area with the provided user data until the callback returns %TRUE.static final String
Calls the `GtkCellAllocCallback` function on every
`GtkCellRenderer` in the area with the allocated area for the cell
and the provided user data until the callback returns %TRUE.static final String
This should be implemented to report the values of
child cell properties for a given child `GtkCellRenderer`.static final String
Calculates the minimum and natural height of the
areas cells with the current attributes applied.static final String
Calculates the minimum and natural height
for the area if the passed @context would be allocated the given width.static final String
Calculates the minimum and natural width of the
areas cells with the current attributes applied while considering
the particular layouting details of the said `GtkCellArea`.static final String
Calculates the minimum and natural width
for the area if the passed @context would be allocated the given
height.static final String
This allows an area to tell its layouting widget whether
it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or
%GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode.static final String
Returns whether the `GtkCellArea` can respond to
`GtkCellAreaClass.activate()`, usually this does not need to be
implemented since the base class takes care of this however it can
be enhanced if the `GtkCellArea` subclass can handle activation in
other ways than activating its `GtkCellRenderers`.static final String
Private field: direct-typestatic final String
removes a `GtkCellRenderer` from the area.static final String
This should be implemented to handle changes in child
cell properties for a given `GtkCellRenderer` that were previously
installed on the `GtkCellAreaClass` with gtk_cell_area_class_install_cell_property().static final String
Actually snapshot the area’s cells to the specified rectangle,
@background_area should be correctly distributed to the cells
corresponding background areas. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfindCellProperty
(Str property_name) Veraltet.findCellProperty
(String property_name) Veraltet.static ClassHandler
ch.bailu.gtk.gtk.JnaCellAreaClass.OnActivate
This is called when the layouting widget rendering the
`GtkCellArea` activates the focus cell (see gtk_cell_area_get_focus_cell()).ch.bailu.gtk.gtk.JnaCellAreaClass.OnAdd
adds a `GtkCellRenderer` to the area.ch.bailu.gtk.gtk.JnaCellAreaClass.OnApplyAttributes
Apply the cell attributes to the cells.ch.bailu.gtk.gtk.JnaCellAreaClass.OnCopyContext
Creates a new `GtkCellAreaContext` in the same state as
the passed @context with any cell alignment data and allocations intact.ch.bailu.gtk.gtk.JnaCellAreaClass.OnCreateContext
Creates and returns a class specific `GtkCellAreaContext`
to store cell alignment and allocation details for a said `GtkCellArea`
class.ch.bailu.gtk.gtk.JnaCellAreaClass.OnEvent
Handle an event in the area, this is generally used to activate
a cell at the event location for button events but can also be used
to generically pass events to `GtkWidget`s drawn onto the area.ch.bailu.gtk.gtk.JnaCellAreaClass.OnFocus
This virtual method should be implemented to navigate focus from
cell to cell inside the `GtkCellArea`.ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetCellProperty
This should be implemented to report the values of
child cell properties for a given child `GtkCellRenderer`.ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetPreferredHeight
Calculates the minimum and natural height of the
areas cells with the current attributes applied.ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetPreferredHeightForWidth
Calculates the minimum and natural height
for the area if the passed @context would be allocated the given width.ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetPreferredWidth
Calculates the minimum and natural width of the
areas cells with the current attributes applied while considering
the particular layouting details of the said `GtkCellArea`.ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetPreferredWidthForHeight
Calculates the minimum and natural width
for the area if the passed @context would be allocated the given
height.ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetRequestMode
This allows an area to tell its layouting widget whether
it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or
%GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode.ch.bailu.gtk.gtk.JnaCellAreaClass.OnIsActivatable
Returns whether the `GtkCellArea` can respond to
`GtkCellAreaClass.activate()`, usually this does not need to be
implemented since the base class takes care of this however it can
be enhanced if the `GtkCellArea` subclass can handle activation in
other ways than activating its `GtkCellRenderers`.ch.bailu.gtk.gtk.JnaCellAreaClass.OnRemove
removes a `GtkCellRenderer` from the area.ch.bailu.gtk.gtk.JnaCellAreaClass.OnSetCellProperty
This should be implemented to handle changes in child
cell properties for a given `GtkCellRenderer` that were previously
installed on the `GtkCellAreaClass` with gtk_cell_area_class_install_cell_property().ch.bailu.gtk.gtk.JnaCellAreaClass.OnSnapshot
Actually snapshot the area’s cells to the specified rectangle,
@background_area should be correctly distributed to the cells
corresponding background areas.static int
static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
installCellProperty
(int property_id, ParamSpec pspec) Veraltet.void
setFieldActivate
(CellAreaClass.OnActivate activate) This is called when the layouting widget rendering the
`GtkCellArea` activates the focus cell (see gtk_cell_area_get_focus_cell()).void
adds a `GtkCellRenderer` to the area.void
setFieldApplyAttributes
(CellAreaClass.OnApplyAttributes apply_attributes) Apply the cell attributes to the cells.void
setFieldCopyContext
(CellAreaClass.OnCopyContext copy_context) Creates a new `GtkCellAreaContext` in the same state as
the passed @context with any cell alignment data and allocations intact.void
setFieldCreateContext
(CellAreaClass.OnCreateContext create_context) Creates and returns a class specific `GtkCellAreaContext`
to store cell alignment and allocation details for a said `GtkCellArea`
class.void
Handle an event in the area, this is generally used to activate
a cell at the event location for button events but can also be used
to generically pass events to `GtkWidget`s drawn onto the area.void
This virtual method should be implemented to navigate focus from
cell to cell inside the `GtkCellArea`.void
setFieldGetCellProperty
(CellAreaClass.OnGetCellProperty get_cell_property) This should be implemented to report the values of
child cell properties for a given child `GtkCellRenderer`.void
setFieldGetPreferredHeight
(CellAreaClass.OnGetPreferredHeight get_preferred_height) Calculates the minimum and natural height of the
areas cells with the current attributes applied.void
setFieldGetPreferredHeightForWidth
(CellAreaClass.OnGetPreferredHeightForWidth get_preferred_height_for_width) Calculates the minimum and natural height
for the area if the passed @context would be allocated the given width.void
setFieldGetPreferredWidth
(CellAreaClass.OnGetPreferredWidth get_preferred_width) Calculates the minimum and natural width of the
areas cells with the current attributes applied while considering
the particular layouting details of the said `GtkCellArea`.void
setFieldGetPreferredWidthForHeight
(CellAreaClass.OnGetPreferredWidthForHeight get_preferred_width_for_height) Calculates the minimum and natural width
for the area if the passed @context would be allocated the given
height.void
setFieldGetRequestMode
(CellAreaClass.OnGetRequestMode get_request_mode) This allows an area to tell its layouting widget whether
it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or
%GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode.void
setFieldIsActivatable
(CellAreaClass.OnIsActivatable is_activatable) Returns whether the `GtkCellArea` can respond to
`GtkCellAreaClass.activate()`, usually this does not need to be
implemented since the base class takes care of this however it can
be enhanced if the `GtkCellArea` subclass can handle activation in
other ways than activating its `GtkCellRenderers`.void
setFieldRemove
(CellAreaClass.OnRemove remove) removes a `GtkCellRenderer` from the area.void
setFieldSetCellProperty
(CellAreaClass.OnSetCellProperty set_cell_property) This should be implemented to handle changes in child
cell properties for a given `GtkCellRenderer` that were previously
installed on the `GtkCellAreaClass` with gtk_cell_area_class_install_cell_property().void
setFieldSnapshot
(CellAreaClass.OnSnapshot snapshot) Actually snapshot the area’s cells to the specified rectangle,
@background_area should be correctly distributed to the cells
corresponding background areas.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
PARENT_CLASS
Private field: direct-type- Siehe auch:
-
ADD
adds a `GtkCellRenderer` to the area.
SeeCellAreaClass.OnAdd.onAdd(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer)
- Siehe auch:
-
REMOVE
removes a `GtkCellRenderer` from the area.
SeeCellAreaClass.OnRemove.onRemove(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer)
- Siehe auch:
-
FOREACH
calls the `GtkCellCallback` function on every `GtkCellRenderer` in
the area with the provided user data until the callback returns %TRUE.
Private field: cb-with-cb- Siehe auch:
-
FOREACH_ALLOC
Calls the `GtkCellAllocCallback` function on every
`GtkCellRenderer` in the area with the allocated area for the cell
and the provided user data until the callback returns %TRUE.
Private field: cb-with-cb- Siehe auch:
-
EVENT
Handle an event in the area, this is generally used to activate
a cell at the event location for button events but can also be used
to generically pass events to `GtkWidget`s drawn onto the area.
SeeCellAreaClass.OnEvent.onEvent(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.gdk.Event, ch.bailu.gtk.gdk.Rectangle, int)
- Siehe auch:
-
SNAPSHOT
Actually snapshot the area’s cells to the specified rectangle,
@background_area should be correctly distributed to the cells
corresponding background areas.
SeeCellAreaClass.OnSnapshot.onSnapshot(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.gtk.Snapshot, ch.bailu.gtk.gdk.Rectangle, ch.bailu.gtk.gdk.Rectangle, int, boolean)
- Siehe auch:
-
APPLY_ATTRIBUTES
Apply the cell attributes to the cells. This is
implemented as a signal and generally `GtkCellArea` subclasses don't
need to implement it since it is handled by the base class.
SeeCellAreaClass.OnApplyAttributes.onApplyAttributes(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.TreeModel, ch.bailu.gtk.gtk.TreeIter, boolean, boolean)
- Siehe auch:
-
CREATE_CONTEXT
Creates and returns a class specific `GtkCellAreaContext`
to store cell alignment and allocation details for a said `GtkCellArea`
class.
SeeCellAreaClass.OnCreateContext.onCreateContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea)
- Siehe auch:
-
COPY_CONTEXT
Creates a new `GtkCellAreaContext` in the same state as
the passed @context with any cell alignment data and allocations intact.
SeeCellAreaClass.OnCopyContext.onCopyContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext)
- Siehe auch:
-
GET_REQUEST_MODE
This allows an area to tell its layouting widget whether
it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or
%GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode.
SeeCellAreaClass.OnGetRequestMode.onGetRequestMode(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea)
- Siehe auch:
-
GET_PREFERRED_WIDTH
Calculates the minimum and natural width of the
areas cells with the current attributes applied while considering
the particular layouting details of the said `GtkCellArea`. While
requests are performed over a series of rows, alignments and overall
minimum and natural sizes should be stored in the corresponding
`GtkCellAreaContext`.
SeeCellAreaClass.OnGetPreferredWidth.onGetPreferredWidth(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
- Siehe auch:
-
GET_PREFERRED_HEIGHT_FOR_WIDTH
Calculates the minimum and natural height
for the area if the passed @context would be allocated the given width.
When implementing this virtual method it is safe to assume that @context
has already stored the aligned cell widths for every `GtkTreeModel` row
that @context will be allocated for since this information was stored
at `GtkCellAreaClass.get_preferred_width()` time. This virtual method
should also store any necessary alignments of cell heights for the
case that the context is allocated a height.
SeeCellAreaClass.OnGetPreferredHeightForWidth.onGetPreferredHeightForWidth(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, int, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
- Siehe auch:
-
GET_PREFERRED_HEIGHT
Calculates the minimum and natural height of the
areas cells with the current attributes applied. Essentially this is
the same as `GtkCellAreaClass.get_preferred_width()` only for areas
that are being requested as %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT.
SeeCellAreaClass.OnGetPreferredHeight.onGetPreferredHeight(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
- Siehe auch:
-
GET_PREFERRED_WIDTH_FOR_HEIGHT
Calculates the minimum and natural width
for the area if the passed @context would be allocated the given
height. The same as `GtkCellAreaClass.get_preferred_height_for_width()`
only for handling requests in the %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT
mode.
SeeCellAreaClass.OnGetPreferredWidthForHeight.onGetPreferredWidthForHeight(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, int, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
- Siehe auch:
-
SET_CELL_PROPERTY
This should be implemented to handle changes in child
cell properties for a given `GtkCellRenderer` that were previously
installed on the `GtkCellAreaClass` with gtk_cell_area_class_install_cell_property().
SeeCellAreaClass.OnSetCellProperty.onSetCellProperty(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer, int, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.ParamSpec)
- Siehe auch:
-
GET_CELL_PROPERTY
This should be implemented to report the values of
child cell properties for a given child `GtkCellRenderer`.
SeeCellAreaClass.OnGetCellProperty.onGetCellProperty(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer, int, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.ParamSpec)
- Siehe auch:
-
FOCUS
This virtual method should be implemented to navigate focus from
cell to cell inside the `GtkCellArea`. The `GtkCellArea` should move
focus from cell to cell inside the area and return %FALSE if focus
logically leaves the area with the following exceptions: When the
area contains no activatable cells, the entire area receives focus.
Focus should not be given to cells that are actually “focus siblings”
of other sibling cells (see gtk_cell_area_get_focus_from_sibling()).
Focus is set by calling gtk_cell_area_set_focus_cell().
SeeCellAreaClass.OnFocus.onFocus(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, int)
- Siehe auch:
-
IS_ACTIVATABLE
Returns whether the `GtkCellArea` can respond to
`GtkCellAreaClass.activate()`, usually this does not need to be
implemented since the base class takes care of this however it can
be enhanced if the `GtkCellArea` subclass can handle activation in
other ways than activating its `GtkCellRenderers`.
SeeCellAreaClass.OnIsActivatable.onIsActivatable(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea)
- Siehe auch:
-
ACTIVATE
This is called when the layouting widget rendering the
`GtkCellArea` activates the focus cell (see gtk_cell_area_get_focus_cell()).
SeeCellAreaClass.OnActivate.onActivate(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.gdk.Rectangle, int, boolean)
- Siehe auch:
-
-
Konstruktordetails
-
CellAreaClass
-
-
Methodendetails
-
getClassHandler
-
setFieldAdd
adds a `GtkCellRenderer` to the area.
SeeCellAreaClass.OnAdd.onAdd(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer)
-
getFieldAdd
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnAdd getFieldAdd()adds a `GtkCellRenderer` to the area.
SeeCellAreaClass.OnAdd.onAdd(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer)
-
setFieldRemove
removes a `GtkCellRenderer` from the area.
SeeCellAreaClass.OnRemove.onRemove(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer)
-
getFieldRemove
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnRemove getFieldRemove()removes a `GtkCellRenderer` from the area.
SeeCellAreaClass.OnRemove.onRemove(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer)
-
setFieldEvent
Handle an event in the area, this is generally used to activate
a cell at the event location for button events but can also be used
to generically pass events to `GtkWidget`s drawn onto the area.
SeeCellAreaClass.OnEvent.onEvent(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.gdk.Event, ch.bailu.gtk.gdk.Rectangle, int)
-
getFieldEvent
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnEvent getFieldEvent()Handle an event in the area, this is generally used to activate
a cell at the event location for button events but can also be used
to generically pass events to `GtkWidget`s drawn onto the area.
SeeCellAreaClass.OnEvent.onEvent(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.gdk.Event, ch.bailu.gtk.gdk.Rectangle, int)
-
setFieldSnapshot
Actually snapshot the area’s cells to the specified rectangle,
@background_area should be correctly distributed to the cells
corresponding background areas.
SeeCellAreaClass.OnSnapshot.onSnapshot(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.gtk.Snapshot, ch.bailu.gtk.gdk.Rectangle, ch.bailu.gtk.gdk.Rectangle, int, boolean)
-
getFieldSnapshot
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnSnapshot getFieldSnapshot()Actually snapshot the area’s cells to the specified rectangle,
@background_area should be correctly distributed to the cells
corresponding background areas.
SeeCellAreaClass.OnSnapshot.onSnapshot(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.gtk.Snapshot, ch.bailu.gtk.gdk.Rectangle, ch.bailu.gtk.gdk.Rectangle, int, boolean)
-
setFieldApplyAttributes
Apply the cell attributes to the cells. This is
implemented as a signal and generally `GtkCellArea` subclasses don't
need to implement it since it is handled by the base class.
SeeCellAreaClass.OnApplyAttributes.onApplyAttributes(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.TreeModel, ch.bailu.gtk.gtk.TreeIter, boolean, boolean)
-
getFieldApplyAttributes
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnApplyAttributes getFieldApplyAttributes()Apply the cell attributes to the cells. This is
implemented as a signal and generally `GtkCellArea` subclasses don't
need to implement it since it is handled by the base class.
SeeCellAreaClass.OnApplyAttributes.onApplyAttributes(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.TreeModel, ch.bailu.gtk.gtk.TreeIter, boolean, boolean)
-
setFieldCreateContext
Creates and returns a class specific `GtkCellAreaContext`
to store cell alignment and allocation details for a said `GtkCellArea`
class.
SeeCellAreaClass.OnCreateContext.onCreateContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea)
-
getFieldCreateContext
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnCreateContext getFieldCreateContext()Creates and returns a class specific `GtkCellAreaContext`
to store cell alignment and allocation details for a said `GtkCellArea`
class.
SeeCellAreaClass.OnCreateContext.onCreateContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea)
-
setFieldCopyContext
Creates a new `GtkCellAreaContext` in the same state as
the passed @context with any cell alignment data and allocations intact.
SeeCellAreaClass.OnCopyContext.onCopyContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext)
-
getFieldCopyContext
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnCopyContext getFieldCopyContext()Creates a new `GtkCellAreaContext` in the same state as
the passed @context with any cell alignment data and allocations intact.
SeeCellAreaClass.OnCopyContext.onCopyContext(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext)
-
setFieldGetRequestMode
This allows an area to tell its layouting widget whether
it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or
%GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode.
SeeCellAreaClass.OnGetRequestMode.onGetRequestMode(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea)
-
getFieldGetRequestMode
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetRequestMode getFieldGetRequestMode()This allows an area to tell its layouting widget whether
it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or
%GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode.
SeeCellAreaClass.OnGetRequestMode.onGetRequestMode(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea)
-
setFieldGetPreferredWidth
Calculates the minimum and natural width of the
areas cells with the current attributes applied while considering
the particular layouting details of the said `GtkCellArea`. While
requests are performed over a series of rows, alignments and overall
minimum and natural sizes should be stored in the corresponding
`GtkCellAreaContext`.
SeeCellAreaClass.OnGetPreferredWidth.onGetPreferredWidth(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
-
getFieldGetPreferredWidth
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetPreferredWidth getFieldGetPreferredWidth()Calculates the minimum and natural width of the
areas cells with the current attributes applied while considering
the particular layouting details of the said `GtkCellArea`. While
requests are performed over a series of rows, alignments and overall
minimum and natural sizes should be stored in the corresponding
`GtkCellAreaContext`.
SeeCellAreaClass.OnGetPreferredWidth.onGetPreferredWidth(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
-
setFieldGetPreferredHeightForWidth
public void setFieldGetPreferredHeightForWidth(CellAreaClass.OnGetPreferredHeightForWidth get_preferred_height_for_width) Calculates the minimum and natural height
for the area if the passed @context would be allocated the given width.
When implementing this virtual method it is safe to assume that @context
has already stored the aligned cell widths for every `GtkTreeModel` row
that @context will be allocated for since this information was stored
at `GtkCellAreaClass.get_preferred_width()` time. This virtual method
should also store any necessary alignments of cell heights for the
case that the context is allocated a height.
SeeCellAreaClass.OnGetPreferredHeightForWidth.onGetPreferredHeightForWidth(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, int, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
-
getFieldGetPreferredHeightForWidth
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetPreferredHeightForWidth getFieldGetPreferredHeightForWidth()Calculates the minimum and natural height
for the area if the passed @context would be allocated the given width.
When implementing this virtual method it is safe to assume that @context
has already stored the aligned cell widths for every `GtkTreeModel` row
that @context will be allocated for since this information was stored
at `GtkCellAreaClass.get_preferred_width()` time. This virtual method
should also store any necessary alignments of cell heights for the
case that the context is allocated a height.
SeeCellAreaClass.OnGetPreferredHeightForWidth.onGetPreferredHeightForWidth(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, int, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
-
setFieldGetPreferredHeight
Calculates the minimum and natural height of the
areas cells with the current attributes applied. Essentially this is
the same as `GtkCellAreaClass.get_preferred_width()` only for areas
that are being requested as %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT.
SeeCellAreaClass.OnGetPreferredHeight.onGetPreferredHeight(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
-
getFieldGetPreferredHeight
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetPreferredHeight getFieldGetPreferredHeight()Calculates the minimum and natural height of the
areas cells with the current attributes applied. Essentially this is
the same as `GtkCellAreaClass.get_preferred_width()` only for areas
that are being requested as %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT.
SeeCellAreaClass.OnGetPreferredHeight.onGetPreferredHeight(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
-
setFieldGetPreferredWidthForHeight
public void setFieldGetPreferredWidthForHeight(CellAreaClass.OnGetPreferredWidthForHeight get_preferred_width_for_height) Calculates the minimum and natural width
for the area if the passed @context would be allocated the given
height. The same as `GtkCellAreaClass.get_preferred_height_for_width()`
only for handling requests in the %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT
mode.
SeeCellAreaClass.OnGetPreferredWidthForHeight.onGetPreferredWidthForHeight(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, int, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
-
getFieldGetPreferredWidthForHeight
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetPreferredWidthForHeight getFieldGetPreferredWidthForHeight()Calculates the minimum and natural width
for the area if the passed @context would be allocated the given
height. The same as `GtkCellAreaClass.get_preferred_height_for_width()`
only for handling requests in the %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT
mode.
SeeCellAreaClass.OnGetPreferredWidthForHeight.onGetPreferredWidthForHeight(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, int, ch.bailu.gtk.type.Int, ch.bailu.gtk.type.Int)
-
setFieldSetCellProperty
This should be implemented to handle changes in child
cell properties for a given `GtkCellRenderer` that were previously
installed on the `GtkCellAreaClass` with gtk_cell_area_class_install_cell_property().
SeeCellAreaClass.OnSetCellProperty.onSetCellProperty(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer, int, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.ParamSpec)
-
getFieldSetCellProperty
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnSetCellProperty getFieldSetCellProperty()This should be implemented to handle changes in child
cell properties for a given `GtkCellRenderer` that were previously
installed on the `GtkCellAreaClass` with gtk_cell_area_class_install_cell_property().
SeeCellAreaClass.OnSetCellProperty.onSetCellProperty(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer, int, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.ParamSpec)
-
setFieldGetCellProperty
This should be implemented to report the values of
child cell properties for a given child `GtkCellRenderer`.
SeeCellAreaClass.OnGetCellProperty.onGetCellProperty(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer, int, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.ParamSpec)
-
getFieldGetCellProperty
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnGetCellProperty getFieldGetCellProperty()This should be implemented to report the values of
child cell properties for a given child `GtkCellRenderer`.
SeeCellAreaClass.OnGetCellProperty.onGetCellProperty(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellRenderer, int, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.ParamSpec)
-
setFieldFocus
This virtual method should be implemented to navigate focus from
cell to cell inside the `GtkCellArea`. The `GtkCellArea` should move
focus from cell to cell inside the area and return %FALSE if focus
logically leaves the area with the following exceptions: When the
area contains no activatable cells, the entire area receives focus.
Focus should not be given to cells that are actually “focus siblings”
of other sibling cells (see gtk_cell_area_get_focus_from_sibling()).
Focus is set by calling gtk_cell_area_set_focus_cell().
SeeCellAreaClass.OnFocus.onFocus(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, int)
-
getFieldFocus
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnFocus getFieldFocus()This virtual method should be implemented to navigate focus from
cell to cell inside the `GtkCellArea`. The `GtkCellArea` should move
focus from cell to cell inside the area and return %FALSE if focus
logically leaves the area with the following exceptions: When the
area contains no activatable cells, the entire area receives focus.
Focus should not be given to cells that are actually “focus siblings”
of other sibling cells (see gtk_cell_area_get_focus_from_sibling()).
Focus is set by calling gtk_cell_area_set_focus_cell().
SeeCellAreaClass.OnFocus.onFocus(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, int)
-
setFieldIsActivatable
Returns whether the `GtkCellArea` can respond to
`GtkCellAreaClass.activate()`, usually this does not need to be
implemented since the base class takes care of this however it can
be enhanced if the `GtkCellArea` subclass can handle activation in
other ways than activating its `GtkCellRenderers`.
SeeCellAreaClass.OnIsActivatable.onIsActivatable(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea)
-
getFieldIsActivatable
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnIsActivatable getFieldIsActivatable()Returns whether the `GtkCellArea` can respond to
`GtkCellAreaClass.activate()`, usually this does not need to be
implemented since the base class takes care of this however it can
be enhanced if the `GtkCellArea` subclass can handle activation in
other ways than activating its `GtkCellRenderers`.
SeeCellAreaClass.OnIsActivatable.onIsActivatable(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea)
-
setFieldActivate
This is called when the layouting widget rendering the
`GtkCellArea` activates the focus cell (see gtk_cell_area_get_focus_cell()).
SeeCellAreaClass.OnActivate.onActivate(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.gdk.Rectangle, int, boolean)
-
getFieldActivate
public ch.bailu.gtk.gtk.JnaCellAreaClass.OnActivate getFieldActivate()This is called when the layouting widget rendering the
`GtkCellArea` activates the focus cell (see gtk_cell_area_get_focus_cell()).
SeeCellAreaClass.OnActivate.onActivate(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.CellArea, ch.bailu.gtk.gtk.CellAreaContext, ch.bailu.gtk.gtk.Widget, ch.bailu.gtk.gdk.Rectangle, int, boolean)
-
findCellProperty
Veraltet.Finds a cell property of a cell area class by name.- Parameter:
property_name
- the name of the child property to find- Gibt zurück:
- the `GParamSpec` of the child property
-
findCellProperty
Veraltet.Finds a cell property of a cell area class by name.- Parameter:
property_name
- the name of the child property to find- Gibt zurück:
- the `GParamSpec` of the child property
-
installCellProperty
Veraltet.Installs a cell property on a cell area class.- Parameter:
property_id
- the id for the propertypspec
- the `GParamSpec` for the property
-
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-