Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dorota Czaplejewicz
gtk
Commits
add1ca00
Commit
add1ca00
authored
Jan 17, 2014
by
William Jon McCann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: add Gtk*Class docs
https://bugzilla.gnome.org/show_bug.cgi?id=81006
parent
f3f7c385
Changes
65
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
65 changed files
with
657 additions
and
40 deletions
+657
-40
docs/reference/gtk/gtk3-sections.txt
docs/reference/gtk/gtk3-sections.txt
+62
-31
gtk/deprecated/gtkaction.h
gtk/deprecated/gtkaction.h
+9
-0
gtk/deprecated/gtkactiongroup.h
gtk/deprecated/gtkactiongroup.h
+7
-0
gtk/deprecated/gtkcolorsel.h
gtk/deprecated/gtkcolorsel.h
+7
-0
gtk/deprecated/gtkhandlebox.h
gtk/deprecated/gtkhandlebox.h
+10
-0
gtk/deprecated/gtkiconfactory.h
gtk/deprecated/gtkiconfactory.h
+6
-0
gtk/deprecated/gtkimagemenuitem.h
gtk/deprecated/gtkimagemenuitem.h
+6
-0
gtk/deprecated/gtkrc.h
gtk/deprecated/gtkrc.h
+13
-0
gtk/deprecated/gtkstyle.h
gtk/deprecated/gtkstyle.h
+35
-0
gtk/deprecated/gtktearoffmenuitem.h
gtk/deprecated/gtktearoffmenuitem.h
+6
-0
gtk/gtkaccelgroup.h
gtk/gtkaccelgroup.h
+11
-1
gtk/gtkalignment.h
gtk/gtkalignment.h
+6
-0
gtk/gtkappchooserbutton.h
gtk/gtkappchooserbutton.h
+11
-0
gtk/gtkappchooserdialog.h
gtk/gtkappchooserdialog.h
+6
-0
gtk/gtkappchooserwidget.h
gtk/gtkappchooserwidget.h
+14
-0
gtk/gtkapplication.h
gtk/gtkapplication.h
+11
-0
gtk/gtkapplicationwindow.h
gtk/gtkapplicationwindow.h
+4
-0
gtk/gtkaspectframe.h
gtk/gtkaspectframe.h
+6
-0
gtk/gtkassistant.h
gtk/gtkassistant.h
+12
-0
gtk/gtkbbox.h
gtk/gtkbbox.h
+6
-0
gtk/gtkbin.h
gtk/gtkbin.h
+6
-0
gtk/gtkbox.h
gtk/gtkbox.h
+6
-0
gtk/gtkbutton.h
gtk/gtkbutton.h
+18
-2
gtk/gtkcellareabox.h
gtk/gtkcellareabox.h
+3
-0
gtk/gtkcellrenderer.h
gtk/gtkcellrenderer.h
+21
-0
gtk/gtkcellview.h
gtk/gtkcellview.h
+6
-0
gtk/gtkcheckmenuitem.h
gtk/gtkcheckmenuitem.h
+10
-0
gtk/gtkcolorchooserwidget.h
gtk/gtkcolorchooserwidget.h
+6
-0
gtk/gtkcombobox.h
gtk/gtkcombobox.h
+11
-0
gtk/gtkcontainer.h
gtk/gtkcontainer.h
+18
-0
gtk/gtkcustompaperunixdialog.h
gtk/gtkcustompaperunixdialog.h
+6
-0
gtk/gtkdialog.h
gtk/gtkdialog.h
+10
-0
gtk/gtkeventbox.h
gtk/gtkeventbox.h
+6
-0
gtk/gtkexpander.h
gtk/gtkexpander.h
+9
-0
gtk/gtkfilechooserbutton.h
gtk/gtkfilechooserbutton.h
+9
-1
gtk/gtkfilechooserwidget.h
gtk/gtkfilechooserwidget.h
+6
-0
gtk/gtkfontchooserdialog.h
gtk/gtkfontchooserdialog.h
+6
-0
gtk/gtkfontchooserwidget.h
gtk/gtkfontchooserwidget.h
+6
-0
gtk/gtkframe.h
gtk/gtkframe.h
+9
-0
gtk/gtkgrid.h
gtk/gtkgrid.h
+6
-0
gtk/gtkicontheme.h
gtk/gtkicontheme.h
+11
-0
gtk/gtklistbox.h
gtk/gtklistbox.h
+22
-0
gtk/gtklockbutton.h
gtk/gtklockbutton.h
+6
-0
gtk/gtkmenuitem.h
gtk/gtkmenuitem.h
+17
-0
gtk/gtkmenutoolbutton.h
gtk/gtkmenutoolbutton.h
+9
-0
gtk/gtkmountoperation.h
gtk/gtkmountoperation.h
+6
-0
gtk/gtkoffscreenwindow.h
gtk/gtkoffscreenwindow.h
+6
-0
gtk/gtkoverlay.h
gtk/gtkoverlay.h
+10
-0
gtk/gtkpagesetupunixdialog.h
gtk/gtkpagesetupunixdialog.h
+6
-0
gtk/gtkprintoperation.h
gtk/gtkprintoperation.h
+26
-0
gtk/gtkrevealer.h
gtk/gtkrevealer.h
+4
-0
gtk/gtkscrolledwindow.h
gtk/gtkscrolledwindow.h
+13
-0
gtk/gtksearchbar.h
gtk/gtksearchbar.h
+6
-1
gtk/gtkseparatormenuitem.h
gtk/gtkseparatormenuitem.h
+6
-0
gtk/gtkseparatortoolitem.h
gtk/gtkseparatortoolitem.h
+6
-0
gtk/gtkswitch.h
gtk/gtkswitch.h
+6
-4
gtk/gtkthemingengine.h
gtk/gtkthemingengine.h
+2
-0
gtk/gtktoggletoolbutton.h
gtk/gtktoggletoolbutton.h
+9
-0
gtk/gtktoolbutton.h
gtk/gtktoolbutton.h
+11
-0
gtk/gtktoolitem.h
gtk/gtktoolitem.h
+11
-0
gtk/gtktoolitemgroup.h
gtk/gtktoolitemgroup.h
+6
-0
gtk/gtktoolpalette.h
gtk/gtktoolpalette.h
+6
-0
gtk/gtktreeselection.h
gtk/gtktreeselection.h
+9
-0
gtk/gtkviewport.h
gtk/gtkviewport.h
+6
-0
gtk/gtkwindow.h
gtk/gtkwindow.h
+11
-0
No files found.
docs/reference/gtk/gtk3-sections.txt
View file @
add1ca00
This diff is collapsed.
Click to expand it.
gtk/deprecated/gtkaction.h
View file @
add1ca00
...
...
@@ -56,13 +56,22 @@ struct _GtkAction
GtkActionPrivate
*
private_data
;
};
/**
* GtkActionClass:
* @parent_class: The parent class.
* @activate: Signal emitted when the action is activated.
*/
struct
_GtkActionClass
{
GObjectClass
parent_class
;
/*< public >*/
/* activation signal */
void
(
*
activate
)
(
GtkAction
*
action
);
/*< private >*/
GType
menu_item_type
;
GType
toolbar_item_type
;
...
...
gtk/deprecated/gtkactiongroup.h
View file @
add1ca00
...
...
@@ -60,6 +60,11 @@ struct _GtkActionGroup
GtkActionGroupPrivate
*
priv
;
};
/**
* GtkActionGroupClass:
* @parent_class: The parent class.
* @get_action: Looks up an action in the action group by name.
*/
struct
_GtkActionGroupClass
{
GObjectClass
parent_class
;
...
...
@@ -67,6 +72,8 @@ struct _GtkActionGroupClass
GtkAction
*
(
*
get_action
)
(
GtkActionGroup
*
action_group
,
const
gchar
*
action_name
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/deprecated/gtkcolorsel.h
View file @
add1ca00
...
...
@@ -70,12 +70,19 @@ struct _GtkColorSelection
GtkColorSelectionPrivate
*
private_data
;
};
/**
* GtkColorSelectionClass:
* @parent_class: The parent class.
* @color_changed:
*/
struct
_GtkColorSelectionClass
{
GtkBoxClass
parent_class
;
void
(
*
color_changed
)
(
GtkColorSelection
*
color_selection
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/deprecated/gtkhandlebox.h
View file @
add1ca00
...
...
@@ -57,6 +57,14 @@ struct _GtkHandleBox
GtkHandleBoxPrivate
*
priv
;
};
/**
* GtkHandleBoxClass:
* @parent_class: The parent class.
* @child_attached: Signal emitted when the contents of the handlebox
* are reattached to the main window. Deprecated: 3.4.
* @child_detached: Signal emitted when the contents of the handlebox
* are detached from the main window. Deprecated: 3.4.
*/
struct
_GtkHandleBoxClass
{
GtkBinClass
parent_class
;
...
...
@@ -66,6 +74,8 @@ struct _GtkHandleBoxClass
void
(
*
child_detached
)
(
GtkHandleBox
*
handle_box
,
GtkWidget
*
child
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/deprecated/gtkiconfactory.h
View file @
add1ca00
...
...
@@ -57,10 +57,16 @@ struct _GtkIconFactory
GtkIconFactoryPrivate
*
priv
;
};
/**
* GtkIconFactoryClass:
* @parent_class: The parent class.
*/
struct
_GtkIconFactoryClass
{
GObjectClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/deprecated/gtkimagemenuitem.h
View file @
add1ca00
...
...
@@ -55,10 +55,16 @@ struct _GtkImageMenuItem
GtkImageMenuItemPrivate
*
priv
;
};
/**
* GtkImageMenuItemClass:
* @parent_class: The parent class.
*/
struct
_GtkImageMenuItemClass
{
GtkMenuItemClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/deprecated/gtkrc.h
View file @
add1ca00
...
...
@@ -100,10 +100,21 @@ struct _GtkRcStyle
guint
engine_specified
:
1
;
/* The RC file specified the engine */
};
/**
* GtkRcStyleClass:
* @parent_class: The parent class.
* @create_rc_style:
* @parse:
* @merge:
* @create_style:
* @create_style:
*/
struct
_GtkRcStyleClass
{
GObjectClass
parent_class
;
/*< public >*/
/* Create an empty RC style of the same type as this RC style.
* The default implementation, which does
* g_object_new (G_OBJECT_TYPE (style), NULL);
...
...
@@ -129,6 +140,8 @@ struct _GtkRcStyleClass
*/
GtkStyle
*
(
*
create_style
)
(
GtkRcStyle
*
rc_style
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/deprecated/gtkstyle.h
View file @
add1ca00
...
...
@@ -98,10 +98,43 @@ struct _GtkStyle
GSList
*
icon_factories
;
/* of type GtkIconFactory* */
};
/**
* GtkStyleClass:
* @parent_class: The parent class.
* @realize:
* @unrealize:
* @copy:
* @clone:
* @init_from_rc:
* @set_background:
* @render_icon:
* @draw_hline:
* @draw_vline:
* @draw_shadow:
* @draw_arrow:
* @draw_diamond:
* @draw_box:
* @draw_flat_box:
* @draw_check:
* @draw_option:
* @draw_tab:
* @draw_shadow_gap:
* @draw_box_gap:
* @draw_extension:
* @draw_focus:
* @draw_slider:
* @draw_handle:
* @draw_expander:
* @draw_layout:
* @draw_resize_grip:
* @draw_spinner:
*/
struct
_GtkStyleClass
{
GObjectClass
parent_class
;
/*< public >*/
/* Initialize for a particular visual. style->visual
* will have been set at this point. Will typically chain
* to parent.
...
...
@@ -352,6 +385,8 @@ struct _GtkStyleClass
gint
width
,
gint
height
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/deprecated/gtktearoffmenuitem.h
View file @
add1ca00
...
...
@@ -53,10 +53,16 @@ struct _GtkTearoffMenuItem
GtkTearoffMenuItemPrivate
*
priv
;
};
/**
* GtkTearoffMenuItemClass:
* @parent_class: The parent class.
*/
struct
_GtkTearoffMenuItemClass
{
GtkMenuItemClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkaccelgroup.h
View file @
add1ca00
...
...
@@ -88,15 +88,25 @@ struct _GtkAccelGroup
GtkAccelGroupPrivate
*
priv
;
};
/**
* GtkAccelGroupClass:
* @parent_class: The parent class.
* @accel_changed: Signal emitted when an entry is added to or removed
* from the accel group.
*/
struct
_GtkAccelGroupClass
{
GObjectClass
parent_class
;
/*< public >*/
void
(
*
accel_changed
)
(
GtkAccelGroup
*
accel_group
,
guint
keyval
,
GdkModifierType
modifier
,
GClosure
*
accel_closure
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkalignment.h
View file @
add1ca00
...
...
@@ -55,10 +55,16 @@ struct _GtkAlignment
GtkAlignmentPrivate
*
priv
;
};
/**
* GtkAlignmentClass:
* @parent_class: The parent class.
*/
struct
_GtkAlignmentClass
{
GtkBinClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkappchooserbutton.h
View file @
add1ca00
...
...
@@ -49,12 +49,23 @@ struct _GtkAppChooserButton {
GtkAppChooserButtonPrivate
*
priv
;
};
/**
* GtkAppChooserButtonClass:
* @parent_class: The parent class.
* @custom_item_activated: Signal emitted when a custom item,
* previously added with gtk_app_chooser_button_append_custom_item(),
* is activated from the dropdown menu.
*/
struct
_GtkAppChooserButtonClass
{
GtkComboBoxClass
parent_class
;
/*< public >*/
void
(
*
custom_item_activated
)
(
GtkAppChooserButton
*
self
,
const
gchar
*
item_name
);
/*< private >*/
/* padding for future class expansion */
gpointer
padding
[
16
];
};
...
...
gtk/gtkappchooserdialog.h
View file @
add1ca00
...
...
@@ -52,9 +52,15 @@ struct _GtkAppChooserDialog {
GtkAppChooserDialogPrivate
*
priv
;
};
/**
* GtkAppChooserDialogClass:
* @parent_class: The parent class.
*/
struct
_GtkAppChooserDialogClass
{
GtkDialogClass
parent_class
;
/*< private >*/
/* padding for future class expansion */
gpointer
padding
[
16
];
};
...
...
gtk/gtkappchooserwidget.h
View file @
add1ca00
...
...
@@ -53,9 +53,21 @@ struct _GtkAppChooserWidget {
GtkAppChooserWidgetPrivate
*
priv
;
};
/**
* GtkAppChooserWidgetClass:
* @parent_class: The parent class.
* @application_selected: Signal emitted when an application item is
* selected from the widget's list.
* @application_activated: Signal emitted when an application item is
* activated from the widget's list.
* @populate_popup: Signal emitted when a context menu is about to
* popup over an application item.
*/
struct
_GtkAppChooserWidgetClass
{
GtkBoxClass
parent_class
;
/*< public >*/
void
(
*
application_selected
)
(
GtkAppChooserWidget
*
self
,
GAppInfo
*
app_info
);
...
...
@@ -66,6 +78,8 @@ struct _GtkAppChooserWidgetClass {
GtkMenu
*
menu
,
GAppInfo
*
app_info
);
/*< private >*/
/* padding for future class expansion */
gpointer
padding
[
16
];
};
...
...
gtk/gtkapplication.h
View file @
add1ca00
...
...
@@ -48,10 +48,21 @@ struct _GtkApplication
GtkApplicationPrivate
*
priv
;
};
/**
* GtkApplicationClass:
* @parent_class: The parent class.
* @window_added: Signal emitted when a #GtkWindow is added to
* application through gtk_application_add_window().
* @window_removed: Signal emitted when a #GtkWindow is removed from
* application, either as a side-effect of being destroyed or
* explicitly through gtk_application_remove_window().
*/
struct
_GtkApplicationClass
{
GApplicationClass
parent_class
;
/*< public >*/
void
(
*
window_added
)
(
GtkApplication
*
application
,
GtkWindow
*
window
);
void
(
*
window_removed
)
(
GtkApplication
*
application
,
...
...
gtk/gtkapplicationwindow.h
View file @
add1ca00
...
...
@@ -48,6 +48,10 @@ struct _GtkApplicationWindow
GtkApplicationWindowPrivate
*
priv
;
};
/**
* GtkApplicationWindowClass:
* @parent_class: The parent class.
*/
struct
_GtkApplicationWindowClass
{
GtkWindowClass
parent_class
;
...
...
gtk/gtkaspectframe.h
View file @
add1ca00
...
...
@@ -54,10 +54,16 @@ struct _GtkAspectFrame
GtkAspectFramePrivate
*
priv
;
};
/**
* GtkAspectFrameClass:
* @parent_class: The parent class.
*/
struct
_GtkAspectFrameClass
{
GtkFrameClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkassistant.h
View file @
add1ca00
...
...
@@ -89,15 +89,27 @@ struct _GtkAssistant
GtkAssistantPrivate
*
priv
;
};
/**
* GtkAssistantClass:
* @parent_class: The parent class.
* @prepare: Signal emitted when a new page is set as the assistant's current page, before making the new page visible.
* @apply: Signal emitted when the apply button is clicked.
* @close: Signal emitted either when the close button or last page apply button is clicked.
* @cancel: Signal emitted when the cancel button is clicked.
*/
struct
_GtkAssistantClass
{
GtkWindowClass
parent_class
;
/*< public >*/
void
(
*
prepare
)
(
GtkAssistant
*
assistant
,
GtkWidget
*
page
);
void
(
*
apply
)
(
GtkAssistant
*
assistant
);
void
(
*
close
)
(
GtkAssistant
*
assistant
);
void
(
*
cancel
)
(
GtkAssistant
*
assistant
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkbbox.h
View file @
add1ca00
...
...
@@ -54,10 +54,16 @@ struct _GtkButtonBox
GtkButtonBoxPrivate
*
priv
;
};
/**
* GtkButtonBoxClass:
* @parent_class: The parent class.
*/
struct
_GtkButtonBoxClass
{
GtkBoxClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkbin.h
View file @
add1ca00
...
...
@@ -55,10 +55,16 @@ struct _GtkBin
GtkBinPrivate
*
priv
;
};
/**
* GtkBinClass:
* @parent_class: The parent class.
*/
struct
_GtkBinClass
{
GtkContainerClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkbox.h
View file @
add1ca00
...
...
@@ -56,10 +56,16 @@ struct _GtkBox
GtkBoxPrivate
*
priv
;
};
/**
* GtkBoxClass:
* @parent_class: The parent class.
*/
struct
_GtkBoxClass
{
GtkContainerClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkbutton.h
View file @
add1ca00
...
...
@@ -55,17 +55,33 @@ struct _GtkButton
GtkButtonPrivate
*
priv
;
};
/**
* GtkButtonClass:
* @parent_class: The parent class.
* @pressed: Signal emitted when the button is pressed. Deprecated: 2.8.
* @released: Signal emitted when the button is released. Deprecated: 2.8.
* @clicked: Signal emitted when the button has been activated (pressed and released).
* @enter: Signal emitted when the pointer enters the button. Deprecated: 2.8.
* @leave: Signal emitted when the pointer leaves the button. Deprecated: 2.8.
* @activate: Signal that causes the button to animate press then
* release. Applications should never connect to this signal, but use
* the @clicked signal.
*/
struct
_GtkButtonClass
{
GtkBinClass
parent_class
;
/*< public >*/
void
(
*
pressed
)
(
GtkButton
*
button
);
void
(
*
released
)
(
GtkButton
*
button
);
void
(
*
clicked
)
(
GtkButton
*
button
);
void
(
*
enter
)
(
GtkButton
*
button
);
void
(
*
leave
)
(
GtkButton
*
button
);
void
(
*
activate
)
(
GtkButton
*
button
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkcellareabox.h
View file @
add1ca00
...
...
@@ -49,6 +49,9 @@ struct _GtkCellAreaBox
GtkCellAreaBoxPrivate
*
priv
;
};
/**
* GtkCellAreaBoxClass:
*/
struct
_GtkCellAreaBoxClass
{
/*< private >*/
...
...
gtk/gtkcellrenderer.h
View file @
add1ca00
...
...
@@ -90,10 +90,29 @@ struct _GtkCellRenderer
GtkCellRendererPrivate
*
priv
;
};
/**
* GtkCellRendererClass:
* @get_request_mode: Called to gets whether the cell renderer prefers
* a height-for-width layout or a width-for-height layout.
* @get_preferred_width: Called to get a renderer's natural width.
* @get_preferred_height_for_width: Called to get a renderer's natural height for width.
* @get_preferred_height: Called to get a renderer's natural height.
* @get_preferred_width_for_height: Called to get a renderer's natural width for height.
* @get_aligned_area: Called to get the aligned area used by @cell inside @cell_area.
* @get_size: Called to get the width and height needed to render the cell. Deprecated: 3.0.
* @render: Called to render the content of the #GtkCellRenderer.
* @activate: Called to activate the content of the #GtkCellRenderer.
* @start_editing: Called to initiate editing the content of the #GtkCellRenderer.
* @editing_canceled: Signal gets emitted when the user cancels the process of editing a cell.
* @editing_started: Signal gets emitted when a cell starts to be edited.
*/
struct
_GtkCellRendererClass
{
/*< private >*/
GInitiallyUnownedClass
parent_class
;
/*< public >*/
/* vtable - not signals */
GtkSizeRequestMode
(
*
get_request_mode
)
(
GtkCellRenderer
*
cell
);
void
(
*
get_preferred_width
)
(
GtkCellRenderer
*
cell
,
...
...
@@ -153,6 +172,8 @@ struct _GtkCellRendererClass
GtkCellEditable
*
editable
,
const
gchar
*
path
);
/*< private >*/
GtkCellRendererClassPrivate
*
priv
;
/* Padding for future expansion */
...
...
gtk/gtkcellview.h
View file @
add1ca00
...
...
@@ -49,10 +49,16 @@ struct _GtkCellView
GtkCellViewPrivate
*
priv
;
};
/**
* GtkCellViewClass:
* @parent_class: The parent class.
*/
struct
_GtkCellViewClass
{
GtkWidgetClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkcheckmenuitem.h
View file @
add1ca00
...
...
@@ -55,14 +55,24 @@ struct _GtkCheckMenuItem
GtkCheckMenuItemPrivate
*
priv
;
};
/**
* GtkCheckMenuItemClass:
* @parent_class: The parent class.
* @toggled: Signal emitted when the state of the check box is changed.
* @draw_indicator: Called to draw the check indicator.
*/
struct
_GtkCheckMenuItemClass
{
GtkMenuItemClass
parent_class
;
/*< public >*/
void
(
*
toggled
)
(
GtkCheckMenuItem
*
check_menu_item
);
void
(
*
draw_indicator
)
(
GtkCheckMenuItem
*
check_menu_item
,
cairo_t
*
cr
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkcolorchooserwidget.h
View file @
add1ca00
...
...
@@ -45,10 +45,16 @@ struct _GtkColorChooserWidget
GtkColorChooserWidgetPrivate
*
priv
;
};
/**
* GtkColorChooserWidgetClass:
* @parent_class: The parent class.
*/
struct
_GtkColorChooserWidgetClass
{
GtkBoxClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkcombobox.h
View file @
add1ca00
...
...
@@ -47,15 +47,26 @@ struct _GtkComboBox
GtkComboBoxPrivate
*
priv
;
};
/**
* GtkComboBoxClass:
* @parent_class: The parent class.
* @changed: Signal is emitted when the active item is changed.
* @format_entry_text: Signal which allows you to change how the text
* displayed in a combo box's entry is displayed.
*/
struct
_GtkComboBoxClass
{
GtkBinClass
parent_class
;
/*< public >*/
/* signals */
void
(
*
changed
)
(
GtkComboBox
*
combo_box
);
gchar
*
(
*
format_entry_text
)
(
GtkComboBox
*
combo_box
,
const
gchar
*
path
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkcontainer.h
View file @
add1ca00
...
...
@@ -55,10 +55,28 @@ struct _GtkContainer
GtkContainerPrivate
*
priv
;
};
/**
* GtkContainerClass:
* @parent_class: The parent class.
* @add: Signal emitted when a widget is added to container.
* @remove: Signal emitted when a widget is removed from container.
* @check_resize: Signal emitted when a size recalculation is needed.
* @forall: Invokes callback on each child of container.
* @set_focus_child: Sets the focused child of container.
* @child_type: Returns the type of the children supported by the container.
* @composite_name: Gets a widget's composite name. Deprecated: 3.10.
* @set_child_property: Set a property on a child of container.
* @get_path_for_child: Get path representing entire widget hierarchy
* from the toplevel down to and including @child.
*
* Base class for containers.
*/
struct
_GtkContainerClass
{
GtkWidgetClass
parent_class
;
/*< public >*/
void
(
*
add
)
(
GtkContainer
*
container
,
GtkWidget
*
widget
);
void
(
*
remove
)
(
GtkContainer
*
container
,
...
...
gtk/gtkcustompaperunixdialog.h
View file @
add1ca00
...
...
@@ -41,10 +41,16 @@ struct _GtkCustomPaperUnixDialog
GtkCustomPaperUnixDialogPrivate
*
priv
;
};
/**
* GtkCustomPaperUnixDialogClass:
* @parent_class: The parent class.
*/
struct
_GtkCustomPaperUnixDialogClass
{
GtkDialogClass
parent_class
;
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkdialog.h
View file @
add1ca00
...
...
@@ -114,16 +114,26 @@ struct _GtkDialog
GtkDialogPrivate
*
priv
;
};
/**
* GtkDialogClass:
* @parent_class: The parent class.
* @response: Signal emitted when an action widget is activated.
* @close: Signal emitted when the user uses a keybinding to close the dialog.
*/
struct
_GtkDialogClass
{
GtkWindowClass
parent_class
;
/*< public >*/
void
(
*
response
)
(
GtkDialog
*
dialog
,
gint
response_id
);
/* Keybinding signals */
void
(
*
close
)
(
GtkDialog
*
dialog
);
/*< private >*/
/* Padding for future expansion */
void
(
*
_gtk_reserved1
)
(
void
);
void
(
*
_gtk_reserved2
)
(
void
);
...
...
gtk/gtkeventbox.h
View file @
add1ca00
...
...
@@ -54,10 +54,16 @@ struct _GtkEventBox